Commit graph

5579 commits

Author SHA1 Message Date
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
Jim Kingdon
192040b131 {x,t}m-tahoe.h, tahoe-pinsn.c, tahoe-opcode.h: New files. 1991-04-29 05:28:47 +00:00
Jim Kingdon
5d98a45f63 * tm-sparc.h: Add comments about gcc version 2 and structure passing. 1991-04-26 23:09:53 +00:00
Jim Kingdon
689f801a79 *** empty log message *** 1991-04-26 23:09:52 +00:00
Jim Kingdon
a36f604047 This is the last one I gave to Telebit, minus all the print_msg's. 1991-04-24 19:33:31 +00:00
Jim Kingdon
a1002e9ab0 * WHATS.NEW: Remove mention of readline and more paging (in 3.5).
Try to keep command names up to date with renaming.
1991-04-24 19:30:10 +00:00
Jim Kingdon
be11d1119a * gmalloc.c [!HAVE_GETPAGESIZE]: Try to figure out the pagesize. 1991-04-24 19:18:42 +00:00
Jim Kingdon
eb7ba50c7c * remote.c (getpkt): Don't set immediate_quit. 1991-04-24 17:14:10 +00:00
Jim Kingdon
2403f49b37 * blockframe.c, frame.h (reinit_frame_cache): New function.
solib.c (solib_add), symfile.c ({,add_}symbol_file_command):
	Use it.
1991-04-24 16:56:40 +00:00
Jim Kingdon
b039ac3a20 * symtab.c (lookup_symbol): Add 3 more of those loops through
the symtabs which we all know and love: (1) Look in the
	STATIC_BLOCK for mangled symbols right after we check the blocks,
	(2, 3) Look in the STATIC_BLOCK for all the symtabs and psymtabs
	at the end.
1991-04-24 02:23:40 +00:00
Jim Kingdon
9107291db4 * main.c (cd_command): Call dont_repeat.
* dbxread.c (read_struct_type): If const/volatile character is
	missing, don't complain, just continue.

	* dbxread.c (read_struct_type): Only try to read the fcontext if
	it is there.  Also change "error_type " to "return error_type ".
	values.c (value_virtual_fn_field): If there is no fcontext,
	then do things the way GDB 3.x did.
	valops.c (search_struct_method): Add type to value_virtual_fn_field
	arguments.

	* dbxread.c (read_struct_type): Fix typo: *pp != '\0' -> **pp != '\0'.
1991-04-24 00:08:50 +00:00
Jim Kingdon
269c301158 Use unpush_target not pop_target in core_open. 1991-04-23 02:19:43 +00:00
Jim Kingdon
9a822037b1 *** empty log message *** 1991-04-23 01:11:11 +00:00
Jim Kingdon
d0237a54e5 * Shared libaray/corefile changes from Peter Schauer:
core.c (core_close): Call CLEAR_SOLIB.
	(core_open): Remove comment about "should deal with shared lib".
	(core_xfer_memory): If we can't xfer the usual way, try the
	shared libraries.
	solib.c (so_list): New fields so_bfd and so_sections{,_end}.
	(find_solib): Use solib_map_sections to get ld_text.
	(solib_map_sections, solib_xfer_memory): New functions.
	(clear_solib): Free so_sections and close so_bfd.
	tm-sunos.h: Add solib_xfer_memory, solib_add.
1991-04-23 00:05:24 +00:00
Jim Kingdon
192cbba944 * sparc-tdep.c (skip_prologue): Don't skip anything unless there
is a "save" instruction in there somewhere.
1991-04-22 21:40:42 +00:00
Jim Kingdon
5730a14e76 Fix the fix to the appearance of the ChangeLog 1991-04-22 20:12:14 +00:00
Jim Kingdon
0e000acdc9 Fix appearance of ChangeLog. 1991-04-22 20:11:42 +00:00
Jim Kingdon
b3fdaf3d36 * symfile.c (symbol_file_add): Add comment.
solib.c (solib_add): Don't malloc name passed to symbol_file_add.
1991-04-22 20:09:26 +00:00
Jim Kingdon
fcb887ffcd * breakpoint.c (bpstat_print): Try all elements on the bpstat
chain before giving up with an internal error.

Sun Apr 21 21:43:10 1991  Jim Kingdon  (kingdon at cygint.cygnus.com)

	* value.h, values.c (value_{,free_to_}mark): New functions.
	breakpoint.c (bpstat_stop_status): Use them.
