Commit Graph

1230 Commits

Author SHA1 Message Date
Eli Zaretskii fad38dfad4 * gdb.texinfo (Connecting): Explain that `monitor' is a way to
extend GDB with commands for external monitor.
2005-12-03 12:44:31 +00:00
Andrew Stubbs 53e5f3cf29 2005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
* value.c (init_if_undefined_command): New function.
	(_initialize_values): Add command init-if-undefined.
	* NEWS (Changes since GDB 6.3): Rename to 'Changes in GDB 6.4'.
	(Changes since GDB 6.4): New section.
	Mention new command init-if-undefined.

doc/
	* gdb.texinfo (Convenience variables): Add init-if-undefined command.
2005-12-02 11:44:19 +00:00
Joel Brobecker 55f6ca0f15 * gdbint.texinfo (Start of New Year Procedure): New chapter. 2005-11-26 00:04:38 +00:00
Jim Blandy c1947b85a5 2005-11-21 Jim Blandy <jimb@redhat.com>
* gdb.texinfo (Tracepoint Packets): Document restrictions on
	placement of 'R' actions in tracepoint action packets; document
	dependence of 'X' and 'M' actions on a preceding 'R' action for
	their registers.
2005-11-23 00:03:15 +00:00
Jim Blandy 9d29849ad8 gdb/doc/ChangeLog:
2005-11-19  Jim Blandy  <jimb@redhat.com>

	* gdb.texinfo (Tracepoint Packets): New node.
	(General Query Packets): Add entries for the tracepoint packets,
	referring to the "Tracepoint Packets" node.
	(Tracepoints): Add reference to "Tracepoint Packets".
2005-11-20 06:12:59 +00:00
Kevin Buettner 9a6253be92 * gdb.texinfo (set remotebreak): Add anchor.
(X packet): Likewise.
	(Remote Protocol): Add new section `Interrupts' and new index
	entry `interrupts (remote protocol)'.
2005-11-18 22:17:09 +00:00
Jim Blandy 5f3bebba9f * gdb.texinfo (Packets): Move information out of 'q' and 'Q'
entries into the General Query Packets section.  Add a
cross-reference to that section.  Drop description of replies, as
these are covered in the descriptions of each packet.
(General Query Packets): Add introductory text.  Explain naming
conventions, and how the end of a name is recognized.
2005-11-18 19:20:56 +00:00
Kevin Buettner 0564b6cfcd Fix ChangeLog typo from previous commit. 2005-11-17 19:12:26 +00:00
Kevin Buettner 9a7a1b3614 * gdb.texinfo (Remote Configuration): Fix typo in description of
"set remotebreak" command.
2005-11-17 19:08:38 +00:00
Jim Blandy b8ff78cefa gdb/doc/ChangeLog:
2005-11-16  Jim Blandy  <jimb@redhat.com>

	* gdb.texinfo (Packets, Stop Reply Packets)
	(General Query Packets): Various formatting cleanups.
	- Use @samp for packet contents.
	- Drop summaries from packet @item lines; the same information appears
	  immediately below in the description.
	- Delete paragraph breaks after packet @item commands, so that the
	  description appears directly to the right of the packet prototype
	  in the printed manual, if it fits.
	- Place spaces in packet prototypes between @vars and non-@var
	  letters, and explain that they're just for formatting.
	- Use @dots{} instead of '...'.
	- Fix uses of @code where @var was needed.
	- Replace "deprecated" markers with English text spelling out the
	  packet's status and the preferred alternatives.
	- Remove "(reserved)" markers on 'A' and 'I' packets; it's unclear
	  what this ever meant.
	- Remove "(draft)" markers on 'i' packets; nobody has commented on
	  this for a long time.
	- Remove "(draft)" markers on 'z' and 'Z' packets; these have been
	  implemented several times, and have been in use for years.
2005-11-16 10:34:33 +00:00
Jim Blandy c43c547375 2005-11-15 Jim Blandy <jimb@redhat.com>
* gdb.texinfo (Packets): Add index entries for 'm' packet
	disclaimers.
2005-11-16 06:24:52 +00:00
Jim Blandy fb031cdf9e * gdb.texinfo (Packets): Clarify lack of restrictions on behavior
of stub when processing an 'm' packet.
2005-11-15 19:58:30 +00:00
Jim Blandy 8ffe25303d * gdb.texinfo (Packets): Mention that packets beginning with
letters are reserved once, at the top, instead of actually listing
them all and saying "reserved".
2005-11-15 18:00:28 +00:00
Andrew Stubbs c03c782ff0 2005-11-15 Andrew Stubbs <andrew.stubbs@st.com>
* cli/cli-script.c: Include gdb_assert.h.
	(locate_arg): Detect $argc.
	(insert_args): Substitute $argc.
	* Makefile.in (cli-script.o): Add dependency on gdb_assert.h.

doc/
	* gdb.texinfo (User-defined commands): Add $argc. Add missing 'end'.
	Change @var{$arg0 to @code{$arg0.
2005-11-15 12:03:08 +00:00
Wu Zhou ff2587ec78 * gdb.texinfo: Correct a merge error introduced by -r 1.286. 2005-11-14 03:27:22 +00:00
Wu Zhou 814e32d720 * gdb.texinfo (Fortran): Add some words about Fortran debugging. 2005-11-14 02:34:43 +00:00
Jim Blandy fa93a9d8fc 2005-11-12 Jim Blandy <jimb@redhat.com>
* gdb.texinfo (General Query Packets): Put packets in alphabetical
	order.  Remove extraneous 'z'.
2005-11-12 23:09:46 +00:00
Andrew Stubbs 8a5a3c8298 2005-11-07 Andrew Stubbs <andrew.stubbs@st.com>
* main.c (captured_main): Define struct cmdarg. Change type of cmdarg.
	Add new options --eval-command and alias -ex.
	Adjust --command to use the new struct cmdarg.
	Execute commands given with --eval-command.
	(print_gdb_help): Add new options --eval-command, -ex and mention -x.

docs/

	* gdb.texinfo (Choosing files): Add --eval-command.
2005-11-07 13:56:48 +00:00
Andrew Stubbs 4b0ad76243 2005-11-04 Andrew Stubbs <andrew.stubbs@st.com>
* infrun.c (print_stop_reason): Set return_child_result_value on exit.
	* main.c (return_child_result): New variable.
	(return_child_result_value): Likewise.
	(captured_main): Add option --return-child-result.
	Replace call to target_detach and exit (in batch mode) with quit_force.
	(print_gdb_help): Add option --return-child-result.
	* top.c (quit_force): Return child result if appropriate.

docs/
	* gdb.texinfo (Choosing modes): Add --return-child-result.
2005-11-04 11:49:12 +00:00
Andrew Stubbs 1a088d065a 2005-11-01 Andrew Stubbs <andrew.stubbs@st.com>
* event-top.c (gdb_setup_readline): Don't set gdb_stdout when
	--batch-silent option was given.
	* main.c (batch_silent): New variable.
	(captured_main): Add new option --batch-silent.
	(print_gdb_help): Likewise.

doc/
	* gdb.texinfo (Choosing modes): Add --batch-silent.
2005-11-01 11:09:18 +00:00
Eli Zaretskii 656d5e120f * gdb.texinfo (GDB/MI Variable Objects): Fix @pxref usage under
"The -var-update Command".
2005-10-28 17:20:03 +00:00
Joel Brobecker 3c9c013acb * gdb.texinfo (Print Settings): Add documentation for set/show
print array-indexes.
2005-10-03 22:26:54 +00:00
Daniel Jacobowitz 7ba3cf9c85 * gdb.texinfo (Contributors): Thank Andrew Cagney for releases
6.2 and 6.3.
2005-09-18 03:28:18 +00:00
Eli Zaretskii ab1adacd8a (Variables, Symbols): Document the "<incomplete type>" message and
its reasons.
2005-08-27 12:51:30 +00:00
Eli Zaretskii a94ab19323 * main.c (print_gdb_help): Don't advertise the (long non-existent)
option --mapped.

	* gdb.texinfo (File Options): Don't document --mapped, it's gone
	since 19-Jan-2004.
	(Files): Likewise.
2005-08-27 12:05:01 +00:00
Fred Fish ca06016a0a Reviewed/approved by Daniel Jacobowitz <drow@false.org>
2005-08-01  Fred Fish  <fnf@specifix.com>
	* gdb.texinfo (SETUP_ARBITRARY_FRAME): Remove obsolete reference.
2005-08-01 18:31:28 +00:00
Nick Roberts 265eeb58f3 (GDB/MI Variable Objects): Describe print-values
option for -var-list-children and -var-update.
(GDB/MI Stack Manipulation): Simplify description of
print-values option for -stack-list-locals.
(GDB/MI Command Description Format): Clarify.
(Mode Options): Spelling of superseded.
2005-07-15 05:58:17 +00:00
Nick Roberts cf58170dae *** empty log message *** 2005-07-15 05:55:02 +00:00
Bob Rossi 38f1196a3d 2005-07-12 Bob Rossi <bob@brasko.net>
* gdb.texinfo (GDB/MI Miscellaneous Commands): Fix -inferior-tty-show
       corresponding GDB command comment.
2005-07-12 14:48:56 +00:00
Bob Rossi 3cb3b8dfd1 Index: gdb/ChangeLog
+2005-07-06  Bob Rossi  <bob@brasko.net>
+
+	* fork-child.c (fork-inferior): Use accessor function for
+	inferior_io_terminal.
+	* infcmd.c (inferior_io_terminal): Make static.
+	(set_inferior_io_terminal): New function.
+	(get_inferior_io_terminal): Ditto.
+	(tty_command): Use accessor function.
+	(_initialize_infcmd): Add inferior_tty setshow variable.
+	(_initialize_infcmd): Remove tty command.
+	(_initialize_infcmd): Add a tty command that is an alias.
+	* inferior.h (set_inferior_io_terminal): New prototype.
+	(get_inferior_io_terminal): Ditto.
+	(new_tty_prefork): Add const qualifier to parameter.
+	* inflow.c (inferior_thisrun_terminal): Add const qualifier.
+	(new_tty_prefork): Add const qualifier to parameter.
+	* nto-procfs (procfs_create_inferior): Use accessor function.
+	(procfs_create_inferior): Add const qualifier to locals.
+	* win32-nat.c (child_create_inferior): Ditto.
+	* mi/mi-cmd-env.c (mi_cmd_inferior_tty_set): New function.
+	(mi_cmd_inferior_tty_set): Ditto.
+	* mi/mi-cmds.c (mi_cmds): Add inferior-tty-set and inferior-tty-show
+	* mi/mi-cmds.h (mi_cmd_inferior_tty_set): Add prototype.
+	(mi_cmd_inferior_tty_show): Ditto.

Index: gdb/doc/ChangeLog
+2005-07-06  Bob Rossi  <bob@brasko.net>
+
+	* gdb.texinfo (GDB/MI Miscellaneous Commands): Add -inferior-tty-set
+	and -inferior-tty-show.
+	(Input/Output): Document "set/show inferior-tty" and tty alias.

Index: gdb/testsuite/ChangeLog
+2005-07-06  Bob Rossi  <bob@brasko.net>
+
+	* gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
+	command.
+	(Copyright): Update copyright.
2005-07-06 14:54:37 +00:00
Nathan J. Williams 10fac09652 * gdb.texinfo (Packets): Change description of 'D' packet to note
that GDB does wait for a response.
2005-07-02 15:39:48 +00:00
Nick Roberts d620b259fb (History) Rename "Command History".
(Command History): Move node "Server Prefix" from section on
Annotations here.
2005-06-22 06:20:00 +00:00
Nick Roberts d1b6db76f0 *** empty log message *** 2005-06-22 06:15:43 +00:00
Nick Roberts dcaaae044f (GDB/MI Stack Manipulation):
Re-instate -stack-info-frame with example.  Say that it gets
info on selected frame, not current frame.
2005-06-19 03:16:32 +00:00
Nick Roberts 29629dcf1e *** empty log message *** 2005-06-19 03:14:46 +00:00
Eli Zaretskii d416eeec97 (Backtrace): Document that free-standing environments do not need
to have a `main' function.
2005-06-18 13:12:04 +00:00
Eli Zaretskii 76d17f347a (Machine Code): Document possible problems with locations in
shared libraries.
2005-06-18 12:54:36 +00:00
Eli Zaretskii 59b7b46f98 (Files): Add more indexing for solib-absolute-prefix and --with-sysroot. 2005-06-18 12:40:48 +00:00
Eli Zaretskii fc8be69e5e (Files): Document the possibility of loading unlinked object files. 2005-06-18 12:36:06 +00:00
Eli Zaretskii 638ac427cd (Threads): Add an @cindex entry for "thread apply". 2005-06-18 12:18:25 +00:00
Eli Zaretskii 5127403546 (Output Formats): More detailed description of the `c' format.
(Memory): List explicitly all the formats supported by `x'.
2005-06-18 12:10:55 +00:00
Eli Zaretskii 397ca11534 (Server): Clarify that `file' should be used before connecting to the server.
(Files): Add an xref to the above description.
2005-06-18 11:39:36 +00:00
Nick Roberts 86f91582c3 (GDB/MI Stack Manipulation): Remove reference to
-stack-info-frame.
2005-06-18 03:01:48 +00:00
Nick Roberts 74f6deaacd *** empty log message *** 2005-06-18 02:51:55 +00:00
Andrew Cagney a9967aef6a 2005-06-07 Andrew Cagney <cagney@gnu.org>
* gdb.texinfo (Contributors): Note the original multi-arch
	contributors.
2005-06-07 15:32:38 +00:00
Eli Zaretskii e09f16f93f * gdb.texinfo (Registers): Add index entries for the standard
registers.
	(Frames): Add cross-reference from frame pointer description to
	the Registers node.
	(Annotations Overview): Fix the reference to GDB name.
2005-06-03 07:09:20 +00:00
Eli Zaretskii d87ba7eeda * gdb.texinfo (Set Watchpoints): Remove @vindex entry for
can-use-hw-watchpoints.
2005-06-01 20:38:44 +00:00
Bob Rossi 034dad6fa1 This is a cleanup change. It is the beggining of allowing GDB/MI to be
better understood (internally).
2005-05-29 03:13:19 +00:00
Andrew Cagney ffed450932 2005-05-26 Andrew Cagney <cagney@gnu.org>
* gdb.texinfo: Note that Elena Zannoni, Fernando Nasser, and
	Andrew Cagney implemented the original GDB/MI.
2005-05-26 19:28:23 +00:00
Orjan Friberg e22e55c92c 2005-05-23 Orjan Friberg <orjanf@axis.com>
* gdb.texinfo (CRIS): Update the cris-version and cris-dwarf2-cfi
	documentation.  Add documentation for cris-mode.
2005-05-23 10:41:33 +00:00