Commit Graph

9705 Commits

Author SHA1 Message Date
Andrew Cagney d7faa9e713 Always send the breakpoint table headers to ui-out. MI/CLI can
internally decide if they should be displayed.
2001-06-27 00:09:01 +00:00
gdbadmin 605121c0ec *** empty log message *** 2001-06-27 00:00:02 +00:00
Andrew Cagney 8eb6914741 delete reference to query output 2001-06-26 19:11:48 +00:00
Andrew Cagney dc61bc6d40 * mi-cmd-stack.c (list_args_or_locals): Output a list of "args" or
"locals" entries.
* gdbmi.texinfo (stack-list-locals, stack-list-arguments)
(exec-interrupt, target-select, thread-select): Update
documentation.
* mi-stack.exp: Update.  Output for args=... and
locals=... changed to a list.
2001-06-26 18:50:51 +00:00
Andrew Cagney d5e5643b98 * mi-cmd-stack.c (mi_cmd_stack_list_frames): Output a list of
"stack" entries.
(mi_cmd_stack_list_args): Ditto for "stack-args".
* gdbmi.texinfo (stack-list-frames, stack-list-arguments): Update
documentation.
(GDB/MI Stack Manipulation Commands): Fix section title.  Was
Stack Manipulation Commands in GDB/MI.
* mi-stack.exp: Update. Output for stack=..., args=... and
stack-args=... changed to a list.
2001-06-26 18:13:46 +00:00
Andrew Cagney 42a74a599a Unscramble two merged patches. This puts memory lists back to normal. 2001-06-26 05:12:37 +00:00
Andrew Cagney 68c81b5495 * stack.c (print_frame): For ui_out, output a list of arguments.
Update all tests.  Update doco.
2001-06-26 04:48:49 +00:00
Kevin Buettner 834091c8e9 Update paper trail entry. 2001-06-26 00:41:44 +00:00
Michael Snyder ef5cf84e21 2001-06-25 Michael Snyder <msnyder@redhat.com>
* infrun.c: Eliminate the "thread_step_needed" state variable,
	and replace it with a relatively simple test in resume.
	(resume): Replace thread_step_needed logic with a test for
	stepping, breakpoint_here_p and breakpoints_inserted.
	Move CANNOT_STEP_BREAKPOINT logic to after thread_step logic.
	(proceed): Discard thread_step_needed logic.
	(wait_for_inferior, fetch_inferior_event, handle_inferior_event):
	Discard thread_step_needed logic.
2001-06-26 00:26:42 +00:00
gdbadmin 36d4f36439 *** empty log message *** 2001-06-26 00:00:03 +00:00
Andrew Cagney 45399be4ec Update data-read-memory so that it outputs lists. 2001-06-25 21:05:11 +00:00
Andrew Cagney 80f43b40c5 For data-list-register-values output a list of register values. 2001-06-25 20:08:53 +00:00
Andrew Cagney 173d689456 Output register-names as a list. 2001-06-25 19:02:18 +00:00
Andrew Cagney 40d5d7e983 data-list-changed-registers outputs a list of registers. 2001-06-25 18:34:25 +00:00
gdbadmin d14c409db3 *** empty log message *** 2001-06-25 00:00:02 +00:00
Fernando Nasser cb90e81a8b 2001-06-24 Fernando Nasser <fnasser@redhat.com>
* remote-rdi.c (arm_rdi_wait): Fix return type in prototype.
	* rdi-share/host.h: Add missing parenthesis in conditional.

2001-06-22  J.T. Conklin  <jtc@redback.com>

	* configure.in: include nlist.h when checking for member som_addr
	in struct so_map.
	* configure: regenerate.
2001-06-24 13:46:09 +00:00
gdbadmin 78586f06cb *** empty log message *** 2001-06-24 00:00:02 +00:00
Andrew Cagney 2dd627049d Rename gdb.mi/ChangeLog-mi to gdb.mi/ChangeLog. Update everything. 2001-06-23 21:47:09 +00:00
Andrew Cagney 70242e8df5 Change mi/data-disassemble command output to a list ([]) instead of
({}).
2001-06-23 20:43:56 +00:00
Michael Chastain b4127474dc 2001-06-22 Michael Chastain <chastain@redhat.com>
* gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
	This is operationally compatible with the previous version.
