Commit Graph

12525 Commits

Author SHA1 Message Date
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
Elena Zannoni
7cb3ec5e73 2002-09-09 Elena Zannoni <ezannoni@redhat.com>
From: Emmanuel Thome'  <thome@lix.polytechnique.fr>
	* top.c (init_main): Set rl_terminal_name.
2002-09-09 21:03:26 +00:00
gdbadmin
931503dcfd *** empty log message *** 2002-09-09 00:00:02 +00:00
Aidan Skinner
4dc8198746 * ada-lang.c (ada_array_bound, ada_type_match,
_initialize_ada_language): Fix K&R definitions.
	* ada-tasks.c (get_current_task): Fix K&R definitions.
	* ada-valprint.c (adjust_type_signedness): Fix K&R definitions.
2002-09-08 17:44:22 +00:00
gdbadmin
9ba857e0ad *** empty log message *** 2002-09-08 00:00:02 +00:00
Christopher Faylor
842330b4f8 * MAINTAINERS: Remove CE from list of maintainership responsibilities. Add XP. 2002-09-07 15:22:00 +00:00
gdbadmin
d7d47bf98e *** empty log message *** 2002-09-07 00:00:32 +00:00
Mark Kettenis
66da5fd837 * i386-tdep.c (i386_register_virtual_type,
i386_register_convertible, i386_register_convert_to_virtual,
i386_register_comvert_to_raw): Use FP_REGNUM_P and SSE_REGNUM_P
instead of IS_FP_REGNUM and IS_SSE_REGNUM.
(i386_gdbarch_init): Fix comment.  Add comments on calls that set
sp_regnum, fp_regnum, pc_regnum, ps_regnum and fp0_regnum.
Don't set push_arguments twice.
2002-09-06 21:28:18 +00:00
Mark Kettenis
4b218c1874 * i386bsd-tdep.c (i386bsd_init_abi): Set sigtramp_start and
sigtramp_end to i386bsd_sigtramp_start and i386bsd_sigtramp_end.
* i386nbsd-tdep.c (i386nbsd_init_abi): Set sigtramp_start and
sigtramp_end to NULL.
* config/i386/tm-fbsd.h (SIGTRAMP_START, SIGTRAMP_END): Remove
defines.
(i386bsd_sigtramp_start, i386_sigtramp_end): Remove prototypes.
2002-09-06 20:44:23 +00:00
Mark Kettenis
4cc314d5b9 * i386nbsd-tdep.c (i386nbsd_pc_in_sigtramp): Remove spurious
whitespace.
2002-09-06 20:28:57 +00:00
Mark Kettenis
43156d82f1 * gdbarch.sh (SIGTRAMP_START, SIGTRAMP_END): New methods.
* gdbarch.h, gdbarch.c: Re-generate.
* blockframe.c (find_pc_sect_partial_function): Convert to use
SIGTRAMP_START_P predicate.
2002-09-06 20:17:40 +00:00
gdbadmin
3646839cfb *** empty log message *** 2002-09-06 00:00:02 +00:00
Jim Blandy
2f71430b46 * gdb.threads/killed.exp: Fix test failure message. 2002-09-05 19:45:11 +00:00
Michael Snyder
95f959112a 2002-09-05 Michael Snyder <msnyder@redhat.com>
* arm-tdep.c (arm_extract_return_value): Use new regcache method.
2002-09-05 19:05:59 +00:00
Michael Snyder
a90c3637c9 2002-09-05 Michael Snyder <msnyder@redhat.com>
* arm-tdep.c (arm_init_extra_frame_info): Distinguish between
	generic_dummy_frame method and old method.  Also distinguish
	between ARM_FP_REGNUM and THUMB_FP_REGNUM.
2002-09-05 19:03:07 +00:00
Michael Snyder
6672060b18 2002-09-05 Michael Snyder <msnyder@redhat.com>
* mips-tdep.c (mips_n32n64_push_arguments): Remove alignment
	adjustment that doesn't conform to the ABI.
	(mips_extract_struct_value_address): Retrieve V0_REGNUM from
	saved regcache, not from current regcache.
2002-09-05 18:31:07 +00:00
Andrew Cagney
299ffc6418 2002-09-05 Andrew Cagney <ac131313@redhat.com>
* NEWS: Update for 5.3.  Add new section ``Changes since 5.3''.
	* README: Update.

Index: doc/ChangeLog
2002-09-05  Andrew Cagney  <ac131313@redhat.com>

	* gdb.texinfo (Contributors): Mention 5.2 and 5.3 release
	engineer.
2002-09-05 12:13:08 +00:00
Andrew Cagney
2bc7eea930 Mention that 5.3 branch was created (note, this was an insert). 2002-09-05 11:52:31 +00:00
Michael Snyder
c651001893 2002-08-26 Michael Snyder <msnyder@redhat.com>
* breakpoint.c (insert_breakpoints): Protect all references
	to 'process_warning'.  Shorten long lines.
2002-09-05 01:28:14 +00:00
gdbadmin
6c924eca89 *** empty log message *** 2002-09-05 00:00:02 +00:00
Keith Seitz
7ddebc7e56 * lib/mi-support.exp: Update copyright.
(mi_gdb_test): Increase the priority of the expected pattern
        so that it matches gdb_test.
2002-09-04 21:05:07 +00:00
Jason Thorpe
a3a2ee652b * arm-tdep.c (arm_addr_bits_remove): Don't check for Thumb mode
if arm_apcs_32 is false.
2002-09-04 17:52:38 +00:00
gdbadmin
74a7ea521f *** empty log message *** 2002-09-04 00:00:02 +00:00
Keith Seitz
0ae67eb394 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
Use integer comparison instead of string comparison for testing
        whether binary was built.
2002-09-03 22:29:14 +00:00
Theodore A. Roth
8a55a7c51f * gdb/avr-tdep.c (avr_gdbarch_init): Use generic_unwind_get_saved_register. 2002-09-03 21:42:13 +00:00
Stephane Carrez
8cee930b67 * tuiIO.c (tui_putc): New function to print one character.
(printable_part): New function from readline/complete.c.
	(PUTX): New macro, likewise.
	(print_filename): New function, likewise.
	(get_y_or_n): New function, likewise and adapted for TUI.
	(tui_rl_display_match_list): New function from readline/complete.c
	and writes on TUI command window.
	(tui_setup_io): Install or remove the readline hook
	rl_completion_display_matches_hook so that completion is written
	directly in TUI command window instead of in the TUI pipe.
	(tui_initialize_io): Use #ifdef TUI_USE_PIPE_FOR_READLINE for the
	TUI redirection pipe.
	(tui_getc): Likewise for call to tui_readline_output.
	(tui_readline_output): Likewise for function.
	* tui.c (tui_rl_startup_hook): Always take care of gdb prompt.
2002-09-03 20:47:48 +00:00
Jim Blandy
38fc42c80d * gdb.threads/killed.exp, gdb.threads/killed.c: New test. 2002-09-03 20:02:48 +00:00
David Carlton
e26fb1d7e5 2002-09-03 David Carlton <carlton@math.stanford.edu>
* dwarf2read.c (dwarf2_add_member_fn): Add the 'type'
	argument (PR gdb/653).  Update call to smash_to_method_type.
	(read_structure_scope): Update call to dwarf2_add_member_fn.
2002-09-03 17:32:11 +00:00