Commit Graph

18606 Commits

Author SHA1 Message Date
Jeff Johnston 88d821021e 2005-06-09 Jeff Johnston <jjohnstn@redhat.com>
* ia64-tdep.c (ia64_pseudo_register_read): Use gdb_byte and
        protect libunwind references with HAVE_LIBUNWIND_IA64_H flag.
        * (ia64_pseudo_register_write): Use gdb_byte to remove warning.
        * (ia64_register_to_value, ia64_value_to_register): Ditto.
        * (ia64_frame_prev_register): Ditto.
        * (ia64_libunwind_frame_prev_register): Ditto.
        * (ia64_sigtramp_frame_prev_register): Ditto.
        * (ia64_libunwind_sigtramp_frame_prev_register): Ditto.
        * (ia64_store_return_value): Ditto.

2
2005-06-10 01:09:18 +00:00
gdbadmin bce2b7d072 *** empty log message *** 2005-06-10 00:00:36 +00:00
gdbadmin 900f55dfc1 *** empty log message *** 2005-06-09 00:00:03 +00:00
Jeff Johnston c5a27d9ca5 2005-06-08 Jeff Johnston <jjohnstn@redhat.com>
David Mosberger <davidm@hpl.hp.com>

        * ia64-tdep.c (KERNEL_START): New macro.
        (ia64_pseudo_register_read): Fix code to use libunwind to properly
        get the rse registers.
        (ia64_frame_this_id): Mark outermost frame with null frame id.
        (ia64_sigtramp_frame_prev_register): Fix up debug output.
        (ia64_access_rse_reg): New accessor function.
        (ia64_access_mem): Add special logic for accessing the
        kernel's unwind table.
        (getunwind_table): Fix for corefiles.
        (get_kernel_table): Fix to handle vDSO.
        (ia64_libunwind_frame_this_id): Check for null frame id and
        don't unwind past pc value of 0.  Fix debugging output.
        (ia64_libunwind_sigtramp_frame_this_id): New function.
        (ia64_libunwind_sigtramp_frame_prev_register): Ditto.
        (ia64_libunwind_sigtramp_frame_sniffer): Ditto.
        (ia64_libunwind_sigtramp_frame_unwind): New unwinder.
        (ia64_unw_rse_accessors): New libunwind accessors.
        (ia64_libunwind_descr): Add ia64_unw_rse_accessors.
        (ia64_gdbarch_init)[HAVE_LIBUNWIND_IA64_H]: Use
        ia64_libunwind_sigtramp_frame_sniffer instead of
        ia64_sigtramp_frame_sniffer.
        * libunwind-frame.c (libunwind_frame_set_descr): Add
        special register accessors.
        (libunwind_frame_cache): Add special logic to check for
        0 pc value.  Check for a signal trampoline frame.
        (libunwind_frame_this_id): Check if libunwind_frame_cache
        returns NULL.
        (libunwind_frame_prev_register): Check for NULL cache.
        (libunwind_frame_base_address): Ditto.
        (libunwind_sigtramp_frame_sniffer): New function.
        (libunwind_get_reg_special): Ditto.
        (libunwind_load): Add unw_is_signal_frame support.
        * libunwind-frame.h (struct libunwind_descr): Add special_accessors
        field.
        (libunwind_sigtramp_frame_sniffer): New prototype.
        (libunwind_get_reg_special): Ditto.
2005-06-08 21:54:23 +00:00
Wu Zhou d18157a766 * expression.h (enum exp_opcode): Fix a comment typo. 2005-06-08 06:35:49 +00:00
Wu Zhou f2047500e5 <2005-06-08> Wu Zhou <woodzltc@cn.ibm.com>
* expression.h (enum exp_opcode): Fix a comment typo.
2005-06-08 06:28:28 +00:00
gdbadmin 780e8a46d0 *** empty log message *** 2005-06-08 00:00:36 +00:00
Andrew Cagney a9967aef6a 2005-06-07 Andrew Cagney <cagney@gnu.org>
* gdb.texinfo (Contributors): Note the original multi-arch
	contributors.
2005-06-07 15:32:38 +00:00
Manoj Iyer 9039b344c2 Changed
* solib-svr4.c: Change type of 'lm' to gdb_byte.
to
	* solib-svr4.c (struct lm_info):  Change type of 'lm' to gdb_byte.
