Commit Graph

36379 Commits

Author SHA1 Message Date
gdbadmin 1e0cda2325 *** empty log message *** 2002-09-14 00:00:03 +00:00
Andrew Cagney e76cff22f1 2002-09-13 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (SIGTRAMP_END): Change to a predicate function.
	* gdbarch.h, gdbarch.c: Regenerate.
2002-09-13 23:21:45 +00:00
Andrew Cagney 905abb3f14 2002-09-13 Andrew Cagney <ac131313@redhat.com>
* frame.c (find_saved_register): Delete function.
	* frame.h (find_saved_register): Delete declaration.
	Fix PR gdb/631.
2002-09-13 22:53:36 +00:00
Andrew Cagney 6415945597 Fri Sep 13 14:59:55 2002 Andrew Cagney <cagney@redhat.com>
* mips-tdep.c (read_next_frame_reg): Re-hack using
 	frame_register_unwind.
2002-09-13 22:15:33 +00:00
Keith Seitz 78d0849c9d Fix line numbers. 2002-09-13 21:29:42 +00:00
Keith Seitz 602f3bfac4 * mi-var-child.exp: Use mi_step_to and mi_execute_to instead
of a bunch of repeated send_gdb/gdb_expect statements.
2002-09-13 21:03:33 +00:00
Stephane Carrez e3da6fc58a * tui.c (tui_rl_switch_mode): Remove unecessary TUI switch printfs.
(tui_initialize_readline): Allow to use space to leave SingleKey
	to enter one gdb command.
	(tui_enable): Restore the TUI keymap when we are back to TUI.
	(tui_disable): Restore normal keymap when leaving TUI.
	* tuiIO.c (tui_redisplay_readline): Restore the SingleKey mode
	when the buffer becomes empty and we are in tui_one_command_mode.
2002-09-13 20:06:56 +00:00
Stephane Carrez bd9b0abf4e * tuiIO.c (tui_setup_io): rl_already_prompted must be cleared
when leaving TUI mode so that gdb prompt is displayed.
2002-09-13 19:47:21 +00:00
Stephane Carrez a42a37b725 * tuiStack.c (tui_make_status_line): Make sure the local buffer
is large enough to hold the complete line.
2002-09-13 19:37:47 +00:00
Andrew Cagney 795e1e1128 Fri Sep 13 07:42:09 2002 Andrew Cagney <cagney@redhat.com>
* mips-tdep.c (mips_get_saved_register): Re-hack using
 	frame_register_unwind.
2002-09-13 17:58:22 +00:00
Corinna Vinschen 1c56143ab1 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string. 2002-09-13 17:20:11 +00:00
Nick Clifton 7fe9cf6bf6 Do not count FAKE operands when deciding if any operands have been skipped. 2002-09-13 09:16:02 +00:00
Nick Clifton dde1b13223 Fix Book-E opcodes 2002-09-13 09:07:49 +00:00
Joel Brobecker 37f8da45ab * gdb.base/call-strs.exp: Fix a small typo in one of the comments. 2002-09-13 00:43:10 +00:00
Joel Brobecker 5720643ce8 * gdbarch.sh (NAME_OF_MALLOC): New variable in the architecture
vector. Will be useful for Interix.
       * gdbarch.h, gdbarch.c: Regenerate.

       * valops.c (value_allocate_space_in_inferior): Replace hard-coded
       name of the malloc function by NAME_OF_MALLOC.
2002-09-13 00:38:48 +00:00
Joel Brobecker 3bada2a2df * value.h (find_function_in_inferior): Add const keyword to
one of the parameters. Allows us to invoke this function with
       a const char *.
       * valops.c (find_function_in_inferior): Likewise.
2002-09-13 00:18:33 +00:00
Alan Modra 4cfa75e2b2 daily update 2002-09-13 00:00:05 +00:00
gdbadmin 20a4787a38 *** empty log message *** 2002-09-13 00:00:02 +00:00
Joel Brobecker 3db26b01ff * exec.c (xfer_memory): Fix compilation warning with old versions
of GCC.
        * tracepoint.c (trace_find_tracepoint_command): Likewise.
2002-09-12 19:49:56 +00:00
David Carlton 17c5ed2cf3 2002-09-12 David Carlton <carlton@math.stanford.edu>
* symtab.h: Run through gdb_indent.h.
	Add 2002 to Copyright year list.
2002-09-12 19:19:37 +00:00
Nick Clifton 707960fed5 Import chnages from master config repository. 2002-09-12 15:59:37 +00:00
Jakub Jelinek 6a30718d0e * elf32-i386.c (dtpoff_base, tpoff): Don't crash if tls_segment is
NULL.
	(elf_i386_relocate_section): Return false after printing error about
	unresolvable relocation.
2002-09-12 14:01:20 +00:00
Nick Clifton 6cf9e9fe1d Fix handling of R_ARM_THM_PC11 2002-09-12 13:18:57 +00:00
Nick Clifton 065c959b71 Handle DW_OP_GNU_push_tls_address.
Synch up with the gcc's dwarf2.h
2002-09-12 10:35:54 +00:00
Alan Modra ecd1107e81 * x86-64-tdep.c (_initialize_x86_64_tdep): Don't use hard-coded
mach constants.
	* MAINTAINERS: Add myself to write after approval list.
