Commit Graph

16110 Commits

Author SHA1 Message Date
Mark Kettenis 8b0c363390 * i386bsd-tdep.c (_initialize_i386bsd_tdep): Register
i386bsd_core_osabi_sniffer for bfd_arch_i386 instead of
bfd_arch_unknown.  Adjust comment.
2004-03-05 21:01:56 +00:00
Mark Kettenis f2e7c15d99 * i386-nat.c: Fix typo in comment. Re-introduce paranoiac.
* i386obsd-tdep.c: Correct spelling in comment.
* i386nbsd-tdep.c: Correct spelling in comment.
* sparc-tdep.c: Correct spelling in comments.
2004-03-05 20:58:00 +00:00
David Carlton 1198ecbe71 2004-03-05 David Carlton <carlton@kealia.com>
* cp-namespace.c (cp_lookup_transparent_type_loop): Fix recursion
	bug.

2004-03-05  David Carlton  <carlton@kealia.com>

	* gdb.cp/rtti.exp: Add 'print *obj3' test.
	* gdb.cp/rtti.h: Update copyright.
	(namespace n2::n3): New.
	* gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
	(n2::n3::func3): New.
	(main): Call n2::n3::func3.
	* gdb.cp/rtti2.cc: Update copyright.
	(n2::create3): New.
2004-03-05 17:32:25 +00:00
Mark Kettenis 9eb42ed178 * sparc-tdep.c: Fix typo in comment. 2004-03-05 15:34:29 +00:00
Joel Brobecker 52b5e991ee * hppa-tdep.c (hppa_frame_cache): Avoid undefined return value. 2004-03-05 04:49:52 +00:00
Daniel Jacobowitz 3a7fb99b71 * server.c (main): Print child status or termination signal from
variable 'signal', not 'sig'.
2004-03-05 03:44:27 +00:00
Daniel Jacobowitz c3e735a6a3 * linux-low.c (linux_read_memory): Change return type to
int.  Check for and return error from ptrace().
	* target.c (read_inferior_memory): Change return type to int.  Pass
	back return status from the_target->read_memory().
	* target.h (struct target_ops): Adapt *read_memory() prototype.
	Update comment.
	(read_inferior_memory): Adapt prototype.
	* server.c (main): Return an error packet if
	read_inferior_memory() returns an error.
2004-03-05 03:43:19 +00:00
Daniel Jacobowitz d81510055c * dwarf2read.c: Add comment describing memory lifetimes.
(struct dwarf2_pinfo): Update comment.
	(dwarf2_add_field, dwarf2_add_member_fn, read_structure_scope)
	(read_enumeration, new_symbol): Don't use obsavestring.
2004-03-05 03:30:36 +00:00
gdbadmin f711f9bb1a *** empty log message *** 2004-03-05 00:00:02 +00:00
Daniel Jacobowitz a59d1c82d8 * Makefile.in (distclean): Remove config.h, stamp-h, and config.log.
Unify with other clean targets.
2004-03-04 21:58:59 +00:00
Mark Kettenis 722d18c22c * amd64-linux-nat.c (fill_fpregset): Call amd64_colletc_fxsave
instead of amd64_fill_fxsave.
* amd64bsd-nat.c (store_inferior_registers): Likewise.
* amd64fbsd-nat.c (fill_fpregset): Likewise.
2004-03-04 10:35:57 +00:00
Mark Kettenis 9e08c470e8 * gdb.asm/openbsd.inc: Fix typo. 2004-03-04 10:23:16 +00:00
Mark Kettenis cbeae229a5 * sparc-tdep.c (sparc_frame_cache): Don't bail out if %fp is zero.
Reorganize code a bit.
2004-03-04 10:10:33 +00:00
Orjan Friberg b4206d25f7 2004-03-04 Orjan Friberg <orjanf@axis.com>
* cris-tdep.c (cris_scan_prologue): Save the frame pointer's offset
	when the frame pointer is pushed.  Don't set the frame pointer's
	address on the stack unless it's actually located there.
	Set the SRP's address on the stack correctly when the PC is still in
	the prologue.
	(cris_return_value): New function.
	(cris_gdbarch_init): Clear deprecated store_return_value,
	extract_return_value.
