Commit graph

492 commits

Author SHA1 Message Date
Eli Zaretskii
eb2dae0870 * gdb.texinfo (Numbers): Explain the example and make the wording
more acurate.
2005-05-20 14:58:38 +00:00
Daniel Jacobowitz
76ff342d25 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
Dennis Brueni  <dennis@slickedit.com>

gdb/
	* stack.c (print_frame): In MI mode, output a fullname attribute
	with the stack frame.
gdb/doc/
	* gdb.texinfo (GDB/MI Breakpoint Table Commands)
	(GDB/MI Data Manipulation, GDB/MI Program Control)
	(GDB/MI Stack Manipulation): Update examples to include the fullname
	attribute in stack frames.
gdb/testsuite/
	* gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
	gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
	gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
	gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
	gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
	gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
	* lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
2005-05-18 03:41:59 +00:00
Eli Zaretskii
119b882a3d * gdb.texinfo (Startup): Fix last change. Treat gdb.ini like we
do with other non-standard names of init files.
2005-05-12 09:05:45 +00:00
Eli Zaretskii
6fc08d328b * gdb.texinfo (Command Files): Move the description of the startup
from here...
	(Startup): ...to this new subsection of the Invocation chapter.
	Rearrange the description of init files more logically and add a
	cross-reference to "Command Files".  Document the special gdbinit
	name for CISCO 68k.  Expand the description of what GDB does
	during startup.
	(History): Add index entry for HISTSIZE.
2005-05-11 15:47:49 +00:00
Mark Kettenis
a561754a23 * gdb.texinfo (Files): Remove documentation for auto-solib-limit. 2005-05-02 20:42:27 +00:00
Eli Zaretskii
514c4d7110 * gdb.texinfo (SVR4 Process Information, The isatty call)
(The system call): Don't use foo(N) notation for man pages and
	functions.
	(Compilation, DJGPP Native): Improve wording.
2005-05-02 20:28:48 +00:00
Eli Zaretskii
2eecc4abe2 (SVR4 Process Information, The isatty call, The system call): Don't use the
foo(N) notation for man pages and functions.
2005-05-01 21:27:44 +00:00
Eli Zaretskii
18999be528 * gdb.texinfo (Backtrace): Describe backtraces with arguments that
were optimized away.
2005-04-27 13:02:15 +00:00
Eli Zaretskii
0abb7bc72f * gdb.texinfo (Remote configuration): Document "set/show
get-thread-local-storage-address".  Add cross-reference to the
	description of the qGetTLSAddr packet.
	(General Query Packets): Mention "set remote
	get-thread-local-storage-address" and add a reference to its
	description.
2005-04-22 13:09:30 +00:00
Nick Roberts
0f061b69fb (Backtrace): Describe 'bt full'. 2005-04-18 13:30:11 +00:00
Nick Roberts
6b5e8c0119 (Mode Options): Fix typo.
(GDB/MI): Describe how to invoke GDB/MI.
2005-04-16 20:56:20 +00:00
Eli Zaretskii
c45da7e67c (Debugging Output): Document "set/show debug
solib-frv".  Fix "set/show debugvarobj".
	(Set Breaks): Add index entry for "hardware breakpoints".
	(Renesas ICE): Document "e7000", "ftplogin", "ftpload", "drain",
	and "set/show usehardbreakpoints".
	(MIPS Embedded): Document "se/show syn-garbage-limit", "set/show
	monitor-prompt", "set/show monitor-warnings", "pmon".
	(ARM): Document "rdilogfile", "rdilogenable", "set/show
	rdiromatzero", "set/show rdiheartbeat".
	(PowerPC): Document SDS-specific commands "set/show sdstimeout",
	"sds".
	(Embedded Processors): Document the "sim" command.
	(Remote): Document the "remote" command.
	(DJGPP Native): Document the "info serial" command.
	(Threads): Document "maint info sol-threads".
	(Files): Document "nosharedlibrary", "add-symbol-file-from-memory".
	(Set Breaks): Improve indexing.
	(Command Syntax): Add a reference to dont-repeat.
	(Define): Document "dont-repeat".
	(TUI Commands): Document "tabset".
	(WinCE): New subsection.  Document "set/show remotedirectory",
	"set/show remoteupload", "set/show remoteaddhost".