2002-09-12 08:39:26 +00:00
Alan Modra 9ec878e367 * ppc-dis.c (powerpc_dialect): Add missing PPC_OPCODE_CLASSIC. 2002-09-12 03:58:37 +00:00
DJ Delorie a54ba43fe9 merge from gcc 2002-09-12 01:11:29 +00:00
Joel Brobecker e64f66d171 * osabi.c (gdb_osabi_name): Add entry for GDB_OSABI_INTERIX. 2002-09-12 00:26:30 +00:00
gdbadmin ba4736d1a9 *** empty log message *** 2002-09-12 00:00:32 +00:00
Alan Modra b2e57ccbb6 daily update 2002-09-12 00:00:05 +00:00
Joel Brobecker f939579412 * osabi.h (gdb_osabi): Add new GDB_OSABI_INTERIX enum value for
Interix.
2002-09-11 22:32:45 +00:00
Keith Seitz 4060713bec * mi-main.c (mi_cmd_data_list_register_names): Use cleanups
for the uiout list. Do the cleanups when returning an error.
        (mi_cmd_data_list_changed_registers): Ditto.
        (mi_cmd_data_list_register_values): Use cleanups for the uiout list
        and tuples. Do the cleanups when returning errors.
2002-09-11 21:49:04 +00:00
Jeff Law 32ac2c9a75 * elf32-h8300.c (elf32_h8_relax_section): Fix typo. 2002-09-11 19:19:11 +00:00
Nick Clifton 004d9cafa4 New TI port supports both C4x and C3x series of DSPs. 2002-09-11 14:42:45 +00:00
Nick Clifton dc43ada5bf Check functionname_ptr and line_ptr before deciding we've found a symbol. 2002-09-11 14:30:53 +00:00
Nick Clifton e09f439535 Update translations 2002-09-11 13:52:17 +00:00
Jakub Jelinek 9dfe7b396f * config/tc-i386.c (md_apply_fix3): Allow addend for
BFD_RELOC_386_TLS_LDO_32, BFD_RELOC_386_TLS_LE and
	BFD_RELOC_386_TLS_LE_32.
2002-09-11 09:51:58 +00:00
Michael Snyder 1a303dec0c 2002-06-05 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
* procfs.c (do_detach): Clear current signal, not just fault.
	Corrects problem with breakpoint trap signal leaking to detached
	process on Tru64.
2002-09-11 00:13:58 +00:00
Alan Modra 470903d0b0 daily update 2002-09-11 00:00:04 +00:00
gdbadmin 8b94de87f5 *** empty log message *** 2002-09-11 00:00:02 +00:00
Michael Snyder c0219d4272 2002-09-10 Michael Snyder <msnyder@redhat.com>
* buildsym.c (finish_block): Protect against null pointer.
2002-09-10 23:45:26 +00:00
Andrew Cagney 9d84ac84ef 2002-09-10 Andrew Cagney <cagney@redhat.com>
* infcmd.c (default_print_registers_info): Send all output to
	``file'' instead of ``gdb_stdout''.
2002-09-10 23:28:54 +00:00
Keith Seitz fc5cfef41b * mi-simplerun.exp (test_controlled_execution): Follow renaming of
mi_run_to to mi_execute_to.
        * mi-var-cmd.exp: Likewise.
        * mi0-simplerun.exp: Likewise.
        * mi0-var-cmd.exp: Likewise.
2002-09-10 22:28:44 +00:00
Keith Seitz 08b468e0c5 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
runto proc.
        (mi_run_to_main): Use mi_runto.
        (mi_execute_to): Renamed from mi_run_to. Changed all callers.
2002-09-10 22:28:19 +00:00
Keith Seitz dc360f582a * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
regexp for stopping at main. Could have multiple event notifications.
        Don't assume that main was declared with no parameters.
        (mi_next): Use mi_step_to.
        (mi_step): Use mi_next_to.
2002-09-10 22:07:58 +00:00
Michael Snyder 77d8f2b47e 2002-09-10 Michael Snyder <msnyder@redhat.com>
* mips-tdep.c (mips_extract_struct_value_address): Make val a
	LONGEST, and use signed register read (addresses are sign-
	extended for mips).
2002-09-10 21:31:18 +00:00
Stephane Carrez 2b68e2c5b9 * tui-hooks.c (tui_event_loop): New function.
(tui_command_loop): New function to override gdb loop and make sure
	uiout is set according to TUI mode.
	(tui_command_loop): Install the specific TUI command hook.
	* tuiIO.c (tui_initialize_io): Initialize tui_old_uiout.
	(tui_uiout, tui_old_uiout): Make public.
	* tuiIO.h (tui_uiout, tui_old_uiout): Declare.
2002-09-10 19:59:31 +00:00
Stephane Carrez 99656a6140 * event-loop.c (gdb_do_one_event): Make public.
* event-loop.h (gdb_do_one_event): Declare.
2002-09-10 19:53:24 +00:00
Frank Ch. Eigler 9464e23293 * test commit 2002-09-10 19:04:38 +00:00
Jeff Johnston 36ea319fec 2002-09-10 Jeff Johnston <jjohnstn@redhat.com>
* COPYING.NEWLIB: More updates.
2002-09-10 19:02:38 +00:00