2004-03-04 09:10:20 +00:00
gdbadmin d307271c22 *** empty log message *** 2004-03-04 00:00:33 +00:00
Fred Fish 4bebc3aa3c Committed under "obvious fix rule".
2004-03-03  Fred Fish  <fnf@redhat.com>
	* gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
	"val" instead of unused "size".  Update copyright year.
2004-03-03 19:12:52 +00:00
gdbadmin 284a7efdbe *** empty log message *** 2004-03-03 00:00:31 +00:00
Jim Blandy 49b0b19512 * stabsread.c (reg_value_complaint): The maximum register number
is one less than the number of registers.
2004-03-02 20:31:56 +00:00
Andrew Cagney e9ff708b9b 2004-03-02 Andrew Cagney <cagney@redhat.com>
* i386-tdep.h (enum i386_regnum): Add I386_DS_REGNUM,
	I386_ES_REGNUM, I386_FS_REGNUM, and I386_GS_REGNUM.  Remove
	trailing comma and redundant assignment of I386_ST0_REGNUM.
	* amd64-nat.c (amd64_collect_native_gregset): Zero-extend the
	32-bit segment registers.
2004-03-02 15:58:59 +00:00
Andrew Cagney d4715e41ad 2004-03-01 Andrew Cagney <cagney@redhat.com>
* rs6000-tdep.c (rs6000_init_frame_pc_first): Fix compiler error,
	use frame_relative_level and get_next_frame.
2004-03-02 02:20:25 +00:00
gdbadmin 38744d423b *** empty log message *** 2004-03-02 00:00:32 +00:00
Andrew Cagney 3ce2bf1815 2004-02-29 Andrew Cagney <cagney@redhat.com>
* rs6000-tdep.c (rs6000_init_frame_pc_first): New function.
	(rs6000_gdbarch_init): Set deprecated_init_frame_pc_first.
	* config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST):
	Delete macro.
2004-03-01 00:50:56 +00:00
gdbadmin 312d3cb118 *** empty log message *** 2004-03-01 00:00:03 +00:00
Daniel Jacobowitz 6ea9fb3712 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
to use unsigned char.
	* gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
	gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
2004-02-29 22:29:15 +00:00
Daniel Jacobowitz 2da6aac335 * inflow.c (terminal_inferior): Don't give up the terminal if we
previously couldn't get the inferior's terminal state.
2004-02-29 19:17:49 +00:00
Daniel Jacobowitz 6ba34a8d52 * regcache.c (read_pc_pid): Restore inferior_ptid after reading
PC_REGNUM.
2004-02-29 17:01:38 +00:00
Daniel Jacobowitz 23b23974c7 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
line of output.
2004-02-29 16:51:48 +00:00
Daniel Jacobowitz dc3f888344 * server.c (handle_v_cont): Call set_desired_inferior. 2004-02-29 16:49:38 +00:00
Daniel Jacobowitz 89a208daac * remote-utils.c (prepare_resume_reply): Always supply "thread:". 2004-02-29 16:48:29 +00:00
Daniel Jacobowitz 62ea82f508 * linux-low.c (linux_wait): Unblock async I/O.
(linux_resume): Block and enable async I/O.
	* remote-utils.c (block_async_io, unblock_async_io): New functions.
	* server.h (block_async_io, unblock_async_io): Add prototypes.
2004-02-29 16:47:15 +00:00
Daniel Jacobowitz 6910d122ac * remote-utils.c (remote_open): Print a status notice after
opening a TCP port.
	* server.c (attach_inferior): Print a status notice after
	attaching.
