Commit Graph

18630 Commits

Author SHA1 Message Date
H.J. Lu 43259571ac 2005-06-13 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/linux64.mt (TDEPFILES): Add symfile-mem.o.
2005-06-13 20:52:08 +00:00
Richard Sandiford d738fe6d01 * MAINTAINERS: Update my email address. 2005-06-13 19:09:12 +00:00
Mark Mitchell 9f76c2cd17 * corelow.c (core_open): Use bfd_fopen, not bfd_fdopenr.
* exec.c (exec_file_attach): Likewise.
	* solib-frv.c (enable_break2): Likewise.
	* solib-svr4.c (enable_break): Likewise.
	* solib.c (solib_map_sections): Likewise.
	* symfile.c (symfile_bfd_open): Likewise.
2005-06-13 18:39:11 +00:00
Daniel Jacobowitz 26585198a1 * gdb.base/bigcore.exp: Correct checks for systems which can
not dump a large core file.
2005-06-13 18:11:01 +00:00
Daniel Jacobowitz c1bd25fd1d gdb/
* Makefile.in (symfile.o): Add $(exec_h).
	* exec.h (exec_set_section_address): Add prototype.
	* exec.c (exec_set_section_address): New function.
	* symfile.c: Include "exec.h".
	(struct place_section_arg, place_section): New.
	(default_symfile_offsets): Call place_section for each
	section of a relocatable file.
gdb/testsuite/
	* gdb.base/relocate.c: Add a copyright notice.
	(dummy): Remove.
	* gdb.base/relocate.exp: Test printing the values of variables
	from a relocatable file.
2005-06-13 16:15:40 +00:00
Joel Brobecker 7b5c6b52e4 * hppa-tdep.c (hppa_pc_requires_run_before_use): Really test all
bits of top byte in address.
2005-06-13 13:43:33 +00:00
Wu Zhou df0ca54784 * eval.c (evaluate_subexp_standard): Add code to check the target
type of a TYPE_CODE_PTR value when we encounter a f77 undetermined
	arglist.  If it is array, string or function, work on the target
	value instead.
2005-06-13 07:23:15 +00:00
Daniel Jacobowitz 589e074d2e gdb/
* mi/mi-main.c (register_changed_p, get_register): Use
	get_selected_frame.
	(mi_execute_command): Call mi_out_rewind after an error.
testsuite/
	* gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
	excess MI output after an error.
2005-06-13 02:41:51 +00:00
Daniel Jacobowitz f450004a28 * acconfig.h: Remove.
* configure.ac: Add a test for socklen_t.  Use three-argument
	AC_DEFINE throughout.
	* config.in: Regenerated using autoheader 2.59.
	* configure: Regenerated.

	* gdbreplay.c (socklen_t): Provide a default.
	(remote_open): Use socklen_t.
	* remote-utils.c (socklen_t): Provide a default.
	(remote_open): Use socklen_t.
	(convert_int_to_ascii, convert_ascii_to_int, decode_M_packet): Use
	unsigned char.

	* i387-fp.c (struct i387_fsave, struct i387_fxsave): Use unsigned
	char for buffers.
	* linux-low.c (linux_read_memory, linux_write_memory)
	(linux_read_auxv): Likewise.
	* mem-break.c (breakpoint_data, set_breakpoint_data, check_mem_read)
	(check_mem_write): Likewise.
	* mem-break.h (set_breakpoint_data, check_mem_read, check_mem_write):
	Likewise.
	* regcache.c (struct inferior_rgcache_data, registers_to_string)
	(registers_from_string, register_data): Likewise.
	* server.c (handle_query, main): Likewise.
	* server.h (convert_ascii_to_int, convert_int_to_ascii)
	(decode_M_packet): Likewise.
	* target.c (read_inferior_memory, write_inferior_memory): Likewise.
	* target.h (struct target_ops): Update read_memory, write_memory,
	and read_auxv.
	(read_inferior_memory, write_inferior_memory): Update.
	* linux-low.h (struct linux_target_ops): Change type of breakpoint
	to unsigned char *.
	* linux-arm-low.c, linux-cris-low.c, linux-crisv32-low.c,
	linux-i386-low.c, linux-m32r-low.c, linux-m68k-low.c,
	linux-mips-low.c, linux-ppc-low.c, linux-ppc64-low.c,
	linux-s390-low.c, linux-sh-low.c: Update for changes in
	read_inferior_memory and the_low_target->breakpoint.
