Commit Graph

12552 Commits

Author SHA1 Message Date
Joel Brobecker d9025a1885 * osfsolib.c: Remove file, replaced by solib-osf.c.
* Makefile.in: Remove compilation rules for osfsolib.c.
2002-09-17 04:45:50 +00:00
gdbadmin 135f18ffb3 *** empty log message *** 2002-09-17 00:00:02 +00:00
David Carlton 1b2ef1b64f 2002-09-16 David Carlton <carlton@math.stanford.edu>
* cp-valprint.c (cp_print_class_method): Correct args to
	check_stub_method_group.
2002-09-16 22:02:46 +00:00
Keith Seitz 8038ed9723 * gdb701.exp: New file for testing varobj target type bug.
* gdb701.c: New file.
2002-09-16 19:01:43 +00:00
Corinna Vinschen 928e48af4f * h8300-tdep.c: Multiarch. Drop `set machine' command in favor of
`set architecture'.  Unify naming convention of functions.
	(h8300_skip_prologue): Improve prologue analysis.
	(h8300_push_arguments): Rewritten to more closely match GCC's
	bizarre argument-passing behavior, along with the comment describing
	said behavior.
	* remote-hms.c (hms_regnames): Don't use NUM_REGS in definition.
	* config/h8300/tm-h8300.h: Multiarch.  Just keep stuff needed by
	sim, remote-e7000.c, remote-hms.c and remote.c
2002-09-16 15:03:17 +00:00
gdbadmin 4d1310b4a5 *** empty log message *** 2002-09-16 00:00:32 +00:00
Mark Kettenis 5e3397bbf7 * i386-tdep.c (gdb_print_insn_i386): Removed.
(i386_print_insn): New function.
(i386_gdbarch_init): Set print_insn to i386_print_insns.
(_initialize_i386_tdep): Don't initialize tm_print_insn and
tm_print_insn_info.
2002-09-15 13:53:36 +00:00
gdbadmin f9a38f5388 *** empty log message *** 2002-09-15 00:00:32 +00:00
Mark Kettenis f710f4fc2c * gdbtypes.c (check_stub_method_group): Initialize found_stub to
zero.
2002-09-14 15:39:52 +00:00
Corinna Vinschen db54fef427 * arch-utils.c (legacy_pc_in_sigtramp): Move preprocessor expression
for IN_SIGTRAMP to here.  Use IN_SIGTRAMP only if it's defined.
	Guard usage of SIGTRAMP_START() by using SIGTRAMP_START_P.
2002-09-14 09:40:36 +00:00
Corinna Vinschen b2b4a1b5e6 * gdb.base/command.exp: Don't expect a "Program exited normally"
string after running the commands execution on breakpoint tests.
2002-09-14 09:31:36 +00:00
Christopher Faylor 2becadeece * win32-nat.c (child_create_inferior): Honor 'tty' command. 2002-09-14 03:28:23 +00:00
Daniel Jacobowitz de17c821b3 * gdbtypes.c (check_stub_method): Make static.
(check_stub_method_group): New function.
        * gdbtypes.h: Update prototypes.
        * cp-support.c: New file.
        * cp-support.h: New file.

        * stabsread.c: Include "cp-abi.h" and "cp-support.h".
        (update_method_name_from_physname): New function.
        (read_member_functions): Correct method names for operators
        and v3 constructors/destructors.  Separate v2 constructors and
        destructors.
        * Makefile.in (stabsread.o): Update dependencies.
        (SFILES): Add cp-support.c.
        (COMMON_OBS): Add cp-support.o.
        (cp_support_h, cp-support.o): Add.

        * cp-valprint.c (cp_print_class_method): Call
        check_stub_method_group instead of check_stub_method.  Remove
        extraneous QUITs.
        * p-valprint.c (pascal_object_print_class_method): Likewise.
        * valops.c (search_struct_method): Likewise.
        (find_method_list, value_struct_elt_for_reference): Likewise.
2002-09-14 02:09:39 +00:00
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
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
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
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
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
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
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
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
Jeff Law da12f4d874 * infttrace.c (child_resume): Simplify and rework to avoid
TT_PROC_CONTINUE.
2002-09-10 17:34:05 +00:00
Corinna Vinschen ce3abcfb03 * gdb.base/default.exp: Fix expected string in `info float' test. 2002-09-10 07:03:18 +00:00
Fred Fish d0aee0c4b8 Reviewed and approved by Kevin Buettner <kevinb@redhat.com>
2002-09-09  Fred Fish  <fnf@intrinsity.com>
	* printcmd.c (print_scalar_formatted): "len" is the number of
	target bytes, NOT the number of target bits.
2002-09-10 02:04:38 +00:00
gdbadmin 7efc1f66f1 *** empty log message *** 2002-09-10 00:00:03 +00:00
Ben Elliston d1f5b980c3 * config/mips.exp: Update comments.
* config/mips-idt.exp: Likewise.
	* config/nind.exp: Likewise.
	* config/slite.exp: Likewise.
	* config/sparclet.exp: Likewise.
	* config/udi.exp: Likewise.
	* config/vx.exp: Likewise.
	* config/vxworks29k.exp: Likewise.
2002-09-09 21:21:35 +00:00