2004-02-29 16:46:01 +00:00
Daniel Jacobowitz d677d77d05 * linux-arm-low.c (arm_get_pc): Print out stop PC in debug mode. 2004-02-29 16:43:49 +00:00
Andrew Cagney 168efedae1 Branch didn't get cut, remove reference. 2004-02-29 03:39:04 +00:00
Andrew Cagney 01cf0b9f2c Fix tipo. 2004-02-29 02:59:16 +00:00
Daniel Jacobowitz 7574fd5374 * gdb.base/relocate.c (dummy): Initialize. 2004-02-29 02:58:28 +00:00
Andrew Cagney faae5abe9a 2004-02-28 Andrew Cagney <cagney@redhat.com>
* NEWS: Refer to GDB 6.1.
	* README: Refer to GDB 6.1.
	* PROBLEMS: Refer to GDB 6.1.

Index: doc/ChangeLog
2004-02-28  Andrew Cagney  <cagney@redhat.com>

	* gdb.texinfo (Contributors): Mention GDB 6.1 release engineer.
2004-02-29 02:57:24 +00:00
Daniel Jacobowitz a195357fd2 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
a breakpoint at exit.
2004-02-29 02:55:21 +00:00
Daniel Jacobowitz 2227a3c550 * thread-db.c (disable_thread_signals): Remove unused function. 2004-02-29 02:39:47 +00:00
Andrew Cagney 7a3ccebe9b Oops, move branch message to correct position. 2004-02-29 02:16:56 +00:00
Andrew Cagney ae92b7d67a GDB 6.1 branch created. 2004-02-29 02:09:34 +00:00
gdbadmin 0f0f2dd5b5 *** empty log message *** 2004-02-29 00:00:02 +00:00
Mark Kettenis 041bd74ba6 * amd64-nat.c: Include "gdb_string.h".
(amd64_collect_native_gregset): Zero-extend the 32-bit
general-purpose registers and %eip.
2004-02-28 21:55:48 +00:00
Mark Kettenis 3c017e4024 * amd64-tdep.h: (amd64_collect_fxsave): New prototype.
* amd64-tdep.c (amd64_collect_fxsave): New function.
(amd64_fill_fxsave): Simply call amd64_collect_fxsave.
2004-02-28 20:48:57 +00:00
Mark Kettenis 80571bffe3 * i387-tdep.h: Update copyright year.
(i387_collect_fxsave): New prototype.
* i387-tdep.c: Update copyright year.
(i387_collect_fxsave): New function containing most of the code
from i387_fill_fxsave.
(i387_fill_fxsave): Call i387_collect_fxsave.
2004-02-28 20:43:51 +00:00
Andrew Cagney 50d71875b9 2004-02-28 Andrew Cagney <cagney@redhat.com>
* amd64-linux-nat.c (ps_get_thread_area): When architecture is
	i386 use PTRACE_GET_THREAD_AREA.  Suggested by Roland McGrath.
