Commit Graph

342 Commits

Author SHA1 Message Date
Stu Grossman
7d003262a7 saber 1991-08-23 05:26:06 +00:00
K. Richard Pixley
69e87de278 Minor config polish. 1991-08-23 04:50:56 +00:00
Roland Pesch
0a3492951d Document ChangeLog catchup. 1991-08-23 04:38:47 +00:00
Roland Pesch
145d3d2666 *** empty log message *** 1991-08-23 03:08:36 +00:00
Roland Pesch
a9686e9a53 * doc/refcard.tex: permuted Essential Commands sec 1991-08-22 23:38:40 +00:00
Roland Pesch
ef33e8e680 Record new C++ chapter in gdb.texinfo 1991-08-22 23:25:16 +00:00
Stu Grossman
8d142c97b0 lint 1991-08-22 23:19:58 +00:00
Stu Grossman
61a7292f6f lint 1991-08-22 22:50:50 +00:00
Stu Grossman
1e30f7e347 lint 1991-08-22 21:04:25 +00:00
John Gilmore
3a731fe8c9 Add config.sub 1991-08-22 09:01:46 +00:00
John Gilmore
81049e4719 Update for gdb-4.0. 1991-08-22 08:55:27 +00:00
John Gilmore
b32604106a Keep rdl-apps.texinfo for users who don't read the doc on how to build the doc. 1991-08-22 07:59:45 +00:00
John Gilmore
e522aa54a7 Make "make clean" work in subdirs. 1991-08-22 07:10:57 +00:00
John Gilmore
482be0362f Handle HP300bsd. 1991-08-22 07:09:55 +00:00
K. Richard Pixley
6c815bbe31 Three part names, etc. 1991-08-22 07:07:58 +00:00
John Gilmore
4efad21082 Add m68k-tdep.o. 1991-08-22 02:12:30 +00:00
John Gilmore
9fa283782e HP 300 BSD port for machines at FSF. Also minor mips change. 1991-08-22 01:42:18 +00:00
John Gilmore
90125c8596 Roll version to 3.98.2. 1991-08-21 04:09:24 +00:00
John Gilmore
0a07b1f9d5 Remove warnings about system assembler for sunos4. 1991-08-20 23:01:50 +00:00
John Gilmore
b142fea5e8 Remove warnings about system assembler. 1991-08-20 23:01:06 +00:00
K. Richard Pixley
f0b9c97662 revisiting error messages 1991-08-20 04:56:47 +00:00
John Gilmore
5e5215eba7 * mcheck.c: Avoid warning about undeclared abort fn.
* tm-sparc.h (PC_ADJUST):  Avoid calling error() from this;
it causes recursive calls to error() when used in cleanups.
To do so requires that we make it a function, so we do.
* sparc-tdep.c (sparc_pc_adjust):  New implem of PC_ADJUST.
* utils.c (do_cleanups):  Remove the current cleanup from the
chain *before* calling it, in case error() is called from it.
The result won't be pretty, but won't be an infinite loop either.
1991-08-20 03:02:39 +00:00
John Gilmore
2791be2f81 BSD Net2 changes, and misc other fixes. 1991-08-19 20:55:31 +00:00
John Gilmore
5c9878f19c * breakpoint.c (bpstat_do_actions): Use a cleanup to restore
executing_breakpoint_commands if we are interrupted by error.
* coffread.c (init_lineno):  Avoid problem with zero-sized linetab
versus malloc/free.  From: john@labtam.labtam.oz.au (John Carey).
* core.c (solib_add_stub, core_open):  Call SOLIB_ADD inside a
catch_errors() so we can setup the frame regardless of whether
the shared libs work.
* ieee-float.c (double_to_ieee_extended):  Get exponent from
right place in little-endian systems.  From John Carey.
1991-08-19 20:55:06 +00:00
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
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
K. Richard Pixley
f9584c6dcd Allow yacc to be passed in as BISON. 1991-08-16 21:47:14 +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
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
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