Commit Graph

1254 Commits

Author SHA1 Message Date
Jim Blandy 66b8c7f657 2006-03-07 Jim Blandy <jimb@red-bean.com>
* gdb.texinfo (Connecting): Document 'target remote pipe'.
2006-03-09 21:44:27 +00:00
Jim Blandy 1a10341b71 2006-03-07 Jim Blandy <jimb@red-bean.com>
* gdb.texinfo (Target Commands): Update text describing how to
	specify a target.  Refer to the detailed section on remote
	debugging, not the brief mention.
2006-03-09 21:42:31 +00:00
Jim Blandy 86941c2759 2006-03-07 Jim Blandy <jimb@red-bean.com>
* gdb.texinfo (Connecting): Organize the different 'target remote'
	connection methods into a table.  Add a 'target remote' index
	entry. (!!!)
2006-03-09 17:59:12 +00:00
Fred Fish 62f3a2ba52 2006-02-17 Fred Fish <fnf@specifix.com>
* gdb.texinfo (Symbols): Update descriptions of 'whatis' and
	'ptype' commands to reflect the fact that the only significant
	difference between them is that ptype prints the complete type
	description instead of just the name.
2006-02-18 20:45:01 +00:00
Wu Zhou 8b9a88ea4a * gdbint.texinfo (Watchpoints): Delete
TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT.
2006-02-13 08:34:11 +00:00
Nick Roberts 948d510224 (GDB/MI Breakpoint Table Commands): Add fullname and
times fields where needed.  Fix typos.  Update general form given
for output of -break-insert.
(GDB/MI): Abbreviate some unnecessarily long fullnames.
2006-02-10 03:54:33 +00:00
Nick Roberts 7e8dc85523 *** empty log message *** 2006-02-10 03:50:44 +00:00
Daniel Jacobowitz c91d38aa70 * gdbint.texinfo (Symbol Handling): Add a section
on memory management.
2006-02-06 22:14:31 +00:00
Daniel Jacobowitz 38fcd64c3a From Vladimir Prus <ghost@cs.msu.su>:
gdb/
	* breakpoint.c (print_one_breakpoint): For MI-like UI, output
	fullname field.
gdb/doc/
	* gdb.texinfo (Breakpoint table commands): Document the fullname
	field in -break-list output.
gdb/testsuite/
	* gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
	field.
2006-02-06 21:55:06 +00:00
Eli Zaretskii 219eec7184 * gdb.texinfo (Cygwin Native): Fix typos. Clarify the types of
debugging information produced by the various "set debug..."
	options.
2006-02-03 19:30:21 +00:00
Daniel Jacobowitz ae5a43e0c9 gdb/
* Makefile.in (gdbtypes_h, gdbtypes.o, utils.o): Update.
	* defs.h (hashtab_obstack_allocate, dummy_obstack_deallocate): Add
	prototypes.
	* dwarf2read.c (read_subroutine_type): Use TYPE_ZALLOC.
	(hashtab_obstack_allocate, dummy_obstack_deallocate): Moved to...
	* utils.c (hashtab_obstack_allocate, dummy_obstack_deallocate):
	...here.
	* gdbtypes.c: Include "hashtab.h".
	(build_gdbtypes): Remove extra prototype.
	(struct type_pair, type_pair_hash, type_pair_eq)
	(create_copied_types_hash, copy_type_recursive): New.
	* gdbtypes.h: Include "hashtab.h".
	(TYPE_ZALLOC): New.
	(create_copied_types_hash, copy_type_recursive): New prototypes.
	* objfiles.c (free_objfile): Call preserve_values.
	* symfile.c (reread_symbols): Likewise.
	(clear_symtab_users): Remove calls to clear_value_history and
	clear_internalvars.
	* value.c (clear_value_history, clear_internalvars): Removed.
	(preserve_one_value, preserve_values): New functions.
	* value.h (clear_value_history, clear_internalvars): Removed.
	(preserve_values): New prototype.

	* tracepoint.c (_initialize_tracepoint): Do not initialize convenience
	variables here.