2005-04-16 14:27:50 +00:00
Eli Zaretskii
ba04e06340 (M32R/D): Document "sdireset", "sdistatus", "debug_chaos",
"use_debug_dma",
	"use_mon_code", "use_ib_break", "use_dbt_break".
	(Debugging Output): Improve wording.
	(Set Breaks): Add index entry for "hardware breakpoints".
	(Renesas ICE): Document "e7000", "ftplogin", "ftpload", "drain",
	and "set/show usehardbreakpoints".
	(MIPS Embedded): Document "se/show syn-garbage-limit", "set/show
	monitor-prompt", "set/show monitor-warnings", "pmon".
2005-04-16 12:03:31 +00:00
Eli Zaretskii
721c265195 * gdb.texinfo (OS Information): Renamed from Auxiliary Vector; all
references changed.  Add descriptgion of "info udot".
	(Files): Document "set/show stop-on-solib-events".
	(M32R/D): Document "set/show download-path", "set/show
	board-address", "set/show server-address", "upload", "tload".
	(Maintenance Commands): Improve indexing.
	(Target Commands): Document "set/show hash", "set/show debug
	monitor".
	(SVR4 Process Information): Document "info pidlist" and "info
	meminfo".  Document "set/show procfs-tarce" and "set/show
	procfs-file".  Document "proc-trace-*" and "proc-untrace-*".
	(Symbols, The Print Command with Objective-C): Improve indexing.
	(Objective-C): Add references to "info classes" and "info
	selectors".
	(Debugging Output): Improve wording.
2005-04-16 08:44:34 +00:00
Eli Zaretskii
a64548eaba (MIPS): Improve documentation of heuristic-fence-post. Document
"set/show mips abi", "set/show mips saved-gpreg-size", "set/show
	mips stack-arg-size", "set/show mips mask-address", "set/show mips
	remote-mips64-transfers-32bit-regs", "set/show debug mips".
	(ARM): Document ARM-specific commands.
	(AVR): New section.  Document "info io_registers".
	(CRIS): New section.  Document "set/show cris-version" and
	"set/show cris-dwarf2-cfi".
	(HPPA): New section.  Document "set/show debug hppa" and "maint
	print unwind".
	(Netrino): New subsection.  Document "set/show debug nto-debug".
	(Super-H): New section.  Document the "regs" command.
2005-04-15 16:43:54 +00:00
Eli Zaretskii
e2f4edfd00 * gdb.texinfo (ARM): Document ARM-specific commands. 2005-04-15 12:37:57 +00:00
Eli Zaretskii
da316a69fe *gdb.texinfo (Debugging Output): Document "set/show debug lin-lwp". 2005-04-15 12:09:49 +00:00
Eli Zaretskii
14d6dd6880 * gdb.texinfo (Hurd Native): New subsection, documents
Hurd-specific commands.
2005-04-15 11:53:52 +00:00
Eli Zaretskii
9c16f35ad5 * gdb.texinfo (Print Settings): Document "set/show print
pascal_static-members", "set print repeats", "show print
	null-stop".  Improve indexing.  Fix documentation of "set print
	union".
	(Pascal): New section.
	(Supported languages): Rename from "Support"; all references
	updated.  Add a menu item for Pascal.
	(Numbers): Document "set radix.
	(Screen Size): Document "set/show pagination".
	(MIPS Embedded): Remove "set processor" documentation.
	(Remote configuration): Document "set/show X/P/Z-packet",
	"set/show read-aux-vector-packet", "set/show remote
	symbol-lookup-packet", "set/show remote verbose-resume-packet",
	"set/show remoteaddresssize", "set/show remotebaud", "set/show
	remotedebug", "set/show remotebreak", "set/show remotedevice",
	"set/show remotelogfile".
	(Auxiliary Vector): Add reference to the description of the
	read-aux-vector-packet setting.
	(Set Watchpoints): Add a cross-reference to "set remote
	hardware-breakpoint-limit".
	(General Query Packets): Add indexing of requests and
	cross-references to related commands in "Remote configuration".
	(File-I/O Overview, The system call): Fix wording and typos.
	(Thread Stops): Add index entries.
	(Continuing and Stepping): Document "show step-mode".
	(i386): New node.  Document "set/show struct-convention".
	(Files): Document "show trust-readonly-sections".
	(Calling): Document "set/show unwindonsignal".
	(Messages/Warnings): Add index entries.
	(Maintenance Commands): Document "set/show watchdog".
	(Annotations Overview): Document "show annotate".
	(Set Watchpoints): Add index entries.
	(Symbols): Fix doc of case-sensitive.
	(ABI): Document "show coerce-float-to-double".
	(Convenience Vars, Help): Improve indexing.
	(Machine Code): Document "show disassembly-flavor".
	(Debugging C plus plus): Document "show overload-resolution".
	(Value History, Signaling): Add index entries.

	* gdb.texinfo (Show): Move @kindex entries to their proper places.
	(Processes): Fix wording.
	(History, List, Logging output, Define, Symbols, Print Settings):
	Improve indexing.