2005-06-07 06:55:16 +00:00
gdbadmin 2195b765a1 *** empty log message *** 2005-06-07 00:00:06 +00:00
Manoj Iyer 4066fc1077 solib-svr4.c gdb_byteised. 2005-06-06 22:24:25 +00:00
gdbadmin 43c3659975 *** empty log message *** 2005-06-06 00:00:03 +00:00
gdbadmin 9ee913b8a0 *** empty log message *** 2005-06-05 00:00:35 +00:00
Richard Sandiford a5c380b8f8 * MAINTAINERS: Update my email address. 2005-06-04 06:29:06 +00:00
gdbadmin 25823e547f *** empty log message *** 2005-06-04 00:00:35 +00:00
Joel Brobecker 44b164c514 * symmisc.c (dump_symtab_1): Renamed from dump_symtab.
(dump_symtab): New function.
2005-06-03 23:27:28 +00:00
Eli Zaretskii e09f16f93f * gdb.texinfo (Registers): Add index entries for the standard
registers.
	(Frames): Add cross-reference from frame pointer description to
	the Registers node.
	(Annotations Overview): Fix the reference to GDB name.
2005-06-03 07:09:20 +00:00
gdbadmin 5dc438e501 *** empty log message *** 2005-06-03 00:00:06 +00:00
Joel Brobecker e74e72b411 * exceptions.h: Include ui-out.h.
(ui_out): Remove declaration.
        * Makefile.in (exceptions_h): Add dependency on ui-out.h.
2005-06-02 16:52:04 +00:00
gdbadmin 6d81396c6a *** empty log message *** 2005-06-02 00:00:03 +00:00
Eli Zaretskii d87ba7eeda * gdb.texinfo (Set Watchpoints): Remove @vindex entry for
can-use-hw-watchpoints.
2005-06-01 20:38:44 +00:00
gdbadmin 7b8f476a17 *** empty log message *** 2005-06-01 00:00:10 +00:00
gdbadmin 8662a5e054 *** empty log message *** 2005-05-31 00:00:33 +00:00
Andrew Cagney a60a53c5fa 2005-05-30 Andrew Cagney <cagney@gnu.org>
* MAINTAINERS (Can Commit Without Approval): New section,
	previously burried under "Target Instruction Set Architectures".
	Note that cagney "can commit" changes to powerpc-linux.
2005-05-30 20:00:57 +00:00
Andrew Cagney 67e27301b8 2005-05-30 Andrew Cagney <cagney@gnu.org>
* MAINTAINERS: Drop architecture and target vectors.
2005-05-30 18:35:12 +00:00
gdbadmin d6dba7e9fc *** empty log message *** 2005-05-30 00:00:34 +00:00
Eli Zaretskii c24162389c * config/djgpp/fnchange.lst: Add mappings for linux-ppc-low.c and
linux-ppc64-low.c.
2005-05-29 07:36:10 +00:00
Bob Rossi 034dad6fa1 This is a cleanup change. It is the beggining of allowing GDB/MI to be
better understood (internally).
2005-05-29 03:13:19 +00:00
Joel Brobecker 0915f927ad * gdb.arch/alpha-step.c: New file.
* gdb.arch/alpha-step.exp: New testcase.
2005-05-29 01:58:53 +00:00
Joel Brobecker 551e4f2e42 * alpha-tdep.c (alpha_next_pc): Use correct register number
for floating-point branch instructions.
2005-05-29 01:54:44 +00:00
gdbadmin 3be16b6f91 *** empty log message *** 2005-05-29 00:00:33 +00:00
Daniel Jacobowitz 4a5e53e83f PR backtrace/1760
* frame.c (backtrace_limit): Change type to int.
	(get_prev_frame): Update backtrace limit support.
	(_initialize_frame): Use add_setshow_integer_cmd for backtrace_limit.
2005-05-28 22:51:37 +00:00
Daniel Jacobowitz eee84df140 gdb/
* configure.tgt (powerpc64-*-linux*): Enable gdbserver.
	* regformats/reg-ppc64.dat: New file.
