Commit Graph

95 Commits

Author SHA1 Message Date
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
Roland Pesch
5bff26001a *** empty log message *** 1991-07-31 23:37:41 +00:00
John Gilmore
adf2bb5864 Update for 3.98 release. 1991-07-31 19:08:36 +00:00
John Gilmore
dc0c3f64b6 Tighten up for gdb-3.98 release. 1991-07-31 00:34:07 +00:00
Roland Pesch
a56a0f68ba *** empty log message *** 1991-07-29 22:21:57 +00:00
Roland Pesch
a8b765617e *** empty log message *** 1991-07-27 00:52:01 +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
920ba794a7 *** empty log message *** 1991-07-24 01:55:18 +00:00
John Gilmore
101f259c8f Make mipsread.c handle static symbols, both in psymtabs and symtabs. 1991-07-19 07:09:41 +00:00
John Gilmore
36b9d39cf4 * findvar.c (find_var_value): Handle &function better.
* TODO:  Document work needed on &fn and &array.
        * printcmd.c (print_address_symbolic):  New arg is the prefix
        to print if a name is printed.
        (print_address_demangle):  Honor "set print address" now.
        Use new arg above to improve spacing of output.
        * valprint.c (val_print):  When printing function pointers,
        print symbolic form too.
        * breakpoint.c (breakpoint_1):  Use new print_address_symbolic.
1991-07-14 07:48:06 +00:00
John Gilmore
b8c50f0918 * core.c (memory_error): Reword error msg to mislead less.
* mips-pinsn.c (print_insn_arg 'd'):  Print $ with reg name.

        * mipsread.c (read_mips_symtab, read_the_mips_symtab,
        parse_partial_symbols): Use newer BFD internals (external_filehdr
        and external_aouthdr), byte-swap the fields that we care about
        before using them, and make the file header data local to
        read_the_mips_symtab rather than global.
1991-07-09 02:08:13 +00:00
John Gilmore
d2ca8714e7 *** empty log message *** 1991-07-07 05:29:03 +00:00
John Gilmore
2a8afebabf * main.c (command_line_input): Flush stdout and stderr
before every call to readline.  This reportedly fixes a bug
        that comes up in Sys V running emacs-gdb and/or xxgdb,
        when stdin/out are pipes or sockets.
1991-07-06 08:36:34 +00:00
John Gilmore
6988f5c0ae Thu Jul 4 14:47:06 1991 John Gilmore (gnu at cygint.cygnus.com)
* configure.in, Makefile.in:  Avoid rebuilding "depend" as much.
        Avoid declaring Makefile dependencies, because GNU Make stupidly
        tries to update it if we do.

        * coffread.c:  Revise for minor changes to bfd internal coff
        indexes.

        * configure:  If -template= is given a relative path, make it
        absolute before recurring in subdirectories.