2005-04-09 15:37:20 +00:00
Eli Zaretskii
a8f24a3552 (Targets): Document "set/show architecture". Remove
redundant index entry for "target" command.
	(Backtrace): Add index entries.
	(Symbols, Fortran): Document the "set case-sensitive" command.
	(DJGPP Native): Document "set com1base", "set com1irq", etc.
	(Print Settings): Add index entry for "set demangle-style".
	(Target Commands): Document "set download-write-size".
	(Debugging Output): Document "set exec-done-display".
2005-04-02 22:24:18 +00:00
Eli Zaretskii
09d4efe17b (Files): Fix the name and documentation of
add-shared-symbol-files.  Document its alias assf.  Update the
	list of OSs where GDB supports shared libraries.  Fix markup.
	(Continuing and Stepping): Add reference to @var{location} in the
	text.
	(Dump/Restore Files): Fix reference to @{filename}.
	(Help): Fix wording.
	(Attach): Ditto.
	(Set Watchpoints): Ditto.
	(Backtrace): Remove redundant index entries.  Improve index
	entries.
	(Delete Breaks): Fix wording.
	(Memory): Document the compare-sections command.
	(Memory Region Attributes): Improve wording.
	(Disabling): Improve wording.
	(Fortran): New subsection.  Document the "info common" command.
	(Help): Document aliases "info copying" and "info warranty".
	(Caching Remote Data): New section.  Document the "set/show
	remotecache" and "info dcache" commands.
	(Show): Fix wording of the documentation of the "set
	extension-language" command.
	(Signals): Add index entry for "info handle".
	(Memory Region Attributes): Fix punctuation.
	(Symbols): Change the arg name to "location" and refer to it in
	the text.  Fix wording of "info types" doc.
	(Threads): Fix usage of @enumerate @item's.
	(Listing Tracepoints): Add index entry for "info tp".
	(Set Watchpoints): Add xref to "info break" description.
	(Macros): Add an index entry for "macro exp1".  Document the
	"macro list" command.
	(Maintenance Commands): Document "flushregs", "maint agent",
	"maint check-symtabs", "maint cplus", "maint demangle", "maint
	deprecate", "maint undeprecate", "maint dump-me", "maint packet",
	"maint print architecture", "maint print objfiles", "maint print
	statistics", "maint print type", "maint show-debug-regs", "maint
	space", "maint time", and "maint translate-address".
	(Connecting): Document the "monitor" command.
	(Annotations Overview): Describe the "set annotate" command.
2005-04-02 17:48:36 +00:00
Eli Zaretskii
82f2d80296 (Set Watchpoints): Document can-use-hw-watchpoints.
Rearrange index entries and improve wording about support for
hardware watchpoints.
2005-04-02 08:32:31 +00:00
Bob Rossi
7d51c7de80 Add 2005 to doco copyright 2005-03-10 13:12:33 +00:00
Theodore A. Roth
68c71a2e92 * gdb.texinfo (General Query Packets): Fix texinfo compile warning and error. 2005-02-09 19:06:08 +00:00
Kevin Buettner
83761cbd36 * gdb.texinfo (General Query Packets): Document qGetTLSAddr packet. 2005-02-03 16:11:38 +00:00
Michael Snyder
9f1c639570 2005-01-17 Michael Snyder <msnyder@redhat.com>
* gdb.texinfo: Fix spelling, infinte  ->  infinite.
2005-01-17 19:54:42 +00:00
Jim Blandy
e1aac25bcf * gdb.texinfo (General Query Packets): Specify that thread ID's in
the 'qC' and 'qThreadInfo' packets are unsigned hexidecimal
numbers.
2004-12-08 05:28:31 +00:00
Andreas Schwab
f47b15032f * main.c (long_options): Add entry for "-l".
(print_gdb_help): Add line for -l option.
	* NEWS: Mention it.

