Commit Graph

72 Commits

Author SHA1 Message Date
K. Richard Pixley
0df06ca031 Now handles multiple hosts and targets. 1991-04-15 23:46:50 +00:00
Roland Pesch
6df47a7407 Minor adjustments for clean info-formatting. 1991-04-15 20:30:47 +00:00
John Gilmore
0ef6f0192d Permit symbols to be superseded when new symbol files have
been read in, particularly for VxWorks.

        * symfile.c (symbol_file_add):  Use filtered printing and wrap it.
        If we have wiped out any old symbol tables, clean up at end of
        symbol reading.
        (symbol_file_command):  Don't reference symfile_fns if it's zero.
1991-04-13 22:37:48 +00:00
John Gilmore
d219db0133 * symtab.h (GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOCK): New
defines for the blocks of a blockvector that contain global and
        file-static symbols and the first of the smaller scope contours.
	* mipsread.c:  Use them.

        * coffread.c (end_psymtab):  Free named symtabs and psymtabs for
        a file, once a new symtab has been read for it.
        * mipsread.c:  FIXME.  We need to do the same for MIPS, but it
        looks harder to determine the top-level block before it's been
        queued to the psymtab list.
1991-04-13 22:31:54 +00:00
John Gilmore
a6e2b4241e * coffread.c (end_psymtab): Free named symtabs and psymtabs for
a file, once a new symtab has been read for it.
        * symtab.h (GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOCK):  New
        defines for the blocks of a blockvector that contain global and
        file-static symbols and the first of the smaller scope contours.
        * symtab.c (lookup_symbol, find_pc_symtab, find_pc_line,
        decode_line_1, make_symbol_completion_list):  Use the above.
        * coffread.c (end_symtab, patch_opaque_types):  Ditto.
1991-04-13 22:29:36 +00:00
John Gilmore
92a29b47d7 * symtab.h (GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOCK): New
defines for the blocks of a blockvector that contain global and
        file-static symbols and the first of the smaller scope contours.
1991-04-13 22:21:23 +00:00
John Gilmore
f96238813e Permit symbols to be superseded when new symbol files have
been read in, particularly for VxWorks.

        * dbxread.c (read_dbx_symtab): Allow N_SOL to cleanly take us back
        to the main file, as well as to include files.  Also, put global
        functions into the global psymtab, to make "i fun" work.
        (end_psymtab):  Free named symtabs and psymtabs for a file, once a
        new psymtab for it has been read.
1991-04-13 21:51:28 +00:00
John Gilmore
bd313dad25 Initial revision 1991-04-11 11:23:14 +00:00
K. Richard Pixley
5d98a5cd94 Initial revision 1991-04-11 03:07:16 +00:00
John Gilmore
447b99fa65 * exec.c (exec_ops): Add_syms_addr is valid in our tvec.
(set_section_command):  New command ("section xxx yyy" -- should
	be renamed to "set section xxx yyy" FIXME) which sets the
	base address of a section of the exec file, overriding the
	virtual address that BFD reports.
1991-04-09 07:04:22 +00:00
John Gilmore
66eeea27cc *** empty log message *** 1991-04-06 02:11:43 +00:00
John Gilmore
be2c3f354c *** empty log message *** 1991-04-06 01:18:22 +00:00
John Gilmore
64e5222463 *** empty log message *** 1991-04-06 01:14:30 +00:00
Roland Pesch
b48914e1e0 Repair missing xrefs. 1991-04-06 00:46:23 +00:00
Roland Pesch
efd784ca05 Added John Gilmore's advice on subdirs to installation appendix. 1991-04-06 00:13:19 +00:00
Roland Pesch
52d9ccbbae RENAMES: "demangle" and "asm-demangle" now "set print" subcmds. 1991-04-06 00:00:46 +00:00
Roland Pesch
413130bd46 ADDED:
show copying
show warranty
1991-04-05 23:54:17 +00:00
Roland Pesch
41d786f7a5 Changes agreed w/gnu, summarized in mail of Tue Apr 2 15:52:44 1991
RENAMES:
 add-syms -> add-symbol-file
 info->show convenience
 info->show directories
 info editing->show commands
 info->help targets
 info->show values
 info->show version
 set subcommands:
  addressprint->print address
  arrayprint->print array
  prettyprint->print pretty
  screen-height->height
  screen-width->width
  unionprint->print union
  vtblprint->print vtbl
DELETED: info history (syn "show values" remains)
ADDED: help target BLAH
1991-04-05 23:35:32 +00:00
Roland Pesch
c989dc8e6f General editing pass. Highlights:
Update stuff on option flags, full text, mention -help;
Better localization of target-specific stuff;
introduce 'path' command and discussion of exec path as opp src path;
document which commands don't repeat w RTN;
update and improve several examples, eg deleting (...)
Throughout: attempts to clarify etc.
1991-04-05 22:48:39 +00:00
John Gilmore
847fd51966 *** empty log message *** 1991-04-05 09:11:18 +00:00
John Gilmore
3f2e006b77 *** empty log message *** 1991-04-05 09:02:10 +00:00
John Gilmore
07d021a6ae Initial revision 1991-04-05 09:01:15 +00:00
Roland Pesch
8922ff76e3 (1) fix macro invocation of _GDBN__ that didn't expand due to adjacent 's';
(2) attempt better text for when register relativization makes no diff.
1991-04-04 00:33:18 +00:00
Roland Pesch
08665207c0 Corrections due to RMS.
(and improvements).
1991-04-03 23:49:07 +00:00
Roland Pesch
d008dd076c Added VxWorks subsection to chapter on getting in/out 1991-04-02 01:07:13 +00:00
Roland Pesch
01b25dab88 (1) further restructuring;
(2) fix two bugs reported by Per Bothner;
    (in markup for makeinfo)
