Commit graph

901 commits

Author SHA1 Message Date
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
K. Richard Pixley
4101d86838 Host-level GNUmakefiles. 1991-08-06 19:12:55 +00:00
K. Richard Pixley
dd61f09ec8 Added -S option for 3com. Asks that jbsr always resolve to jsr. 1991-08-06 07:21:38 +00:00
K. Richard Pixley
9ec1ce8ab5 Fixing CONST declarations. 1991-08-06 07:20:27 +00:00
K. Richard Pixley
3a668184f2 *** empty log message *** 1991-08-05 22:31:05 +00:00
K. Richard Pixley
b81fa6a21c *** empty log message *** 1991-08-05 21:36:41 +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
K. Richard Pixley
c5c604c446 Added (sun?) instructions so that gas can assemble a sun cc produced
gnulib1.s.
1991-08-02 22:19:40 +00:00
K. Richard Pixley
497acf1620 remove emacs, move gdb to after the compilation tools. 1991-08-02 18:56:52 +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
K. Richard Pixley
89eec0d391 Adjusted for new gdb, added some initializations, support for machine
types in aout headers, fixed a bug in symbol allocation where symbol
types/segments were initialized to garbage because the independent
parts didn't know better.  Now freshly allocated symbols are zeroed.
1991-08-02 07:55:14 +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
K. Richard Pixley
fe2def4b40 *** empty log message *** 1991-08-02 04:02:01 +00:00