Commit Graph

814 Commits

Author SHA1 Message Date
John Gilmore
361bf6eee5 Minor bug fixes from BSD Net2 gdb:
* blockframe.c (get_prev_frame_info):  If FRAME_CHAIN_COMBINE
returns 0, there is no previous frame.
* breakpoint.c (commands_command):  If !from_tty, don't call
input_from_terminal_p().
* dbxread.c (record_misc_function):  Speed up slightly.
(compare_psymbols):  Ditto.
* infcmd.c (do_registers_info):  Take a second argument to
determine whether to print float registers.  "info registers"
does not do so anymore.  "info all-registers" does, now.
* mips-tdep.c, pyr-tdep.c (xxx_do_registers_info):  Take second
arg and ignore it.
* tm-mips.h, tm-pyr.h (DO_REGISTERS_INFO):  Pass second arg.
* inflow.c (initialize_inflow):  Set tflags_ours correctly.
1991-08-19 20:54:03 +00:00
Roland Pesch
6724ff46c8 Mon Aug 19 13:48:22 1991 Roland H. Pesch (pesch at cygint.cygnus.com)
* aoutx.h, archive.c, archures.c, bfd.c, bfd.texinfo, cache.c,
	coffcode.h, core.c, format.c, libbfd.c, libbfd.h, libcoff.h,
	opncls.c, reloc.c, section.c, syms.c, targets.c (documentation
	segments): used BFD (caps) more consistently as a name in
	discourse, fixed a few other minor typos and uses of fonts
1991-08-19 20:52:38 +00:00
Michael Tiemann
7ce3bf92ca Describe C++ fixes. 1991-08-19 17:02:17 +00:00
Michael Tiemann
9404978d0b Fixed two C++ related bugs. 1991-08-19 14:40:50 +00:00
Steve Chamberlain
d33cfbd8c1 *** empty log message *** 1991-08-17 00:23:43 +00:00
Steve Chamberlain
fd1860075e *** empty log message *** 1991-08-17 00:22:24 +00:00
Steve Chamberlain
d3f2a82c81 *** empty log message *** 1991-08-17 00:20:52 +00:00
Steve Chamberlain
39db05ea11 *** empty log message *** 1991-08-17 00:19:43 +00:00
Steve Chamberlain
c618de01c1 Documentation 1991-08-17 00:17:15 +00:00
Steve Chamberlain
90f3f3e2b0 Initial revision 1991-08-17 00:16:57 +00:00
Steve Chamberlain
3a26c0cd00 Doc changes 1991-08-17 00:09:20 +00:00
Steve Chamberlain
bded7de213 Documentation changes 1991-08-17 00:07:43 +00:00
Steve Chamberlain
0b5311ca6d Initial revision 1991-08-17 00:01:23 +00:00
K. Richard Pixley
f9584c6dcd Allow yacc to be passed in as BISON. 1991-08-16 21:47:14 +00:00
K. Richard Pixley
88f13fd058 Mostly just formatting and comments. 1991-08-16 19:09:17 +00:00
John Gilmore
351b221ded * main.c: Remove unused terminating_signals and catch_termination().
(long_options):  Terminate with a zero element.
        [Bugfix from Atsuo Kawaguchi <atsuo@hark86.harl.hitachi.co.jp>.]
        (gdb_readline):  Make call-compatible with readline.
        (init_signals):  Improve comments re vfork vs. signal.

        * utils.c (prompt_for_continue):  Use new gdb_readline().
        If we prompt for continuation, we don't let CR repeat the previous
        command, once we get back to a prompt.  It's too easy to keep
        hitting CR, expecting "--more--" prompts, and have some long
        command start repeating on you.