gdb/doc/
	* gdb.texinfo (Files): Remove obsolete bits from the description
	of "symbol-file".
2006-02-01 23:14:11 +00:00
Jim Blandy a9f158ec20 2006-01-25 Jim Blandy <jimb@redhat.com>
* gdbint.texinfo (Testsuite): Explain how to run selected tests.
2006-01-25 21:15:42 +00:00
Jim Blandy 410dd08eb5 2006-01-24 Jim Blandy <jimb@redhat.com>
* gdbint.texinfo (Frames): Document the basics of GDB's register
	unwinding model, and explain the existence of the "sentinel" frame.
2006-01-25 18:48:57 +00:00
Andrew Stubbs 4b505b1269 2006-01-23 Andrew Stubbs <andrew.stubbs@st.com>
* cli/cli-cmds.c: Include fcntl.h.
	(source_command): Use the GDB search path to find script files.

doc/
	* gdb.texinfo (Choosing files): Mention that -directory is used
	for script files.
	(Specifying source directories): Likewise.
	(Command files): Explain how script files are found.
2006-01-23 16:28:37 +00:00
Eli Zaretskii 839c27b7cf (Backtrace): Describe how to get backtrace of all the threads in a
multi-threaded program.
(Threads): The threadno argument of "thread apply" can be a range of numbers.
2006-01-21 21:14:10 +00:00
Jim Blandy 7be93b9eea gdb/ChangeLog:
2006-01-18  Jim Blandy  <jimb@redhat.com>

	* configure.ac: Add -Wno-pointer-sign to list of build warnings.
	* configure: Regenerated.

gdb/doc/ChangeLog:
2006-01-18  Jim Blandy  <jimb@redhat.com>

	* gdbint.texinfo (Coding): Add entry for -Wno-pointer-sign to list
	of warning flags.
2006-01-20 21:58:16 +00:00
Eli Zaretskii ca91424e59 * gdb.texinfo (Define, Command Files): Document `end' and add index
entries for it.
2006-01-13 20:11:47 +00:00
Eli Zaretskii fcc73fe3a6 * gdb.texinfo (Sequences): Improve menu annotations.
(Define): Add index entries for arguments of user-defined
	commands.  Move the description of flow-control commands...
	(Command Files): ...to here.  Document loop_break and
	loop_continue.
2006-01-13 15:49:03 +00:00
Michael Snyder 5c95884b4c 2006-01-04 Michael Snyder <msnyder@redhat.com>
* gdb.texinfo: Add documentation for linux-fork.
	* gdbint.texinfo: Add internal documentation for checkpoints.
2006-01-04 19:31:27 +00:00
Paul N. Hilfinger 860701dc69 * gdb.texinfo (Omissions from Ada): Document that there is now
limited aggregate support.
2006-01-02 09:47:18 +00:00
Eli Zaretskii 36b80e652c * gdb.texinfo (Registers): Describe how to refer to SSE and MMX
registers and the likes.
2005-12-28 20:05:49 +00:00
Eli Zaretskii 359df76bbb (Memory Region Attributes): Fix usage of "etc." 2005-12-24 15:28:44 +00:00
Eli Zaretskii c1468174e7 * gdb.texinfo (Target Commands, Bug Reporting, File Options)
(Symbols): Fix usage of "e.g.".

	* gdbint.texinfo (libgdb, Symbol Handling, Native Debugging)
	(Coding): Fix usage of "e.g.".
2005-12-24 15:22:36 +00:00
Eli Zaretskii c02a867d91 * stabs.texinfo:
* refcard.tex:
	* gpl.texi:
	* gdbint.texinfo:
	* gdb.texinfo:
	* gdb-cfg.texi:
	* fdl.texi:
	* annotate.texinfo:
	* all-cfg.texi:
	* Makefile.in: Add (C) after Copyright.  Update the FSF
	address.
2005-12-23 19:26:17 +00:00
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