2001-06-23 05:22:46 +00:00
gdbadmin 06ed0087a3 *** empty log message *** 2001-06-23 00:00:01 +00:00
J.T. Conklin 39812cebba * configure.in: include nlist.h when checking for member som_addr
in struct so_map.
* configure: regenerate.
2001-06-22 16:01:31 +00:00
gdbadmin 4772d57e2a *** empty log message *** 2001-06-22 00:00:02 +00:00
Keith Seitz 8d2139f30c * cli-out.c (cli_out_new): Initialize new structure member
"suppress_output".
2001-06-21 22:54:06 +00:00
Andrew Cagney 76fe6b98e8 * mi-out.c (struct ui_out_data): Replace field first_header with
suppress_output.
(mi_begin, mi_end): Check suppress_header.
(mi_field_int, mi_field_skip): Ditto.
(mi_field_string, mi_field_fmt): Ditto.
(mi_table_begin): When nr_rows is zero, set suppress_header else,
output the start of the header.
(mi_table_body): Clear suppress header.
2001-06-21 19:27:50 +00:00
Andrew Cagney a7c14aa534 Output ``[]'' when a list. 2001-06-21 16:15:20 +00:00
Andrew Cagney b25959ec59 * ui-out.h (ui_out_table_header): Add parameter ``col_name''.
(table_header_ftype): Ditto.
* cli-out.c (cli_table_header): Update.
* ui-out.c (ui_out_table_header): Update.
(uo_table_header): Update.
(default_table_header): Update.
(append_header_to_list): Update.
(struct ui_out_header): Add field ``col_name''.
(append_header_to_list): Use xstrdup.  Initialize col_name.
* breakpoint.c (breakpoint_1): Pass COL_NAME to
ui_out_table_header.
2001-06-21 15:39:54 +00:00
gdbadmin afe5040c4c *** empty log message *** 2001-06-21 00:00:05 +00:00
gdbadmin 1fe213d941 *** empty log message *** 2001-06-20 00:00:06 +00:00
Andrew Cagney 698384cd69 * cli-out.c: Include "gdb_assert.h'.
(struct ui_out_data): Add field ``suppress_output.
(cli_table_begin): When NR_ROWS is zero, suppress_output.
(cli_table_end): Clear suppress_output.
(cli_table_body): Check suppress_output.
(cli_table_header, cli_begin): Ditto.
(cli_end, cli_field_int, cli_field_skip): Ditto.
(cli_field_string, cli_field_fmt, cli_spaces): Ditto.
(cli_text, cli_message, cli_wrap_hint): Ditto.
* breakpoint.c (breakpoint_1): Close the ui_out table before
printing the breakpoint not found message.
2001-06-19 20:30:11 +00:00
Andrew Cagney d63f1d40c6 * ui-out.c (ui_out_table_begin): Add parameter ``nr_rows''.
(default_table_begin): Ditto.
* breakpoint.c (breakpoint_1): Pass nr_printable_breakpoints to
ui_out_table_begin.
Update everything.
2001-06-19 16:19:16 +00:00
gdbadmin 1c41510302 *** empty log message *** 2001-06-19 00:00:02 +00:00
Andrew Cagney 7f3b047364 * breakpoint.c (breakpoint_1): Restructure. Compute the
nr_printable_breakpoints.  Move the header output to before the
main print breakpoints loop.
(user_settable_breakpoint): New function.
2001-06-18 18:48:06 +00:00
Andrew Cagney b30bf9ee99 Recognize -i=mi0, -i=mi1 and -i=mi. 2001-06-18 17:57:43 +00:00
Andrew Cagney 83905903c9 * gdbarch.sh: Generate an error when conflicting macro
definitions.  Generate an error when both pure multi-arch and
"tm.h".
* gdbarch.h, gdbarch.c: Regenerate.
* defs.h (GDB_MULTI_ARCH_TM): Rewrite definition.
2001-06-18 13:14:40 +00:00
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