Commit Graph

309 Commits

Author SHA1 Message Date
John Gilmore
5ac449d90c * solib.c (solib_add): New argument is the target_ops whose
section list is to be added to, if any.  Reallocate the
        sections in that target to add any that come from shared libs.
        (throughout) so_sections renamed to sections.
        (solib_xfer_memory):  Deleted.
        * tm-sunos.h (SOLIB_ADD):  Add target argument.
        (SOLIB_XFER_MEMORY):  Delete.

        * xm-sun3os4.h, xm-sun4os4.h:  Define BROKEN_LARGE_ALLOCA,
        and add comment explaining shared library screw.
1991-08-14 00:02:26 +00:00
John Gilmore
c561ca5dfb * core.c (core_open, core_close, core_xfer_memory): Move
section table pointers and bfd* into the target_ops.
        (core_open):  Allow errors in shared lib reading, etc.
        (core_files_info):  Describe shared library sections.

        * exec.c (exec_open, exec_close, exec_xfer_memory, xfer_memory,
        exec_files_info, set_section_command):  Move section table
        pointers and bfd* into the target_ops.
        (add_to_section_table):  Add BFD to section table.

        * target.c (target_xfer_memory, target_info):  Pass target to
        xfer_memory and target_info functions.
        * target.h:   ''

        * gdbcore.h:  Move struct section_table.
        * target.h:  New home of struct section_table.
1991-08-14 00:01:20 +00:00
John Gilmore
5259796be2 * blockframe.c (frameless_look_for_prologue): Speed up by
calling SKIP_PROLOGUE_FRAMELESS_P if it's defined.
        * tm-sparc.h (SKIP_PROLOGUE, SKIP_PROLOGUE_FRAMELESS_P):
        Define two variants, one faster.
        * sparc-tdep.c (sparc_frame_chain):  Use target_read_memory
        and return zero, rather than giving an error.
        (setup_arbitrary_frame):  Initialize the PC in the new frame.
        (skip_prologue):  Add a second arg saying whether we're just
        checking for a frameless function or not.
1991-08-14 00:00:25 +00:00
John Gilmore
807e8e4ece Add in Rich's changes for three-stage builds. 1991-08-07 07:51:22 +00:00
Roland Pesch
274862ad9e Default rdl-apps.texinfo, for people who don't think to use the
Makefile; this one will work if this dir is in the default relative position
to the readline directory in the GNU libraries-and-includes distribution.
1991-08-07 02:15:57 +00:00
Roland Pesch
81536d662a * Makefile: use doc/Makefile for doc targets 1991-08-07 02:07:21 +00:00
Roland Pesch
594bdad7ad *** empty log message *** 1991-08-07 00:18:09 +00:00
Roland Pesch
73dfae8d22 Makefile: GDB documentation nos has its own Makefile
.Sanitize: add Makefile; recognize renamed refcard.tex (formerly gdbrc.tex)
gdbint.texinfo: add markup in "Cleanups" chapter
1991-08-07 00:15:02 +00:00
K. Richard Pixley
4101d86838 Host-level GNUmakefiles. 1991-08-06 19:12:55 +00:00
John Gilmore
4f6f12f989 Only read the right number of bytes in reading basetypes, so we don't
overrun malloc.
1991-08-03 02:02:03 +00:00
John Gilmore
8bf75ff3ca Print UNOP_MEMVAL of an OP_LONG that ends up as a function specially 1991-08-02 09:23:23 +00:00
John Gilmore
10147c02f3 * infrun.c: Move DO_DEFERRED_STORES from proceed() to resume().
The child can be proceeded from inside wait_for_inferior in
        evaluating breakpoint conditions, and DO_DEFERRED_STORES was
        getting skipped in that case.

        * expprint.c (print_subexp):  Use filtered output, since the
        subroutines we call use it, otherwise the output is horribly
        mangled, since output of wrappable stuff comes out late.