gdbserver/
	* Makefile.in (SFILES): Add linux-ppc64-low.c.
	(linux-ppc64-low.o, reg-ppc64.c, reg-ppc64.o): New targets.
	* configure.srv: Add powerpc64-*-linux*.
	* linux-ppc64-low.c: New file.
2005-05-28 22:09:04 +00:00
Daniel Jacobowitz cedea75781 From Wu Zhou <woodzltc@cn.ibm.com>:
* remote.c (struct gdb_ext_thread_info): Fix a comment typo.
	(remote_unpack_thread_info_response): Likewise.
2005-05-28 18:57:13 +00:00
Daniel Jacobowitz 3b113db73f * cli/cli-setshow.c (do_setshow_command): Partially revert previous
change.  Cast to "char **" for var_string.
2005-05-28 18:27:28 +00:00
Daniel Jacobowitz 03f4d4c7dc * cp-name-parser.y (parse_escape): Revert previous change. Return
the input character by default.
2005-05-28 16:48:58 +00:00
Daniel Jacobowitz c6826062e5 * dwarf2-frame.c (dwarf2_frame_prev_register): Use gdb_byte.
* i386-linux-nat.c (fetch_register, store_register, supply_gregset)
	(fill_gregset): Likewise.
	* i386-tdep.c (i386_frame_prev_register)
	(i386_sigtramp_frame_prev_register): Likewise.
	* linux-nat.c (linux_nat_xfer_memory, linux_nat_make_corefile_notes):
	Likewise.
	* linux-thread-db.c (thread_db_xfer_memory): Likewise.
	* remote.c (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint):
	Likewise.
	* target.c (debug_to_insert_hw_breakpoint)
	(debug_to_remove_hw_breakpoint, update_current_target): Likewise.
2005-05-28 16:44:29 +00:00
Hans-Peter Nilsson 4a72630ae7 * MAINTAINERS: Change cris-elf state to non-broken.
* cp-name-parser.y (parse_escape): Initialize target_char to zero.
2005-05-28 08:49:13 +00:00
gdbadmin b27a77a4e8 *** empty log message *** 2005-05-28 00:00:04 +00:00
Orjan Friberg 5114e29d63 2005-05-27 Orjan Friberg <orjanf@axis.com>
* cris-tdep.c (crisv32_scan_prologue): Add.
	(cris_frame_unwind_cache, cris_skip_prologue): Call
	crisv32_scan_prologue when debugging CRISv32.
2005-05-27 14:36:13 +00:00
Orjan Friberg fafb59f131 * Tweaked last ChangeLog entry. 2005-05-27 13:51:06 +00:00
Orjan Friberg e2a2a3e8b6 2005-05-27 Orjan Friberg <orjanf@axis.com>
* cris-tdep.c (cris_sigtramp_start, cris_rt_sigtramp_start)
	(cris_frame_prev_register, cris_sigtramp_frame_prev_register)
	(cris_return_value): Use gdb_byte for byte buffers.
	(struct cris_frame_unwind, struct cris_frame_base): Fix formatting.
2005-05-27 13:47:59 +00:00
Chris Demetriou 79524e0524 2005-05-26 Chris Demetriou <cgd@netbsd.org>
* MAINTAINERS (Write After Approval): Remove myself.
2005-05-27 04:51:52 +00:00
Andrew Cagney c68a6671d7 2005-05-27 Andrew Cagney <cagney@gnu.org>
* jv-lang.c (get_java_utf8_name): Add cast.
	(evaluate_subexp_java): Use gdb_byte for buffers.
	* jv-valprint.c (java_value_print, java_value_print): Use gdb_byte
	for buffers.
	* scm-lang.c (scm_get_field, scm_unpack)
	(scm_evaluate_string): Use gdb_byte for buffers.
	(scm_lookup_name): Add cast.
	* scm-valprint.c (scm_scmval_print, scm_scmval_print): Use
	gdb_byte for buffers.
	* tui/tui.h (tui_get_command_dimension): Make parameters unsigned.
	* tui/tui.c (tui_get_command_dimension): Make parameters unsigned.
	* value.h (check_field): Change "name" to a string.
	* valops.c (check_field): Change "name" to a string.
	* scm-lang.h (scm_parse): Use gdb_byte for buffers.
	* source.c (get_current_source_symtab_and_line)
	(set_current_source_symtab_and_line): Initialize all fields of sal
	structures.
	* cli/cli-cmds.c (list_command): Use gdb_byte for buffers.