doc/
	* gdb.texinfo (Mode Options): Document -l option.
2004-12-07 11:06:04 +00:00
Eli Zaretskii
7b5ba0cc21 Fix last change. 2004-11-23 12:12:15 +00:00
Eli Zaretskii
013717475e * gdb.texinfo (Files): Add cross-reference to description of
-readnow command-line switch.
2004-11-23 12:05:28 +00:00
Randolph Chung
2315ffec02 2004-11-10 Randolph Chung <tausq@debian.org>
* blockframe.c (inside_entry_func): Move to .....
	* frame.c (inside_entry_func): ... here, and make static.
	(backtrace_past_entry): New flag.
	(get_prev_frame): Stop backtrace at the entry function if enabled
	by flag.  Update comments.
	(_initialize_frame): Add command to set backtrace_past_entry flag.
	* defs.h (inside_entry_func): Remove prototype.

    doc/
	* gdb.texinfo: Document set/show backtrace past-entry commands.
	Rearrange index entries for set/show backtrace past-main.
2004-11-10 21:17:58 +00:00
Andrew Cagney
69065f5d2f 2004-11-10 Jon Beniston <jon@beniston.com>
Committed by Andrew Cagney  <cagney@gnu.org>.
        * gdb.texinfo (Remote Serial Protocol): Further describe
        binary transfer escaping mechanism .
2004-11-10 14:56:26 +00:00
Randolph Chung
30e91e0bc8 2004-11-08 Randolph Chung <tausq@debian.org>
* gdb.texinfo (inferior_debugging info): Document "set debug infrun"
	and "show debug infrun".  Add index entries.
2004-11-08 17:25:49 +00:00
Eli Zaretskii
384ee23f42 * gdb.texinfo (Core File Generation): New section. 2004-10-23 15:05:29 +00:00
Eli Zaretskii
f856860472 (Calling): Expand and elaborate text. Add "print". Add the
description of problems with weak aliases.
2004-10-23 14:34:54 +00:00
Eli Zaretskii
f018e82f92 2004-10-23 Eli Zaretskii <eliz@gnu.org>
* gdb.texinfo (Starting): Fix whitespace; make "elaboration" stand
	out where it is first used, and add an index entry for the term.
2004-10-23 14:21:44 +00:00
Eli Zaretskii
dcaf7c2c09 2004-10-23 Eli Zaretskii <eliz@gnu.org>
* gdb.texinfo(Files): Add a tip for decreasing memory used for
	symtabs from shared libraries.
2004-10-23 14:11:33 +00:00
Eli Zaretskii
60bf7e09b1 * gdb.texinfo (SVR4 Process Information): Document subcommands of
"info proc" that are already implemented.  Add index entries.
	(Working Directory): Add a cross-reference to "info proc" command.
2004-10-23 13:52:37 +00:00
Eli Zaretskii
703663ab0d (Editing, History): Add cross-references to the
included Readline and History user documentation.  Remove
references to the symbol have-readline-appendices which is unused
and undefined.
(History): Fix indexing.
2004-10-08 19:19:05 +00:00
Paul N. Hilfinger
e07c999f48 * gdb.texinfo (Filenames): Add Ada suffixes.
(Ada) New section.
2004-10-03 10:10:35 +00:00
Andrew Cagney
2e868123fa 2004-09-27 Andrew Cagney <cagney@gnu.org>
Robert Picco  <Robert.Picco@hp.com>

	* gdb.texinfo (Packets): Document the "p" packet.
2004-09-27 19:23:25 +00:00
Daniel Jacobowitz
ae038cb03c gdb/doc/
* gdb.texinfo (Maintenance Commands): Document "maint set dwarf2
	max-cache-age" and "maint show dwarf2 max-cache-age".