1991-04-22 07:08:07 +00:00
Jim Kingdon
33614d0fc6 * tm-i386v{,-g}.h: Remove N_SET_MAGIC define. 1991-04-22 04:45:26 +00:00
Jim Kingdon
2b325024a8 * i386-tdep.c: Remove unnecessary #includes. 1991-04-21 05:59:53 +00:00
Jim Kingdon
b203fc1803 * coffread.c (find_linenos): Use LINESZ not sizeof (struct lineno).
* coffread.c (end_symtab): Initialize language, dirname, and
	fullname fields.
1991-04-21 05:17:05 +00:00
Jim Kingdon
ff8aef1993 signame.c: Change #ifdef SYS_SIGLIST_MISSING to #if.
param-no-tm.h: Define SYS_SIGLIST_MISSING from USG.
1991-04-20 01:02:34 +00:00
Jim Kingdon
696d660be0 * tm-68k.h (NUM_REGS): Conditionalize on TARGET_SUN3 not sun.
tm-sun3.h: Define TARGET_SUN3.
1991-04-20 00:31:01 +00:00
Jim Kingdon
f88e7af831 * utils.c: Use CPLUS_MARKER not '$'.
* cplus-dem.c: Use CPLUS_MARKER not '$'.  If CPLUS_MARKER isn't
	defined, define it to '$'.
1991-04-19 23:50:06 +00:00
Jim Kingdon
9ba8a5a46b * arm-opcode.h: New file (same contents as before; it had
just been left out of the distribution for a long time).
1991-04-19 23:37:10 +00:00
Jim Kingdon
de6060deb1 * tm-68k.h: Put declaration of ext_format_68881 outside the macros. 1991-04-19 22:04:24 +00:00
Jim Kingdon
d566d62a5a * main.c: New HAVE_SIGSETMASK #ifdefs. 1991-04-19 21:49:27 +00:00
Jim Kingdon
c1ace5b596 * Makefile.dist (cplus-dem.o): Hack in an #include "param.h"
before we compile it.
	defs.h: Protect against multiple inclusion.
	param.h: Include defs.h.
1991-04-19 17:28:32 +00:00
Jim Kingdon
c93a350722 * i386-pinsn.c (OP_E): Change %d to 0x%x for consistency. 1991-04-19 07:06:13 +00:00
Jim Kingdon
15a4241049 *** empty log message *** 1991-04-19 04:42:29 +00:00
John Gilmore
3ead667539 One more time 1991-04-19 02:01:49 +00:00
Jim Kingdon
9136fe4948 *** empty log message *** 1991-04-19 01:58:50 +00:00
Jim Kingdon
a7d50b0adf *** empty log message *** 1991-04-19 01:45:22 +00:00
John Gilmore
543e29f11a Update for Jim Kingdon to merge his stuff in. 1991-04-19 01:22:24 +00:00
John Gilmore
447b99fa65 * exec.c (exec_ops): Add_syms_addr is valid in our tvec.
(set_section_command):  New command ("section xxx yyy" -- should
	be renamed to "set section xxx yyy" FIXME) which sets the
	base address of a section of the exec file, overriding the
	virtual address that BFD reports.
1991-04-09 07:04:22 +00:00
John Gilmore
3f2e006b77 *** empty log message *** 1991-04-05 09:02:10 +00:00
K. Richard Pixley
bd5635a1e2 Initial revision 1991-03-28 16:26:26 +00:00
John Gilmore
831c851165 Initial revision 1990-09-05 17:54:31 +00:00
gdb-3.5
7a67dd45ca gdb-3.5 2012-06-03 15:36:32 +01:00
gdb-3.4
1c997a4ae8 gdb-3.4 2012-06-03 15:36:32 +01:00
gdb-3.3
4187119d59 gdb-3.3 2012-06-03 15:36:32 +01:00
gdb-3.1
e91b87a368 gdb-3.1 2012-06-03 15:36:31 +01:00
gdb-2.8
3bf57d2108 gdb-2.8 2012-06-03 15:36:31 +01:00
gdb-2.5.1
632ea0ccc5 gdb-2.5.1 2012-06-03 15:36:30 +01:00
gdb-2.4+.aux.coff
7b4ac7e1ed gdb-2.4+.aux.coff 2012-06-03 15:36:30 +01:00