Commit Graph

9670 Commits

Author SHA1 Message Date
Andrew Cagney b85045e00b Clone the mi-*.exp tests into mi0-*.exp. 2001-06-18 12:55:07 +00:00
gdbadmin f6eb6cffba *** empty log message *** 2001-06-18 00:00:03 +00:00
Andrew Cagney c2202abf19 Solaris native is only multi-arch partial. 2001-06-17 16:57:28 +00:00
Fernando Nasser 0d70f41b68 2001-06-17 Fernando Nasser <fnasser@redhat.com>
From 2001-06-15  Eirik Fuller  <eirik@hackrat.com>
	* cli/cli-script.c (free_command_lines): Reset list pointer.
2001-06-17 15:16:12 +00:00
Eli Zaretskii cb51c4e04d * annotate.texi: Add @noindent where needed. From Dmitry
Sivachenko <dima@Chg.RU>.
	* gdb.texinfo: Indexing fix.  From Dmitry Sivachenko.
2001-06-17 07:00:34 +00:00
gdbadmin 9733f989bb *** empty log message *** 2001-06-17 00:00:02 +00:00
Andrew Cagney 7824d2f224 * arch-utils.c (init_frame_pc_default): New function
* arch-utils.h (init_frame_pc_default): Declare.
* gdbarch.sh (INIT_FRAME_PC): Default to init_frame_pc_default and
not init_frame_pc_noop.
* gdbarch.h, gdbarch.c: Re-generate.
* blockframe.c (INIT_FRAME_PC): Delete macro definition.
* mips-tdep.c (mips_gdbarch_init): Set init_frame_pc to
init_frame_pc_noop.
2001-06-16 20:00:24 +00:00
Andrew Cagney 1622c8f764 regenerate gdbarch.c. 2001-06-16 19:48:01 +00:00
Andrew Cagney 656db9b087 Fix typo. 2001-06-16 19:42:35 +00:00
Andrew Cagney 163e6d2d75 * gdbmi.texinfo (GDB/MI Output Syntax): Add tuples and lists to
syntax.
(GDB/MI Draft Changes to Output Syntax): Delete section.
2001-06-16 18:57:56 +00:00
gdbadmin a2e50ba75e *** empty log message *** 2001-06-16 00:00:01 +00:00
Andrew Cagney 01fb743397 Multi-arch CANNOT_FETCH_REGISTER() and CANNOT_STORE_REGISTER(). 2001-06-15 23:50:46 +00:00
Andrew Cagney 10312cc4d2 Multi-arch INIT_FRAME_PC() and INIT_FRAME_PC_FIRST(). 2001-06-15 23:10:55 +00:00
Michael Snyder dd80620e6b 2001-06-15 Michael Snyder <msnyder@redhat.com>
* infrun.c (context_switch): New function.  Abstract the operation
	of saving and restoring infrun's state when switching threads.
	(handle_inferior_event): Normalize the handling of the 'thread hop'
	event (when the wrong thread hits a thread-specific breakpoint,
	and we need to solo-step that thread past the breakpoint).
	Call keep_going, instead of target_resume.  Handle the subsequent
	singlestep-trap as a normal event instead of just resuming.
2001-06-15 22:44:20 +00:00
Andrew Cagney 875e176797 multi-arch ADDR_BITS_REMOVE. 2001-06-15 22:10:21 +00:00
Andrew Cagney 4009c67702 Recognise the s390 host and target. 2001-06-15 19:23:45 +00:00
Andrew Cagney d6dd581ead * gdbarch.sh (EXTRACT_STRUCT_VALUE_ADDRESS_P): Delete definition.
(EXTRACT_STRUCT_VALUE_ADDRESS): Change to a function with
predicate.
* gdbarch.h, gdbarch.c: Regenerate.
* values.c (value_being_returned): Change the reference to
EXTRACT_STRUCT_VALUE_ADDRESS_P to a function call.
2001-06-15 19:19:23 +00:00
Joel Brobecker 09843d7f0c Add Paul Hilfinger and Joel Brobecker to the Write After Approval list. 2001-06-15 15:43:05 +00:00
gdbadmin 3911a05ba9 *** empty log message *** 2001-06-15 00:00:03 +00:00
Andrew Cagney df2396a1a3 Fix doco on ``!'' and ``R'' packets. 2001-06-14 22:10:46 +00:00
Michael Snyder dc8acb9740 2001-06-14 Michael Snyder <msnyder@redhat.com>
* remote.c (show_remote_protocol_qSymbol_packet_cmd,
	set_remote_protocol_qSymbol_packet_cmd): New functions.
	(init_all_packet_configs, show_remote_cmd): Add qSymbol packet.
	(remote_check_symbols): New function.  Implement qSymbol packet,
	allowing target to request symbol lookup service from gdb.
	(remote_open_1, remote_async_open_1): Call remote_check_symbols,
	allowing symbol lookup from exec_bfd on connection to target.
	(remote_new_objfile): New function.  Catch new objfile notifications
	from shared library module, and call remote_check_symbols.
	(_initialize_remote): Hook remote_new_objfile into the shared
	library notification chain.  Add "set remote symbol-lookup" command.