2005-05-27 04:39:33 +00:00
gdbadmin b4d165ff8c *** empty log message *** 2005-05-27 00:00:33 +00:00
Andrew Cagney 47b667dea5 2005-05-26 Andrew Cagney <cagney@gnu.org>
* command.h (add_setshow_integer_cmd): Make VAR an integer.
	* cli/cli-decode.c (add_setshow_integer_cmd): Update to match.
	* valops.c (value_string): Add a cast.
	* eval.c (evaluate_subexp_standard): Use gdb_byte for byte buffers.
	* breakpoint.c (re_enable_breakpoints_in_shlibs): Use gdb_byte for
	byte buffers.
	* target.h (struct target_ops): For to_insert_hw_breakpoint and
	to_remove_hw_breakpoint use gdb_byte for byte buffer parameters.
	* breakpoint.h (struct bp_location): Make shadow_contents a
	gdb_byte buffer.
	* cli/cli-setshow.c (do_setshow_command): Fix cast.
	* cli/cli-dump.c (restore_section_callback)
	(restore_binary_file): Use gdb_byte for byte buffers.
	* proc-service.c (ps_ptwrite, ps_ptread, ps_pdwrite): Fix casts.
	(ps_xfer_memory): Use gdb_byte for byte buffers.
	* tracepoint.c (mem2hex): Use gdb_byte for byte buffers, and char
	for string buffers.
	* ser-tcp.c (net_open): Make len a socklen_t.
2005-05-26 20:49:03 +00:00
Andrew Cagney ffed450932 2005-05-26 Andrew Cagney <cagney@gnu.org>
* gdb.texinfo: Note that Elena Zannoni, Fernando Nasser, and
	Andrew Cagney implemented the original GDB/MI.
2005-05-26 19:28:23 +00:00
gdbadmin fc5e907626 *** empty log message *** 2005-05-26 00:00:37 +00:00
Andrew Cagney 50fd128082 2005-05-24 Andrew Cagney <cagney@gnu.org>
* rs6000-tdep.c (ppc_supply_reg, ppc_collect_reg): Use gdb_byte
	for byte buffers.
	(rs6000_fetch_pointer_argument): Use get_frame_register_unsigned.
	(rs6000_software_single_step, sstep_breaks, skip_prologue)
	(rs6000_push_dummy_call, rs6000_push_dummy_call)
	(rs6000_push_dummy_call, rs6000_push_dummy_call)
	(rs6000_register_to_value, e500_pseudo_register_read)
	(rs6000_store_return_value, e500_pseudo_register_write)
	(rs6000_frame_prev_register, rs6000_extract_return_value): Ditto.
	* ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call)
	(ppc_sysv_abi_push_dummy_call, do_ppc_sysv_return_value)
	(do_ppc_sysv_return_value, ppc_sysv_abi_return_value)
	(ppc_sysv_abi_broken_return_value)
	(ppc64_sysv_abi_push_dummy_call, ppc64_sysv_abi_push_dummy_call)
	(ppc64_sysv_abi_push_dummy_call, ppc64_sysv_abi_return_value)
	(ppc64_sysv_abi_return_value, ppc64_sysv_abi_return_value): Ditto.
	* ppc-linux-tdep.c (ppc_linux_in_sigtramp)
	(ppc_linux_at_sigtramp_return_path)
	(ppc_linux_skip_trampoline_code)
	(ppc_linux_memory_remove_breakpoint, ppc_linux_return_value):
	* rs6000-tdep.c (rs6000_value_to_register)
	(rs6000_register_to_value): Ditto.
	* ppc-tdep.h (ppc_sysv_abi_return_value)
	(ppc64_sysv_abi_return_value, ppc_sysv_abi_broken_return_value)
	(ppc_linux_memory_remove_breakpoint): Ditto.
2005-05-25 03:12:13 +00:00
gdbadmin 39c833404f *** empty log message *** 2005-05-25 00:00:10 +00:00