1991-08-02 08:46:10 +00:00
John Gilmore
3b271cf4c0 Roll VERSION to 3.98.1. Use path to find $SHELL in "run" command. 1991-08-02 07:15:20 +00:00
Roland Pesch
7bfa94e296 *** empty log message *** 1991-08-01 22:39:43 +00:00
John Gilmore
18a00f0885 Pass Make flags down to lower level when building tar file. 1991-08-01 00:32:22 +00:00
John Gilmore
c45c19f8b1 For final (?) 3.98 release 1991-08-01 00:11:16 +00:00
Roland Pesch
cf4964159d Surrounded table of renamed commands (version within @ifinfo) with
@example/@end example.  Without this it formatted fine by
texinfo-format-buffer in Emacs, but makeinfo insisted on paragraphing
it!

Also removed "gdb/" from in front of one instance of libiberty...
1991-08-01 00:02:27 +00:00
John Gilmore
2ee6233fbc Handle gdb-all.texinfo properly when M4 doesn't exist or crashes 1991-07-31 23:44:59 +00:00
Roland Pesch
5bff26001a *** empty log message *** 1991-07-31 23:37:41 +00:00
Roland Pesch
3d3ab54002 Last cleanups for release 3.98:
Minor typo and formatting fixes; incorporated most fixes remaining from
filed mail commenting on earlier drafts.

Added warnings: pipes don't work in run command;
	conditions are converse of assertions;
	step over fn without debug info goes to next fn;
	vars may have "wrong" values near fn entrance, exit

Added example from Kingston on printing repeated nonadjacent values

Added explicit mention that in Emacs gdb mode C-c and C-z are like
shell mode for signals

Improved installation directions in appendix, added manual formatting
instructions

Renamed "Stepping and Continuing" to "Continuing and Stepping" so it
doesn't sound so much like its parent "Stopping and Continuing"; also
moved entries on continue to top of section, so they don't get lost.
1991-07-31 23:35:22 +00:00
John Gilmore
adf2bb5864 Update for 3.98 release. 1991-07-31 19:08:36 +00:00
John Gilmore
40dc32e580 Set file permissions the same for everyone before making tar file.
(This clobbers the files' existing permissions.)
1991-07-31 18:08:33 +00:00
John Gilmore
72b1b275ec Move building and configuring stuff from .Sanitize to "make gdb.tar.Z". 1991-07-31 07:09:02 +00:00
John Gilmore
55b32c02a8 Remove config.gdb. Restore alldeps.mak, depend, and expread.tab.c
to the RCS archives.  Update .Sanitize for this.
1991-07-31 04:15:12 +00:00
John Gilmore
92cd1aab08 Update for gdb-3.98. 1991-07-31 03:10:30 +00:00
John Gilmore
dc0c3f64b6 Tighten up for gdb-3.98 release. 1991-07-31 00:34:07 +00:00
Roland Pesch
07d06baa0f Updated list of files to keep to reflect reintegration of most fragments
into gdb.texinfo.
1991-07-29 22:38:53 +00:00
Roland Pesch
a56a0f68ba *** empty log message *** 1991-07-29 22:21:57 +00:00
Roland Pesch
54e6b3c33a Fixed a variety of small typos that prevented info from formatting cleanly;
altered too-long heading for GPL Appendix, as discussed w/RMS;
Changed date on cover to July 91.
1991-07-29 22:20:33 +00:00
Roland Pesch
a8b765617e *** empty log message *** 1991-07-27 00:52:01 +00:00
Roland Pesch
7463aadd5b (1) Applied some fixes due to comments from Larry Breed (easier ones
through chapsec 5.2)

(2) Eliminated use of @footnote---had my doubts about it anyways, and
it's broken in latest texinfo

(3) Introduced *some* use of [] for optional arguments, where
explanation is not simpler by listing cmd w arg and cmd w/out arg
separately.  Still not using @deffn.

(4) Dropped in GPL-2.  NOTE: one of GPL-2 or texinfo is broken; a
couple of headings are too long.  Need patches to texinfo or revision
to GPL-2.
1991-07-27 00:49:54 +00:00
Roland Pesch
170d0c8527 Partial update to README for new configure script and new
documentation make targets.
1991-07-26 20:22:41 +00:00
Roland Pesch
70b887611a (1) Re-incorporated former M4 fragments into this file; GNU m4 >=0.84
no longer crashes on long docs.

(2) Included some improvements based on Larry Breed's comments.
1991-07-25 19:35:27 +00:00
John Gilmore
614541045c Another bugfix (NS32K_SVC_IMMED_OPERANDS) from Rune Nerg}rd. 1991-07-24 13:46:54 +00:00
John Gilmore
ccef841ce1 Bugfix from Rune Nerg}rd to "sfsr" opcode. 1991-07-24 13:43:56 +00:00
Roland Pesch
920ba794a7 *** empty log message *** 1991-07-24 01:55:18 +00:00
Roland Pesch
16e58d9172 Turned $Id: from m4 comment into texinfo comment, allowing fragment
boundaries to be recognized in post-m4 texinfo source.
1991-07-24 01:51:32 +00:00
Roland Pesch
271895931a 1) turned $Id: from m4 into texinfo comment
2) disabled @group where no longer supported by texinfo.tex
1991-07-24 01:50:33 +00:00
Roland Pesch
8734fc33eb 1) moved author email addresses and manual version info back onto copyright
page (had crept onto front of title page w/ other stuff migrating between
gdb.texinfo and gdb.top-m4).