2004-02-28 19:38:21 +00:00
Andrew Cagney b6d42148e9 Oops, wrong patch :-( 2004-02-28 18:54:31 +00:00
Andrew Cagney 394023e238 2004-02-28 Andrew Cagney <cagney@redhat.com>
* amd64-linux-nat.c (ps_get_thread_area): When architecture is
	i386 use PTRACE_GET_THREAD_AREA.  Suggested by Roland McGrath.
2004-02-28 18:52:19 +00:00
Mark Kettenis 4a28816e79 * amd64-tdep.c (amd64_frame_cache): Fix comment. 2004-02-28 18:07:58 +00:00
Andrew Cagney dbda997201 2004-02-28 Andrew Cagney <cagney@redhat.com>
* utils.c: Use "", instead of <>, to include readline.
	tui/tui-win.c, tui/tui.c, tui/tui-hooks.c: Ditto.
	* tracepoint.c, top.c, symmisc.c, symfile.c: Ditto.
	* source.c, solib.c, exec.c, event-top.c: Ditto.
	* corelow.c, completer.c, cli/cli-setshow.c: Ditto.
	* cli/cli-dump.c, cli/cli-cmds.c: Ditto.
	* Makefile.in: Update all dependencies.
	(readline_tilde_h, readline_history_h): Define.
	(readline_headers): Delete.
2004-02-28 18:04:37 +00:00
Mark Kettenis 91ae43031c * config/djgpp/fnchange.lst: Rename "config/i386/nm-linux64.h" to
"config/i386/nm-lx64.h" and "config/i386/tm-linux64.h" to
"config/i386/tm-lx64.h".
2004-02-28 18:01:48 +00:00
Mark Kettenis 83277a992f * config/djgpp/fnchange.lst: Rename "amd64-linux-tdep.c" to
"amd64-ltdep.c" and "amd64-linux-nat.c" to "amd64-lnat.c".  Remove
rules for "x86-64-linux-tdep.c" and "x86-64-linux-nat.c".
2004-02-28 17:55:39 +00:00
Andrew Cagney ecc9ac844c 2004-02-28 Andrew Cagney <cagney@redhat.com>
* dwarf2-frame.h (struct gdbarch): Add opaque declaration.
2004-02-28 16:59:32 +00:00
Andrew Cagney 6e1d7d6c23 2004-02-28 Andrew Cagney <cagney@redhat.com>
* breakpoint.c (_initialize_breakpoint): Use
	"add_setshow_auto_boolean_cmd.  Better word-wrap help messages.
	Add help to show command.
2004-02-28 16:56:12 +00:00
Mark Kettenis 7fa2737c9e * i386-nat.c: Reformat to be closer to coding standards.
(i386_handle_nonaligned_watchpoint): Rename local variable `rv' to
`retval'.  Make variables `align' and `size' local to while-loop.
(i386_stopped_data_address): Rename local variable `ret' to `addr'.
(_initialize_i386_nat): New prototype.
2004-02-28 15:38:04 +00:00
Mark Kettenis 9671aeef93 * tui/tui.c: Include <readline/readline.h> instead of
"readline/readline.h".  Include it after <term.h> and
"gdb_curses.h".
2004-02-28 15:02:35 +00:00
Fred Fish 72fd54a966 Reviewed and approved by drow@false.org.
2004-02-27  Fred Fish  <fnf@redhat.com>
	* gdb.base/chng-syms.exp: Add expect condition to match failing
	case that isn't a timeout.
2004-02-28 05:40:46 +00:00
gdbadmin 65592fb1e5 *** empty log message *** 2004-02-28 00:00:33 +00:00
Andrew Cagney 412275d567 2004-02-27 Andrew Cagney <cagney@redhat.com>
* hppa-tdep.c (hppa_gdbarch_init): On 32-bit systems always use
	the new frame unwind code.
	(hppa_frame_cache): Use PCOQ_HEAD_REGNUM instead of PC_REGNUM.
	(hppa_frame_prev_register): Compute PCOQ_TAIL_REGNUM from
	PCOQ_HEAD_REGNUM.
2004-02-27 21:47:53 +00:00
Andrew Cagney fca7aa43b0 Index: ChangeLog
2004-02-27  Andrew Cagney  <cagney@redhat.com>

	* hppa-tdep.c (hppa_gdbarch_init): On 32-bit systems always
	"return_value" and "push_dummy_call".
	(hppa32_use_struct_convention): Delete unused function.
	(hppa32_store_return_value): Delete unused function.
	(hppa32_extract_return_value): Delete unused function.
	(hppa32_stack_align): Delete function.
2004-02-27 19:06:16 +00:00
Eli Zaretskii e6a8a7d2ae 2004-02-27 Eli Zaretskii <eliz@elta.co.il>
* coffread.c (enter_linenos): Don't let rawptr reference memory
	outside linetab[]'s limits.
2004-02-27 17:46:11 +00:00
Andrew Cagney b9d2313780 2004-02-27 Andrew Cagney <cagney@redhat.com>
* gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
	support.
2004-02-27 16:48:03 +00:00
Andrew Cagney 1797a8f623 2004-02-27 Andrew Cagney <cagney@redhat.com>
* hppa-tdep.c (hppa32_push_dummy_call): Fix code reserving
	inferior stack space - the stack needs to grow upwards.
	(hppa32_frame_align): New function.
	(hppa64_frame_align): Replace hppa_frame_align.
	(hppa_gdbarch_init): Update.
2004-02-27 16:38:39 +00:00
Orjan Friberg 2e4b588910 2004-02-26 Orjan Friberg <orjanf@axis.com>
* cris-tdep.c (frame_unwind.h, frame-base.h, trad-frame.h)
	(dwarf2-frame.h): Include.
	(enum cris_regnums): New enum CRIS_FP_REGNUM.
	Remove static variables related to ABI setting.
	(struct gdbarch_tdep): Remove cris_abi member.
	(struct frame_extra_info): Remove.
	(cris_unwind_cache, stack_item): New structs.
	(cris_frame_unwind, cris_frame_base): New variables.
	(push_stack_item, pop_stack_item)
	(cris_frame_unwind_cache, cris_frame_this_id)
	(cris_frame_prev_register, cris_unwind_dummy_id, cris_frame_align)
	(cris_push_dummy_code, cris_push_dummy_call, cris_frame_sniffer)
	(cris_frame_base_address, cris_scan_prologue, cris_unwind_pc)
	(cris_unwind_sp, cris_store_return_value, cris_extract_return_value)
	(cris_reg_struct_has_addr): New functions.
	(cris_examine, cris_frame_init_saved_regs, cris_frame_chain)
	(cris_frame_saved_pc, cris_saved_pc_after_call,
	(cris_store_struct_return, cris_frameless_function_invocation)
	(cris_pop_frame, cris_skip_prologue_main)
	(cris_abi_original_store_return_value)
	(cris_abi_v2_store_return_value)
	(cris_abi_original_extract_return_value)
	(cris_abi_v2_extract_return_value)
	(cris_abi_original_reg_struct_has_addr)
	(cris_abi_v2_reg_struct_has_addr)
	(cris_abi_original_push_arguments, cris_abi_v2_push_arguments)
	(cris_push_return_address, cris_abi_update): Remove.
	(_initialize_cris_tdep): Remove ABI command.
	(cris_dump_tdep): Ditto.
	(cris_gdbarch_init): Remove ABI command.
	Set store_return_value, extract_return_value, push_dummy_code,
	push_dummy_call, frame_align, unwind_pc, unwind_sp, unwind_dummy_id,
	frame_unwind_append_sniffer, frame_base_set_default.
	Clear deprecated init_frame_pc, push_arguments, store_return_value,
	extract_return_value, fp_regnum, pc_in_call_dummy, call_dummy_words,
	sizeof_call_dummy_words, get_saved_register, push_return_address,
	pop_frame, store_struct_return, frame_init_saved_regs,
	init_extra_frame_info, frameless_function_invocation, frame_chain,
	frame_saved_pc, saved_pc_after_call, save_dummy_frame_tos,
	dummy_write_sp.
2004-02-27 12:39:26 +00:00
Jeff Johnston 6b9acc27a9 2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
* valprint.h (print_hex_chars, print_char_chars): New prototypes.
        * valprint.c (print_hex_chars): Change from static to external.
        (print_char_chars): New function.
        * printcmd.c (print_scalar_formatted): For integer and enum types
        that are longer than LONGEST, perform processing via appropriate
        print_*_chars routines.
2004-02-27 00:01:14 +00:00
gdbadmin e99183ebed *** empty log message *** 2004-02-27 00:00:02 +00:00
Andrew Cagney a431654a6d Index: ChangeLog
2004-02-26  Andrew Cagney  <cagney@redhat.com>

	* Makefile.in: Update dependencies.
	Changes from Ulrich Weigand,
	* s390-tdep.c: Include "dwarf2-frame.h".
	(s390_dwarf2_frame_init_reg): New function.
	(s390_gdbarch_init): Install dwarf2_frame_sniffer and
	dwarf2_frame_base_sniffer.  Call dwarf2_frame_set_init_reg.
2004-02-26 23:48:01 +00:00
Jeff Johnston fa8d40aba5 2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
* breakpoint.c (pending_break_support): New setting variable.
        (break_command_1): Account for pending_break_support setting
        when creating pending breakpoints.
        (set_breakpoint_cmd, show_breakpoint_cmd): New functions.
        (_initialize_breakpoint): Add "set breakpoint pending" and
        "show breakpoint pending" commands.
2004-02-26 23:46:47 +00:00
Jeff Johnston dd79a6cf0b 2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
* gdb.texinfo (breakpoints): Add information about the
        new "set breakpoint pending" and "show breakpoint pending"
        commands.
2004-02-26 23:21:23 +00:00
Fred Fish 15d208f651 Reviewed and approved by cagney@gnu.org.
2004-02-26  Fred Fish  <fnf@redhat.com>
	* gdb.arch/gdb1431.c: Remove.
	* gdb.arch/gdb1431.s: New file, copy of gdb1291.s
	* gdb.arch/gdb1431.exp: Use "advance" correctly instead
	of "until" incorrectly.
2004-02-26 22:19:18 +00:00
Andrew Cagney e7f1601561 2004-02-26 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Coding): Document use of gdbarch_obstack_zalloc
	in Per-architecture module data section.
2004-02-26 20:52:08 +00:00
Joel Brobecker 98f9cd2d31 * gdb.cp/class2.cc (empty): New class.
(refer): New function.
        (main): Declare an object of type empty and use it.
        * gdb.cp/class2.exp: Print the value of an object of type empty.
2004-02-26 20:22:44 +00:00
Jeff Johnston 9b50c11b36 2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
* gdb.base/langs.exp: Update query string to match the
        new nquery format used for pending breakpoints.
2004-02-26 19:36:16 +00:00
Andrew Cagney 0dcd613f58 Index: ChangeLog
2004-02-26  Andrew Cagney  <cagney@redhat.com>

	Fix PR i18n/1570.
	* charset.c (backslashable, backslashed, represented): Remove 'e'
	from list of escaped characters, not part of ISO-C.

Index: charset.c
Index: testsuite/ChangeLog
2004-02-26  Andrew Cagney  <cagney@redhat.com>

	Fix PR i18n/1570.
	* gdb.base/charset.c: Update copyright notice.
	(main, init_string): Remove the escape character '\e' tests.
	* gdb.base/printcmds.exp (test_print_all_chars): Ditto.
	* gdb.base/charset.exp (valid_host_charset): Ditto.
	* gdb.base/setvar.exp: Ditto.
2004-02-26 17:23:23 +00:00
Daniel Jacobowitz c89dc5d424 * remote-utils.c (write_enn): Use "E01" instead of "ENN" for the
error packet.
	* server.c, target.h: Update copyright years.
2004-02-26 15:08:47 +00:00
Joel Brobecker 479272a3ca * tui/tui.c: Move system header includes after local includes.
Fixes a build failure on solaris systems.
2004-02-26 02:08:04 +00:00
Joel Brobecker 7613d9339c * configure.in: Refine the previous change.
* configure: Regenerate.
2004-02-26 00:41:46 +00:00
gdbadmin 2f3bf8b93e *** empty log message *** 2004-02-26 00:00:33 +00:00
Mark Kettenis 85be1ca620 *** empty log message *** 2004-02-25 20:59:12 +00:00
Mark Kettenis 9c1488cbbc * amd64-tdep.h: Renamed from x86-64-tdep.h.
* amd64-tdep.c: Renamed from x86-64-tdep.c.  Include
"amd64-tdep.h" instead of "x86-64-tdep.h".
* amd64-nat.c: Include "amd64-tdep.h" instead of "x86-64-tdep.h".
* amd64-linux-tdep.h: Renamed from x86-64-linux.h.
* amd64-linux-tdep.c: Renamed from x86-64-linux-tdep.c.  Include
"amd64-tdep.h" and "amd64-linux-tdep.h" instead of "x86-64-tdep.h"
and "x86-64-tdep.c".
* amd64-linux-nat.c: Renamed from x86-64-linux-nat.c.  Include
"amd64-tdep.h" and "amd64-linux-tdep.h" instead of "x86-64-tdep.h"
and "x86-64-tdep.c".
* amd64bsd-nat.c: Update copyright year.
Include "amd64-tdep.h" instead of "x86-64-tdep.h".
* amd64fbsd-tdep.c: Include "amd64-tdep.h" instead of
"x86-64-tdep.h".
* amd64fbsd-nat.c: Include "amd64-tdep.h" instead of
"x86-64-tdep.h".
* amd64nbsd-tdep.c: Include "amd64-tdep.h" instead of
"x86-64-tdep.h".
* amd64nbsd-nat.c: Include "amd64-tdep.h" instead of
"x86-64-tdep.h".
* amd64obsd-tdep.c: Include "amd64-tdep.h" instead of
"x86-64-tdep.h".
* amd64obsd-nat.c: Include "amd64-tdep.h" instead of
"x86-64-tdep.h".
* configure.host: (x86_64-*-linux*): Set gdb_target to linux64.
* configure.tgt (x86_64-*-linux*): Set gdb_target to linux64.
* Makefile.in (amd64_linux_tdep_h): Renamed from
x86_64_linux_tdep_h.
(amd64_tdep_h): Renamed from x86_64_tdep_h.
(amd64bsd-nat.o, amd64fbsd-nat.o, amd64fbsd-tdep.o, amd64-nat.o)
(amd64nbsd-nat.o, amd64nbsd-tdep.o, amd64obsd-nat.o)
(amd64obsd-tdep.o): Update dependencies.
(amd64-tdep.o, amd64-linux-nat.o, amd64-linux-tdep.o): New
dependencies.
(x86-64-linux-nat.o, x86-64-linux-tdep.o, x86-64-tdep.o): Remove
dependencies.
(ALLDEPFILES): Add amd64-tdep.c, amd64obsd-nat.c, amd64obsd-nat.c,
amd64-linux-nat.c amd64-linux-tdep.c.
* config/i386/tm-linux64.h: Renamed from tm-x86-64linux.h
* config/i386/nm-linux64.h: Renamed from nm-x86-64linux.h.
* config/i386/linux64.mt: Renamed from x86-64linux.mt.
(TDEPFILES): Replace x86-64-tdep.o and x86-64-linux-tdep.o with
amd64-tdep.o and amd64-linux-tdep.o.
(TM_FILE): Set to tm-linux64.h.
* config/i386/linux64.mh: Renamed from x86-64linux.mh.
(NAT_FILE): Set to nm-linux64.h.
(NATDEPFILES): Replace x86-64-linux-nat.o with amd64-linux-nat.o.
* config/i386/fbsd64.mt (TDEPFILES): Replace x86-64-tdep.o with
amd64-tdep.o.
* config/i386/nbsd64.mt (TDEPFILES): Replace x86-64-tdep.o with
amd64-tdep.o.
* config/i386/obsd64.mt (TDEPFILES): Replace x86-64-tdep.o with
amd64-tdep.o.
2004-02-25 20:45:31 +00:00
Roland McGrath 4b8dad4a1e . 2004-02-25 20:41:42 +00:00
Roland McGrath aa691b87c2 2004-02-25 Roland McGrath <roland@redhat.com>
* target.h (struct target_ops): New member `read_auxv'.
	* server.c (handle_query): Handle qPart:auxv:read: query using that.
	* linux-low.c (linux_read_auxv): New function.
	(linux_target_ops): Initialize `read_auxv' member to that.
2004-02-25 20:41:29 +00:00
Roland McGrath 802188a76c 2004-02-25 Roland McGrath <roland@redhat.com>
* remote.c (remote_protocol_qPart_auxv): New variable.
	(init_all_packet_configs): Initialize it.
	(set_remote_protocol_qPart_auxv_packet_cmd): New function.
	(show_remote_protocol_qPart_auxv_packet_cmd): New function.
	(show_remote_cmd): Call it.
	(_initialize_remote): Initialize commands.
	(remote_xfer_partial): If enabled, use qPart:auxv:read:... query to
	service TARGET_OBJECT_AUXV requests.
2004-02-25 20:41:00 +00:00
Joel Brobecker 66745969b0 * configure.in: Make sure that the wborder function is available.
Otherwise, search for it in the cur_colr library.
        * configure: Regenerate.
2004-02-25 20:09:46 +00:00
Andrew Cagney 79508e1e22 2004-02-25 Andrew Cagney <cagney@redhat.com>
* hppa-tdep.c (hppa32_push_dummy_call): Rewrite.
2004-02-25 20:00:40 +00:00
Roland McGrath 7161a3a693 . 2004-02-25 19:35:44 +00:00
Roland McGrath 649e03f6e4 2004-02-25 Roland McGrath <roland@redhat.com>
* gdb.texinfo (General Query Packets): Document qPart:... packets.
2004-02-25 19:35:30 +00:00
Mark Kettenis 571ee60010 * config/i386/tm-x86-64linux.h: Tweak comments. 2004-02-25 19:27:40 +00:00
Richard Sandiford 2b1b322f46 Fix date in last commit...sigh. 2004-02-25 18:48:22 +00:00
Richard Sandiford ad74788f59 * MAINTAINERS: Add self to write-after-approval list. 2004-02-25 18:48:03 +00:00
Andrew Cagney 4d2acc6562 2004-02-25 Andrew Cagney <cagney@redhat.com>
PR cli/1566.  Problem found, and fix suggested by David Allan.
	* cli/cli-script.c (execute_control_command): Unconditionally
	install a cleanup.  Default "ret" to "invalid_control".  Use
	"break" instead of "return" to escape from the switch.
2004-02-25 15:57:42 +00:00
Richard Sandiford 19b846f3d9 Add self. 2004-02-25 08:46:59 +00:00
Joel Brobecker 4cfcaf218c * tui/tui-disasm.c: %s/lines/asm_lines/g to avoid a collision
with the lines macro defined in term.h on AiX.
        * tui/tui-regs.c: %s/label_width/tui_label_width/g, to avoid
        a collision with the label_width macro defined in term.h on AiX.
2004-02-25 01:10:01 +00:00
gdbadmin bb72452d25 *** empty log message *** 2004-02-25 00:00:32 +00:00
Andrew Cagney 90d59e3423 2004-02-24 Andrew Cagney <cagney@redhat.com>
* gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
	mmapped data in core file" PASS and FAIL messages consistent.
2004-02-24 22:58:05 +00:00
Kevin Buettner 063cb53aac Remove merge conflict characters. 2004-02-24 22:35:44 +00:00
Kevin Buettner 54a5c8d8da 2004-02-23 David Mosberger <davidm@hpl.hp.com>
Committed by Kevin Buettner <kevinb@redhat.com>.

	* ia64-tdep.h (ia64_write_pc, ia64_linux_write_pc): Declare.
	* ia64-tdep.c (ia64_write_pc): Make it a global function.
	(ia64_gdbarch_init): For Linux targets, use ia64_linux_write_pc()
	instead of ia64_write_pc().
	* ia64-linux-tdep.c (regcache.h): Include.
	(ia64_linux_write_pc): New function.
2004-02-24 22:35:01 +00:00
Andrew Cagney b8a566476b 2004-02-24 Andrew Cagney <cagney@redhat.com>
* gdb.java/jmisc.exp: Use the fully quallified name of "main" when
	setting a breakpoint.  Work around PR java/1565.
2004-02-24 16:09:48 +00:00
Andrew Cagney 2154891a10 2004-02-24 Andrew Cagney <cagney@redhat.com>
* annotate.texinfo: Wrap fdl.texi include in raise/lower sections.
	* gdb.texinfo, gdbint.texinfo, stabs.texinfo: Ditto.
	* fdl.texi: Import Version 1.2, November 2002.
2004-02-24 15:41:29 +00:00
Roland McGrath 8a1dac83bc . 2004-02-24 01:00:50 +00:00
Roland McGrath 3f5becf80e 2004-02-23 Roland McGrath <roland@redhat.com>
* auxv.c (info_auxv_command): Fix typos in error messages.
2004-02-24 01:00:30 +00:00