1991-07-05 00:04:59 +00:00
John Gilmore
76b4be1296 * sparc-opcode.h (trap opcodes): Avoid leading spaces or
tabs, which end up in the disassembler output inadvertently.
1991-06-25 06:50:31 +00:00
Roland Pesch
59500745a4 * Makefile.dist, doc/gdb.texinfo, doc/*-m4.texinfo: split up GDB
docn into separate sections---basically chapters, plus two loose
	pieces that can be configured to go in different places.  This
	allows GNU m4 to preprocess the manual without coredumping.

	* Makefile.dist: tell TeX where to find texinfo.
1991-05-23 01:22:06 +00:00
Roland Pesch
bce4bf525f * Makefile.dist, doc/gdb.texinfo: respectively create, and use,
the new target "rdl-apps.texinfo" which captures the Makefile
	variable that records where to find the Readline libraries.
1991-05-20 19:19:41 +00:00
John Gilmore
32ce076dc6 Add rev # 1991-05-19 16:09:01 +00:00
John Gilmore
361cc81add update for release 1991-05-19 16:01:39 +00:00
John Gilmore
477cf2a958 Update from Rich's damage and try for a releasable directory.
Minor Bothner changes.
1991-05-19 15:08:57 +00:00
Roland Pesch
2ec11e91b5 *** empty log message *** 1991-05-17 23:19:08 +00:00
Roland Pesch
2e4fd3d631 *** empty log message *** 1991-05-17 22:53:05 +00:00
Roland Pesch
e9d6f412f0 *** empty log message *** 1991-05-17 21:43:25 +00:00
Roland Pesch
8e34c36073 *** empty log message *** 1991-05-17 01:14:04 +00:00
Roland Pesch
0f98282646 *** empty log message *** 1991-05-16 04:09:54 +00:00
Roland Pesch
55a64af6ea *** empty log message *** 1991-05-16 02:20:20 +00:00
Roland Pesch
d84e045fc7 *** empty log message *** 1991-05-16 00:46:44 +00:00
Roland Pesch
8dc805ad84 *** empty log message *** 1991-05-15 18:11:10 +00:00
John Gilmore
a37c68f7a2 readline update 1991-05-15 17:36:32 +00:00
John Gilmore
68cf97936e Fix duplicated entry in ChangeLog. 1991-05-15 17:30:02 +00:00
Roland Pesch
72f6386b5f * Makefile.dist: put gdb.dvi stuff (updated to use M4 preprocessor
stuff for config manual) here where it counts; updated
	to use new subdir structure (gdb/doc/).

	* Makefile: generated from above via
		    config.gdb none
	before checkin
1991-05-14 23:34:41 +00:00
Roland Pesch
9c416cbdb8 (1) removed "gdb.info*" files (just introduced) from CVS;
(2) instead,
	* gdbint.texinfo: added instructions on generating gdb.info* files
	locally for release.
1991-05-14 22:34:12 +00:00
Roland Pesch
2c85a5a97b * gdb.info*: added to distribution. These are ordinary info
files, formatted from gdb.texinfo (via gdb-all.texinfo, see
	Makefile)---but due to use of texinfo 2, can't count on makeinfo
	to generate these, so we distribute them already formatted.

	* gdb.texinfo: included full Info node and menu crud (as generated
	by C-u M-x texinfo-master-menu using the texinfo-2 elisp code).

	* Makefile: updated "gdb.dvi" target to use M4 preprocessor;
	put in comments-for-future gdb.info target (one day makeinfo will
	work again).
1991-05-14 22:07:52 +00:00
Roland Pesch
14719f8df6 *** empty log message *** 1991-05-14 20:55:08 +00:00
John Gilmore
e072c73824 * mipsread.c: Rather than keeping count of how many symtabs
and psymtabs we have, for sorting purposes, count them when
        we need to sort.  This fixes bug in rereading of symbol tables.
1991-05-13 21:59:43 +00:00
Roland Pesch
616da99975 *** empty log message *** 1991-05-10 22:46:08 +00:00
John Gilmore
5594d534a2 Saber C (lint) cleanups, and a few bug fixes. See ChangeLog. 1991-05-04 23:15:02 +00:00
John Gilmore
77ac93922c See ChangeLog. 1991-05-04 05:07:07 +00:00
Roland Pesch
1722479547 *** empty log message *** 1991-05-03 20:19:18 +00:00
Jim Kingdon
8e7457b2aa *** empty log message *** 1991-05-03 06:06:53 +00:00
John Gilmore
8ffd75c8a9 Mips bringup and general cleanup
* cplus-dem.c:  Move CPLUS_MARKER define to after defs.h.
        * infptrace.c (PT_WRITE_D, PT_READ_D):  Use correct values.
        (This still doesn't seem to make MIPS bkpts work.)
        * mipsread.c:  Remove dup "Reading symbol data..." msg.
        (symbol_file_command, add_file_command):  Remove, obsol.
        * printcmd.c (ptype_command):  Say "an enum" rather than "a enum".
        Wrap output appropriately.
        * stack.c (locals_info, catch_info, args_info):  Check
        selected_frame rather than target_has_stack or coredumping.
        * valprint.c (type_print_varspec_suffix):  Wrap "ptype" output of
        enums appropriately.
1991-05-03 01:07:12 +00:00
Jim Kingdon
2d0c090e48 * blockframe.c, breakpoint.c, core.c, command.c, findvar.c,
eval.c, expprint.c, infcmd.c, infrun.c, main.c, printcmd.c,
	remote.c, source.c, stack.c, dbxread.c, coffread.c, symfile.h,
	symfile.c, utils.c, valarith.c, values.c, valops.c, tm-68k.h,
	target.c, inftarg.c, ieee-float.c, environ.c, defs.h,
	command.h, inferior.h, gdbcore.h, symtab.h, expression.h,
	symtab.c, cplus-dem.c, value.h, expread.y, valprint.c,
	copying.awk, solib.c, inflow.c, symmisc.c
	: Lint.  Use read_memory not read_memory_integer on CORE_ADDR's.
	Use {value_as,unpack}_pointer (added to values.c)
	not {value_as,unpack}_long on CORE_ADDR's.
	Use longest_to_int (added to defs.h) instead of cast to int.
	Remove from_tty arg to mod_path.
	Put symfile_bfd in {coff,dbx}read.c not symfile.h.
	Use OP_NULL instead of 0 where dummy enum exp_opcode needed.
1991-05-02 04:36:15 +00:00
Jim Kingdon
04a0511c0a * signame.c: Include defs.h and param.h. 1991-05-02 04:17:41 +00:00
Michael Tiemann
aec4cb918e Tue Apr 30 13:13:33 1991 Michael Tiemann (tiemann at cygint.cygnus.com)
* valprint.c (type_print_base): If the type being printed is a
	struct containing undefined types, print "<undefine type>"
	as the type instead of crashing.
	* values.c (value_headof): Get the vtable pointer taking
	TYPE_VPTR_BASETYPE into account.
	* symtab.c, symtab.h, dbxread.c: Fix various whitespace splotches.
1991-04-30 20:19:02 +00:00
Jim Kingdon
98c1b9e79b *** empty log message *** 1991-04-30 19:51:50 +00:00
Jim Kingdon
79043f9ee8 * infrun.c: Don't include sys/user.h and friends (wrong for
cross-debugging and not necessary anymore (see IN_SIGTRAMP in
	xm-vax.h)).
	[SET_STACK_LIMIT_HUGE]: Include <sys/{resource,time}.h>.
	xm-tahoe.h: Don't define _DIRENT_.

	* xm-tahoe.h: Remove USE_OLD_TTY (not needed now that terminal.h
	includes sgtty.h before sys/ioctl.h).
1991-04-29 20:54:42 +00:00