Commit Graph

12513 Commits

Author SHA1 Message Date
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
Keith Seitz d26bd0178a * gdb680.exp: New file to test to check for uiout list/tuple
nesting bug.
2002-09-03 16:37:00 +00:00
Michal Ludvig 30d524915d 2002-09-03 Michal Ludvig <mludvig@suse.cz>
* x86-64-linux-tdep.c: Include gdb_string.h
	* x86-64-linux-nat.c: Ditto.
2002-09-03 13:06:33 +00:00
Jason Thorpe 06891d8342 * ada-exp.y (yyname, yyrule): Remap global variables that appear
when YYDEBUG is set to 1.
* c-exp.y: Likewise.
* f-exp.y: Likewise.
* jv-exp.y: Likewise.
* m2-exp.y: Likewise.
* p-exp.y: Likewise.
2002-09-03 02:45:56 +00:00
gdbadmin 227a300fcc *** empty log message *** 2002-09-03 00:00:02 +00:00
Stephane Carrez 770c90cdb5 * tuiWin.c (_newHeightOk): Fix compilation warnings. 2002-09-02 19:34:18 +00:00
Stephane Carrez b7bb15bc12 * gdb.texinfo (TUI Overview): Document status line fields. 2002-09-02 19:09:30 +00:00
Stephane Carrez 3d757584d0 * gdb.texinfo (TUI Commands): Document info win command. 2002-09-02 18:54:12 +00:00
Jason Thorpe 7d400e7763 * Makefile.in (i386nbsd-tdep.o): Add $(solib_svr4_h) to
dependency list.
* i386nbsd-tdep.c (i386nbsdelf_init_abi): Set
solib_svr4_fetch_link_map_offsets to
nbsd_ilp32_solib_svr4_fetch_link_map_offsets.
* config/i386/nbsd.mt (TDEPFILES): Add solib.o and solib-svr4.o.
* config/i386/nbsdaout.mh (NATDEPFILES): Remove solib.o.
* config/i386/nbsdelf.mh (NATDEPFILES): Remove solib.o,
solib-svr4.o, and solib-legacy.o.
* config/i386/tm-nbsd.h: Include solib.h.
2002-09-02 18:09:07 +00:00
Jason Thorpe 704a27c461 * configure.tgt (i[3456]86-*-netbsdelf*): Merge with...
(i[3456]86-*-netbsd*): ...this.  Set gdb_target to nbsd.
(i[3456]86-*-openbsd*): Make this a separate entry.  Add a
comment noting that this needs its own target configuration.
* config/i386/nbsd.mt: New file.
* config/i386/nbsdaout.mt: Remove.
* config/i386/nbsdelf.mt: Ditto.
* config/i386/tm-nbsdaout.h: Ditto.
2002-09-02 17:24:51 +00:00
Jason Thorpe d66198e1a7 * i386nbsd-tdep.c (i386nbsd_sigtramp_offset): New function.
(i386nbsd_pc_in_sigtramp): Rewrite to use i386nbsd_sigtramp_offset.
(i386nbsd_init_abi): Don't initialize tdep->sigtramp_start or
tdep->sigtramp_end.
(i386nbsd_sigtramp_start, i386nbsd_sigtramp_end): Remove.
* config/i386/tm-nbsd.h (SIGTRAMP_START, SIGTRAMP_END)
(i386bsd_sigtramp_start, i386bsd_sigtramp_end): Remove.
2002-09-02 16:35:14 +00:00
gdbadmin eb9dca9498 *** empty log message *** 2002-09-02 00:00:32 +00:00
Jason Thorpe 3cac699e88 * Makefile.in (i386nbsd-tdep.o): Add $(arch_utils_h),
$(i386_tdep_h), and nbsd-tdep.h to dependency list.
* i386-tdep.h (i386bsd_init_abi): New prototype.
* i386bsd-tdep.c (i386bsd_init_abi): Remove "static" from
function declaration.
(_initialize_i386bsd_tdep): Don't register OS ABI handlers
for NetBSD-a.out or NetBSD-ELF.
(i386nbsd_sigtramp_start, i386nbsd_sigtramp_end)
(i386nbsd_sc_pc_offset, i386nbsd_sc_sp_offset)
(i386nbsd_init_abi, i386nbsdelf_init_abi): Move to...
* i386nbsd-tdep.c: ...here.  Include arch-utils.h, i386-tdep.h,
and nbsd-tdep.h.
(i386nbsd_pc_in_sigtramp): New function.
(i386nbsd_init_abi): Set gdbarch_pc_in_sigtramp to
i386nbsd_pc_in_sigtramp.
(_initialize_i386nbsd_tdep): Register i386nbsd_init_abi
and i386nbsdelf_init_abi OS ABI handlers.
* config/i386/nbsdaout.mt (TDEPFILES): Add nbsd-tdep.o.
* config/i386/nbsdelf.mt (TDEPFILES): Likewise.
2002-09-01 23:24:19 +00:00