gdb/
	* Makefile.in (dwarf2read.o): Update dependencies.
	* dwarf2read.c: Include "command.h" and "gdbcmd.h".
	(struct dwarf2_per_objfile): Add all_comp_units, n_comp_units,
	and read_in_chain.
	(struct dwarf2_cu): Add read_in_chain, per_cu, last_used,
	mark, and has_form_ref_addr.
	(struct dwarf2_per_cu_data): New.
	(dwarf2_max_cache_age): New.
	(dwarf2_build_psymtabs_hard): Free cached compilation units
	after loading.  Create and manage the list of compilation units.
	Remove unnecessary NULL initialization.  Fix indentation.
	(psymtab_to_symtab_1): Initialize all of CU.
	(dwarf2_read_abbrevs): Set has_form_ref_addr.
	(find_partial_die): Use dwarf2_find_containing_comp_unit
	and load_comp_unit.
	(free_stack_comp_unit): Update comments.  Clear the per-cu
	pointer.  Handle aging.
	(dwarf2_find_containing_comp_unit, free_cached_comp_units)
	(age_cached_comp_units, free_one_cached_comp_unit)
	(dwarf2_mark, dwarf2_clear_marks, create_all_comp_units)
	(load_comp_unit, dwarf2_find_comp_unit, free_one_comp_unit)
	(set_dwarf2_cmdlist, show_dwarf2_cmdlist, set_dwarf2_cmd)
	(show_dwarf2_cmd): New.
	(_initialize_dwarf2_read): Provide "maint set dwarf2 max-cache-age"
	and "maint show dwarf2 max-cache-age".
	* gdbcmd.h (maintenance_set_cmdlist, maintenance_show_cmdlist): New
	externs.
	* maint.c (maintenance_set_cmdlist, maintenance_show_cmdlist): Make
	global.
2004-09-20 22:26:21 +00:00
Eli Zaretskii
f7dc124454 * gdb.texinfo (Set Breaks): Add index entry for setting
breakpoints on overloaded C++ functions that are not members of
	any classes.  Add an example and an index entry for setting
	breakpoints on all program functions.
	(Character Sets, Macros, Overlay Commands)
	(Non-debug DLL symbols, GDB/MI Output Syntax)
	(Annotations Overview, Maintenance Commands, File-I/O Overview):
	Use "(@value{GDBP})" instead of a literal "(gdb)".
2004-09-16 11:15:25 +00:00
Eli Zaretskii
0b66e38cea * defs.h (OPF_TRY_CWD_FIRST, OPF_SEARCH_IN_PATH): New macros.
* exec.c (exec_file_attach):
	* nto-tdep.c (nto_find_and_open_solib):
	* pa64solib.c (pa64_solib_sizeof_symbol_table):
	* solib.c (solib_open):
	* somsolib.c (som_solib_sizeof_symbol_table):
	* source.c (is_regular_file, openp, open_source_file):
	* symfile.c (symfile_bfd_open):
	* wince.c (upload_to_device): Differentiate between the search for
	binary and source files.

	* gdb.texinfo (Source Path): Document the new behavior of
	searching for the source files.
2004-07-30 19:23:54 +00:00
Eli Zaretskii
153872542a (Edit): Fix markup of EDITOR and improve wording.
(Search, Expressions, Arrays, Variables, Data, Machine Code)
(Auto Display): Improve indexing.
2004-07-17 12:25:40 +00:00
Andrew Cagney
2c07db7ac0 Index: ChangeLog
2004-07-16  Andrew Cagney  <cagney@gnu.org>

	* defs.h (event_loop_p): Replace variable declaration with macro,
	always 1.
	* main.c (captured_main): Delete options "-async" and "-noasync".
	(event_loop_p): Delete variable.
	* NEWS: Mention that "-async" and "-noasync" were removed.

Index: doc/ChangeLog
2004-07-16  Andrew Cagney  <cagney@gnu.org>

	* gdb.texinfo (Mode Options): Delete documentation on "-async" and
	"-noasync".
2004-07-17 03:25:11 +00:00
Eli Zaretskii
4644b6e36c Fix @kindex entries so that multiple commands that
have the same prefix have only their prefix in the index.
2004-07-09 18:44:51 +00:00
Mark Kettenis
7561d4504f * gdb.texinfo (BSD libkvm Interface): New node (section)
(Native): Add it to the menu.
2004-07-05 15:31:35 +00:00
Michael Chastain
e0c07bf008 2004-06-19 Michael Chastain <mec.gnu@mindspring.com>
gdb.texinfo (Bug Reporting): Mention session recording,
	with the script command or Emacs.
2004-06-19 17:33:44 +00:00
Andrew Cagney
03727ca61a 2004-06-14 Andrew Cagney <cagney@gnu.org>
Based on changes from Karl Berry.
	* gdb.texinfo: Do not use @sc in a direntry.
	* stabs.texinfo: Change @dircateogry to "Software development".
	* gdbint.texinfo, gdb.texinfo, annotate.texinfo: Ditto.
2004-06-14 22:26:34 +00:00