2) gdb.top-m4: added Detailed Node Listing to main menu.
               made $Id: for fragment into texinfo comment.
1991-07-24 01:43:47 +00:00
Roland Pesch
5dac81188a Fix braces in example (@{ @} not {}), spotted by makeinfo.
Allow fragment's $Id: to be texinfo comment.
1991-07-24 01:40:47 +00:00
Roland Pesch
ff2e4391f7 1) Added conditionals around node structure, giving clean nodes for either
generic or cross-debugging manual.

2) Allowed $Id: to be texinfo comment.
1991-07-24 01:37:46 +00:00
Roland Pesch
54e4cbe8f0 1) Added conditional markup around node transitions, so node structure correct
for either generic manual (material near back, in "targets"), or for special
cross-debugging manuals (material near front, in "invocation").

2) Allowed $Id: tag to appear as texinfo comment.
1991-07-24 01:36:11 +00:00
Roland Pesch
0e1b12ce0d Tried allowing $Id: to appear in final output, but it confuses makeinfo
(the texinfo comment appears inside a menu).  Revisit someday.
1991-07-24 01:34:39 +00:00
Roland Pesch
1190271968 1) "dots{}" -> "@dots{}" (spotted by makeinfo)
2) $Id: tag appears in post-m4 text
1991-07-24 01:30:45 +00:00
Roland Pesch
9d40ea3c82 1) Inserted missing @end table/@table spotted by makeinfo;
2) allowed $Id: tag to appear in post-M4 file by turning it into texinfo
   rather than m4 comment;
3) Disabled @group where no longer supported by texinfo
1991-07-24 01:28:51 +00:00
Roland Pesch
26c03ddfee Enabled target gdb.info 1991-07-24 01:25:02 +00:00
Roland Pesch
42078e7901 Added call to "make info", to generate:
-- gdb-all.texinfo (texinfo source after M4 processing)
  -- gdb.info (file compiled by makeinfo from texinfo-2 release)
1991-07-24 01:23:41 +00:00
John Gilmore
ef98d5ac06 Mostly MIPS symbol-reading and general symbol-reading fixups. 1991-07-21 13:02:48 +00:00
John Gilmore
eb752e4e4e Add information about the symbol-reading interface. 1991-07-21 12:16:38 +00:00
John Gilmore
101f259c8f Make mipsread.c handle static symbols, both in psymtabs and symtabs. 1991-07-19 07:09:41 +00:00