1991-08-16 01:49:30 +00:00
K. Richard Pixley
7078c4acc1 added spaces after ,a annuls and ,N ,T bpred bits. 1991-08-15 20:35:45 +00:00
K. Richard Pixley
60b6e7da1f Corrected relocation overflow checks. 1991-08-15 20:34:42 +00:00
K. Richard Pixley
ac1ac0cd4f Abort()'s become as_fatal()'s. 1991-08-15 19:38:52 +00:00
K. Richard Pixley
db19f82883 Die on missing host fragments, let missing target fragments pass. 1991-08-14 22:23:44 +00:00
K. Richard Pixley
21c9f6261a Added fatal checks for missing host and target makefile fragments. 1991-08-14 22:10:12 +00:00
John Gilmore
1fc712b856 *** empty log message *** 1991-08-14 02:25:22 +00:00
K. Richard Pixley
353deb845b Deal with emulations more gracefully. 1991-08-14 00:29:34 +00:00
K. Richard Pixley
a79c6033ed * no more relocation_info structures. We now squirt directly from
fixS's.

* i960-bout and i960-coff "tested" against their predecessors.
1991-08-14 00:26:06 +00:00
John Gilmore
b6de2014a1 Add ignored target argument to child_xfer_memory. 1991-08-14 00:23:08 +00:00
John Gilmore
e522fb52bf * source.c: #if defined => #ifdef.
* main.c (main):  Only try to attach "corefile" argument if
        it starts with a digit.
1991-08-14 00:11:20 +00:00
John Gilmore
715d2e0649 * inflow.c (new_tty_prefork, new_tty): New prefork routine
modifies static state in the parent process; new_tty itself
        runs in the child and modifies the child's file descriptors
        to match the saved static state.
        * infrun.c (child_create_inferior):  Call new_tty_prefork,
        fork, then new_tty.
1991-08-14 00:09:58 +00:00
John Gilmore
8f1f2a72bd * core.c, exec.c, inftarg.c, remote-eb.c, remote-nindy.c,
remote-vx.c, remote.c, target.c, target.h:  Remove add_syms vector
        from target_ops.  It's the same on all targets.  Add two section
        pointers to target_ops.
1991-08-14 00:09:04 +00:00
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
Roland Pesch
39c52804df as.texinfo: commented out @group definitions, since recent vns of
texinfo restrict to limited usefulness.

*.m4: updated to match GDB .m4's

Makefile: default target `all', automate m4 preprocessing etc.

All: added CVS/RCS Id: tag.
1991-08-13 18:10:34 +00:00
Roland Pesch
eb2a596956 Initial revision 1991-08-13 18:10:29 +00:00
K. Richard Pixley
e0220a5bc5 Correct for a deficiency in sun make. 1991-08-13 15:14:25 +00:00
K. Richard Pixley
c252bac868 Changed the script rule from "mkscript" to "./mkscript". 1991-08-12 19:56:45 +00:00
Steve Chamberlain
7a8b18b6ab Fixed bug where stringtable size wasn't being swapped. 1991-08-08 23:48:27 +00:00
K. Richard Pixley
c897c826b3 +forcesubdirs -> +subdirs 1991-08-07 19:24:17 +00:00
K. Richard Pixley
991643f592 +forcesubdirs -> +subdirs 1991-08-07 19:21:32 +00:00
John Gilmore
807e8e4ece Add in Rich's changes for three-stage builds. 1991-08-07 07:51:22 +00:00
K. Richard Pixley
2c23127cb5 Added make. 1991-08-07 07:05:32 +00:00
K. Richard Pixley
070cece144 Added AOUT_MACHTYPE definitions. 1991-08-07 07:00:01 +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
Steve Chamberlain
9bbfd0574d N_INDR movement
now in a.out.gnu.h and aout64.h, not in stab.def
1991-08-06 21:31:01 +00:00
Steve Chamberlain
1af27af8bc Patches to fix bugs reported by roland McGrath 1991-08-06 21:28:21 +00:00
Steve Chamberlain
e929a4c57a *** empty log message *** 1991-08-06 20:39:34 +00:00
K. Richard Pixley
7f281dcbe4 Correcting a prototype for gcc. 1991-08-06 20:35:15 +00:00
K. Richard Pixley
9fddf5af62 revised option parsing. 1991-08-06 19:26:01 +00:00