(3) eliminate info structural information that can be generated
    by texinfo-master-menu.
1991-04-01 23:52:17 +00:00
Roland Pesch
fe3f5fc828 Restructured manual; introduced introductory sample session. 1991-03-30 02:13:24 +00:00
Roland Pesch
1695733e8a Corrections to:
(1) back of title page---show title next to rev number;
(2) DOSish examples for 29K
1991-03-28 21:26:03 +00:00
K. Richard Pixley
dd3b648e8b Johns release 1991-03-28 16:28:29 +00:00
K. Richard Pixley
bd5635a1e2 Initial revision 1991-03-28 16:26:26 +00:00
Roland Pesch
5a131cc7f0 (1) small cleanups on intro sections
(2) introduce M4 configuration macros
1991-03-28 01:03:49 +00:00
Roland Pesch
cb9d20492a (1) bring in material on 29K from 2.8.1.2 branch;
first stab at updating it for "target amd-eb" rather than "attach".
(2) some minor massaging for @smallbook format.
1991-03-27 01:22:25 +00:00
Roland Pesch
c81e78d17f Fix typos in descriptions of asm-demangle, attach, and load;
fix index entry for detach.
1991-03-09 01:16:32 +00:00
Roland Pesch
616875fdef add @finalout to turn off DRAFT flags (this is distributable 3.94 doc) 1991-03-08 23:46:53 +00:00
Roland Pesch
9d7c0513e4 (1) document fg, revise 'attach' docn;
(2) assorted corrections and clarifications.
1991-03-08 23:04:15 +00:00
Roland Pesch
469ddd56b0 Fix screwed up xref. 1991-03-08 01:54:15 +00:00
Roland Pesch
369a6ade1c (1) Drag various bits and pieces into a "Starting GDB" chapter at the front;
1a) Isolate Nindy-960 stuff into subsection of above, and expand it;
(2) Expand GDB-under-Emacs chapter;
(3) Minor cosmetics, including small free software blurb at front to
    make RMS feel better about GPL moved to back.
1991-03-08 01:39:43 +00:00
Roland Pesch
23e2e5e133 Document "info set"; minor cosmetic fixes;
document transmutation of add-file into sym-file and new meaning for
"load" (dynamic link/download, target-rel); document "info target" and
warn about similarity with "info targets"; document target strata rather
than stack; document "up-silently" and "down-silently"; add text about
when value history discarded.
1991-03-07 00:32:12 +00:00
Roland Pesch
ca714d0352 Add texinfo wrappers 1991-03-05 00:14:55 +00:00
Roland Pesch
54e4a398e3 (1) formatting cleanup to permit @smallbook
(2) moved GPL to end
(3) @index{foo} -> @cindex{foo}
1991-02-20 01:57:12 +00:00
John Gilmore
056c1b2c3b Add copyright and contributor line. 1991-02-14 17:38:06 +00:00
John Gilmore
46bc46ebd7 * gdb-int.texinfo: Add text on how to define a new host or target
architecture, prompted by Per Bothner's questions about MIPS
        support.
1991-02-05 23:47:22 +00:00
John Gilmore
d62719de80 * gdb.texinfo: Document "complaints". Change doc of -q since
gdb no longer prints the copyright and blurb if you specify a file
        name to be debugged (just like Emacs).  Add doc for Nindy-specific
        command line flags for specifying target serial port and such.
        Update copyright to 1991.
1991-02-05 22:05:25 +00:00
John Gilmore
bbb5013f21 Allow gdb functions to specify where a line should wrap if it
exceeds the size of a terminal line.  Use it to make the output
        prettier.
1991-01-20 03:59:13 +00:00
John Gilmore
a58d77add9 Document "set demangle", line wrapping, and expanded addressprint. 1991-01-20 03:53:48 +00:00
Roland Pesch
bca4316904 Initial revision 1991-01-03 16:28:29 +00:00
Roland Pesch
1bc93cb7a0 Use different 1st chapter name from manual title
(manual: Using GDB; chap 1: GDB Commands and Displays)
(both were "using..."
1991-01-02 11:27:17 +00:00
Roland Pesch
880d228b30 Fixed a few spelling errors. 1990-12-31 16:45:38 +00:00
Roland Pesch
26376b06b8 Minor adjustments and corrections. 1990-12-31 16:22:45 +00:00
Roland Pesch
d2e0842135 Merge in pesch improvements, comments from tiemann and gnu. 1990-12-29 21:38:34 +00:00