2001-06-14 19:27:45 +00:00
Michael Snyder 0f1f2b0a26 2001-06-13 Michael Snyder <msnyder@redhat.com>
* gdb.texinfo (Protocol): Add doc for new packet "qSymbol:".
2001-06-14 19:17:00 +00:00
Keith Seitz 578c1fe6f0 * tracepoint.c (trace_command): We now have tracepoint
events. Get rid of those ugly hooks.
	(tracepoint_operation): Likewise.
	(trace_pass_command): Likewise.
2001-06-14 17:09:36 +00:00
Jim Blandy 8dbfb380f7 * lib/gdb.exp (gdb_test): Doc fix. 2001-06-14 00:12:32 +00:00
gdbadmin 3cf44cbedd *** empty log message *** 2001-06-14 00:00:02 +00:00
Michael Snyder 6c0d3f6a03 2001-06-13 Michael Snyder <msnyder@redhat.com>
* gdbthread.h (struct thread_info): Add new fields:
        current_line, current_symtab, step_sp, for saved infrun state.
        * thread.c (save_infrun_state, load_infrun_state): Save and
        restore current_line, current_symtab, and step_sp.
        (add_thread): Rather than adding assignments to initialize
	the new fields, just use memset (tp, 0, sizeof (*tp).
	This way future new fields will not be overlooked.
        * infrun.c (handle_inferior_event): Save and restore save_sp,
        current_line, and current_symtab when switching threads.
2001-06-13 22:56:16 +00:00
Elena Zannoni 16075aced5 2001-06-13 Elena Zannoni <ezannoni@redhat.com>
* MAINTAINERS: Add Andrew Cagney as co-maintainer of
       testsuite/gdb.mi.
2001-06-13 21:00:39 +00:00
Andrew Cagney 31889e007b s/basename/lbasename/ clean up consequences of assuming lbasename()
returns const char *.
2001-06-13 18:30:07 +00:00
Eli Zaretskii 4ac40b292f * config/i386/xm-go32.h (SLASH_P, ROOTED_P, SLASH_CHAR)
(SLASH_STRING): Remove unised definitions.
	* config/i386/xm-cygwin.h: Likewise.
2001-06-13 09:08:05 +00:00
Eli Zaretskii 24f931295e * gdb.texinfo (Signals): Clarify the default setting of signal
handling.
2001-06-13 08:40:23 +00:00
gdbadmin 60283d93d6 *** empty log message *** 2001-06-13 00:00:02 +00:00
Daniel Berlin dbcd315aee Remove self 2001-06-12 17:44:33 +00:00
Andrew Cagney 6b28c1868d * ui-out.c (ui_out_list_begin): Add parameter ``id''.
(make_cleanup_ui_out_list_begin_end): Ditto.  Open the list.
* ui-out.h: Update declarations.
2001-06-12 16:44:36 +00:00
Andrew Cagney 1f8cc6dbc0 s/char */const char */ 2001-06-12 15:03:04 +00:00
gdbadmin a9e171c15c *** empty log message *** 2001-06-12 00:00:04 +00:00
Andrew Cagney 59807497db s/supress/suppress/ 2001-06-11 21:54:04 +00:00
Andrew Cagney 88379bafe5 s/char */const char */ 2001-06-11 16:34:47 +00:00
Michael Chastain f2d8c86d38 2001-06-10 Michael Chastain <chastain@redhat.com>
* gdb.base/exprs.exp: Remove a duplicate test.
2001-06-11 16:06:46 +00:00
Eli Zaretskii c94fdfd0a8 * completer.c (gdb_completer_loc_break_characters): New variable.
(line_completion_function): If we are completing on locations,
	back up the start of word pointer past all characters which can
	appear in a location spec.
	(location_completer): New function.

	* completer.h: Add prototype for location_completer.

	* symtab.c (make_source_files_completion_list)
	(add_filename_to_list, not_interesting_fname): New functions.
	(filename_seen): New function, body extracted from
	output_source_filename.
	(output_source_filename): Call filename_seen to check if the file
	was already printed.
	(make_symbol_completion_list): If TEXT includes a
	double-quoted string, return an empty list, not NULL.
	(make_file_symbol_completion_list): New function, similar to
	make_symbol_completion_list but with an additional argument
	SRCFILE.

	* symtab.h (make_file_symbol_completion_list)
	(make_source_files_completion_list): Add prototypes.

	* breakpoint.c (_initialize_breakpoint): Make location_completer
	be the completion function for all commands which set breakpoints
	and watchpoints.
	(top-level): #include "completer.h".

	* tracepoint.c (_initialize_tracepoint): Make location_completer
	be the completion function for the "trace" command.
	(top-level): #include "completer.h".

	* printcmd.c (_initialize_printcmd): Make location_completer be
	the completion function for the "print", "inspect", "call", and
	"disassemble" commands.
	(top-level): #include "completer.h".

	* infcmd.c (_initialize_infcmd): Make location_completer be the
	completion function for the "go", "jump", and "until" commands.
	(top-level): #include "completer.h".
2001-06-11 16:05:25 +00:00
gdbadmin 4e67fe297f *** empty log message *** 2001-06-11 00:00:02 +00:00
Christopher Faylor 67bfdb8913 Remove trailing garbage from previous checkin. 2001-06-10 16:29:03 +00:00
Christopher Faylor 0b6a968ee6 * gnu-regex.c: Eliminate obsolete check for _MSC_VER.
* utils.c (notice_quit): Remove dummy function only used for _MSC_VER.
* values.c (unpack_double): Remove obsolete check for _MSC_VER.
* defs.h: Ditto.
* m32r-rom.c: Ditto.
* p-exp.y: Ditto.
* ser-e7kpc.c: Ditto.  Define WIN32_LEAN_AND_MEAN under _WIN32, for faster
compilation.
(get_ds_base): Remove _MSC_VER version of this function.
* nindy-share/ttyflush.c: Ditto.  X
* rdi-share/host.h: Ditto.  X
* ser-go32.c (dos_readchar): Remove call to obsolete function.
* remote-sim.c (gdb_os_poll_quit): Ditto.
* remote-e7000.c (expect): Remove obsolete #if 0'ed code.
* main.c (captured_main): Eliminate special Cygwin checks.
* ser-tcp.c: Remove unneeded __CYGWIN__ guard against system include.
2001-06-10 16:25:51 +00:00
Andrew Cagney c42644305e Oops (again), missed a comment. 2001-06-10 01:20:21 +00:00
Andrew Cagney d5e8ba6212 Move supress_field_separator logic into mi_open() and mi_close(). 2001-06-10 01:16:14 +00:00
Andrew Cagney 5e173cfd82 Oops. Clean up changelog entry. 2001-06-10 00:56:06 +00:00
Andrew Cagney bf5efbaba6 Add missing $(ui_out_h) dependencies. 2001-06-10 00:47:02 +00:00
Andrew Cagney e2e11a4195 Make char *, const char *. 2001-06-10 00:22:41 +00:00
gdbadmin f38fc537cb *** empty log message *** 2001-06-10 00:00:04 +00:00
Michael Snyder 2e66352450 2001-06-08 Michael Snyder <msnyder@redhat.com>
* breakpoint.c (delete_breakpoint): Pass mark_inserted to
        remove_breakpoint, so that the subsequent test for
        bpt->inserted will succeed, and duplicates will be fixed up.
2001-06-09 01:55:43 +00:00
gdbadmin c49cf2cdb9 *** empty log message *** 2001-06-09 00:00:03 +00:00