Commit graph

356 commits

Author SHA1 Message Date
Roland Pesch
1eddc5863e *** empty log message *** 1991-08-23 23:23:47 +00:00
John Gilmore
1dbe1ef797 Add info about porting to new hosts and targets. 1991-08-23 23:13:03 +00:00
Roland Pesch
2ecf020143 * Makefile.in: generate "gdb-all.texi" rather than "gdb-all.texinfo" 1991-08-23 22:47:36 +00:00
Roland Pesch
fad60036f7 generate "gdb-all.texi" rather than "gdb-all.texinfo" 1991-08-23 22:46:53 +00:00
Roland Pesch
ee4196dc5d *** empty log message *** 1991-08-23 22:39:16 +00:00
K. Richard Pixley
8b204e6ea4 add email address for bugs and additions. 1991-08-23 22:38:25 +00:00
Roland Pesch
b9def3d9df Reflect name change (doc/rdl-apps.texi) 1991-08-23 22:37:49 +00:00
Roland Pesch
8b5d2c4e96 * rdl-apps.texi: renamed from rdl-apps.texinfo
* Makefile, .Sanitize, gdb.texinfo: reflect above name change
1991-08-23 22:35:42 +00:00
K. Richard Pixley
cb3e10f3fe Minor vintage gcc lints. 1991-08-23 21:42:01 +00:00
Roland Pesch
d7c2f2ddd5 * WHATS.NEW: correct pointer to refcard. 1991-08-23 21:10:02 +00:00
Roland Pesch
d98259f8ac * doc/gdb.texinfo: update New Features, Installing
* doc/gdbint.texinfo: add short description of configure +template
1991-08-23 21:09:33 +00:00
John Gilmore
81b0b547d6 * GDB-4.0 release!
* Makefile.in (VERSION):  Roll to 4.0.
        (gdb.tar.Z):  Make refcard.ps as well, for shipment.
1991-08-23 20:48:14 +00:00
Roland Pesch
6d4100b71d note doc/gdb.texinfo changed. 1991-08-23 18:48:44 +00:00
John Gilmore
299eb5f15f Fix Makefile.in to build 4.0 rel. 1991-08-23 08:48:29 +00:00
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