2005-06-13 01:59:22 +00:00
gdbadmin d61c03eedf *** empty log message *** 2005-06-13 00:00:03 +00:00
Mark Kettenis e127f0db71 * hppa-tdep.c (hppa_frame_prev_register)
(hppa_fallback_frame_prev_register)
(hppa_stub_frame_prev_register): Change type of last argument to
`gdb_byte *'.
(hppa_fetch_pointer_argument): Tweak comment.  Use
get_frame_register_unsigned instead of get_frame_register.
(hppa32_return_value, hppa64_return_value): Change type of readbuf
and writebuf arguments to `gdb_byte *'.  Remove unecessary casts
and local variables.
(hppa_pseudo_register_read): Change type of last argument to
`gdb_byte *'.
2005-06-12 19:54:25 +00:00
Mark Kettenis 60b04da5be * m68k-tdep.c (m68k_frame_prev_register): Change type of last
argument to `gdb_byte *'.
2005-06-12 13:37:39 +00:00
Mark Kettenis 4bd7b4271e * arm-tdep.c (set_disassembly_style, _initialize_arm_tdep):
Consitify regnames.
2005-06-12 12:57:21 +00:00
Mark Kettenis 5b81956883 * alpha-tdep.c (alpha_sigtramp_frame_prev_register)
(alpha_heuristic_frame_prev_register): Change type of last
argument to `gdb_byte *'.
(alpha_register_to_value, alpha_value_to_register)
(alpha_extract_return_value, alpha_store_return_value): Likewise.
* alpha-mdebug-tdep.c (alpha_mdebug_frame_prev_register): Likewise.
2005-06-12 12:53:55 +00:00
Mark Kettenis 9af75ef6c3 * arm-tdep.c (arm_prologue_prev_register)
(arm_sigtramp_prev_register): Change type of last argument to
`gdb_byte *'.
2005-06-12 12:15:31 +00:00
Mark Kettenis 2c7ff8e102 * m88k-tdep.c (m88k_frame_prev_register): Change type of last
argument to `gdb_byte *'.
2005-06-12 11:53:00 +00:00
Mark Kettenis 81e51e700b * vax-tdep.c (vax_frame_prev_register): Change type of last
argument to `gdb_byte *'.
2005-06-12 11:17:57 +00:00
Mark Kettenis 47ef841b87 * sparc-tdep.c (sparc32_frame_prev_register): Change type of last
argument to `gdb_byte *'.
* sparcnbsd-tdep.c (sparc32nbsd_sigcontext_frame_prev_register):
Likewise.
* sparcobsd-tdep.c (sparc32obsd_frame_prev_register): Likewise.
* sparc-sol2-tdep.c (sparc32_sol2_sigtramp_frame_prev_register):
Likewise.
* sparc64-tdep.c (sparc64_frame_prev_register): Likewise.
* sparc64fbsd-tdep.c (sparc64fbsd_sigtramp_frame_prev_register):
Likewise.
* sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_frame_prev_register):
Likewise.
* sparc64obsd-tdep.c (sparc64obsd_frame_prev_register): Likewise.
* sparc64-sol2-tdep.c (sparc64_sol2_sigtramp_frame_unwind):
Likewise.
2005-06-12 11:10:56 +00:00
Mark Kettenis 5323dd1d03 * amd64-tdep.c (amd64_frame_prev_register)
(amd64_sigtramp_frame_prev_register): Change type of last argument
to `gdb_byte *'.
2005-06-12 09:19:07 +00:00
gdbadmin 7466dde533 *** empty log message *** 2005-06-12 00:00:06 +00:00
Mark Kettenis ab53358752 * i386-tdep.c (i386_register_type): Return
builtin_type_void_func_ptr for %eip and builtin_type_void_data_ptr
for %ebp and %esp.
2005-06-11 19:11:32 +00:00
gdbadmin cfb43ee5c9 *** empty log message *** 2005-06-11 00:00:34 +00:00
Jeff Johnston a345bcaad9 Fix 2005-06-09 entry to use proper format. 2005-06-10 15:30:50 +00:00
Ben Elliston c41b8590bd * valprint.c (print_floating): Fix comment typo. 2005-06-10 06:07:32 +00:00
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