Commit Graph

768 Commits

Author SHA1 Message Date
Fred Fish
b440b1e9e4 Various changes to clean up ADD_PSYMBOL_TO_LIST and ADD_PSYMBOL_ADDR_TO_LIST
usages.
1991-12-27 03:55:12 +00:00
John Gilmore
e39636f7e7 Roll VERSION to 4.3.2. 1991-12-24 19:39:16 +00:00
Per Bothner
7e258d18e0 Oodles of changes. The most important is adding support for stabs
encapsulated in mips ecoff.  See ChangeLog for the gory details.
1991-12-23 23:16:58 +00:00
Fred Fish
3e60a6b1d3 * config/mh-amix, config/mh-i386v4: Change to find alloca by
compiling and linking alloca.c, even when it is not strictly
  required.  Also arrange to link with -ltermlib rather than -ltermcap.
1991-12-23 03:44:49 +00:00
Fred Fish
431df2ebac * solib.c (locate_base): Fix uninitialized variable that was
causing return of random value to callee.

	* config/mh-amix, config/mh-i386v4:  Change to find alloca by
	compiling and linking alloca.c, even when it is not strictly
	required.  Also arrange to link with -ltermlib rather than
	-ltermcap.

	* Makefile.in:  Move TERMCAP definition to prior to inclusion
	of host makefile fragments so it can be overridden.
1991-12-23 03:43:48 +00:00
John Gilmore
6b5b330b26 * xcoffread.c (read_symbol_lineno): Logic error in incrementing
symbol table entry number.  (From Metin Ozisik.)
1991-12-21 00:36:59 +00:00
Fred Fish
b6d0f9b13f Keep the renamed svr4 files. 1991-12-20 22:36:58 +00:00
Fred Fish
70b74b930c Document change to config/mh-i386v4. 1991-12-20 19:52:35 +00:00
Fred Fish
ca9b13c75c Set XM_CLIBS to "-lc /usr/ucblib/libucb.a" so native compilers can find
alloca, but only if it is not found in the std C library.  Also forces
libc to be search before libucb.a, which contains much broken stuff we
*don't* want.
1991-12-20 19:48:13 +00:00
Fred Fish
ee1ad69ccd * configure.in, tm-amix.h, tm-i386v4.h, xm-amix.h, xm-i386v4.h:
Change svr4 references to sysv4.

* source.c:  Move declaration of external function index to
front of file so it is in scope for all references.

* utils.c (error, fatal):  Make definitions consistent with
defs.h declarations (declared as "volatile void").
1991-12-20 19:44:16 +00:00
Fred Fish
0837376f8c Renamed from xm-svr4.h xm-sysv4.h 1991-12-20 19:09:49 +00:00
Fred Fish
9d8728716d Renamed from tm-svr4.h to tm-sysv4.h 1991-12-20 19:08:12 +00:00
John Gilmore
859eb781d8 Bugfix rfe and stbrx instrucionts. 1991-12-20 18:56:37 +00:00
Stu Grossman
e182722827 * command.h, defs.h, eval.h, expression.h, remote-sa.sparc.c,
sparc-tdep.c, symtab.h, target.h, value.h, vx-share/ptrace.h,
vx-share/xdr_ptrace.h, vx-share/xdr_rdb.h:  ANSIfy enums.
CVS:
1991-12-19 01:16:03 +00:00
Stu Grossman
0a5d35ed30 * command.h, defs.h, eval.h, expression.h, remote-sa.sparc.c,
sparc-tdep.c, symtab.h, target.h, value.h, vx-share/ptrace.h,
vx-share/xdr_ptrace.h, vx-share/xdr_rdb.h:  ANSIfy enums.
1991-12-19 01:14:31 +00:00
Fred Fish
db1eca19a5 Add solib.o to TDEPFILES for these SVR4 systems. 1991-12-16 21:05:22 +00:00
Fred Fish
c7e53c85dc Document changes to config/tm-amix and config/tm-i386v4. 1991-12-16 21:04:40 +00:00
Fred Fish
6fa6e49649 Print the names of files from which symbols are being loaded if verbose
is set.
1991-12-16 21:01:34 +00:00
Fred Fish
f8b76e70b7 Numerous small changes and a complete reorganization of solib.c, to support
SVR4 shared libraries in a manner very close to the original SunOS support.
See the ChangeLog for details.
1991-12-16 20:57:28 +00:00
John Gilmore
76b2c3c8cb * infrun.c, remote-eb.c, remote-nindy.c, remote-vx.c: Remove
unused START_INFERIOR_HOOK.

* remote-eb.c:  Change timeout to 24 seconds (*10 fits in byte)
to account for slow loading from floppies.
(eb_create_inferior):  New fn, from eb_start and
nindy_create_inferior.
(eb_close):  Only use log_file if nonzero.
(eb_xfer_memory):  If not writing, then read!
(eb_read_inferior_memory, eb_write_inferior_memory):  Return length.
(eb_kill):  A new no-op.
(eb_mourn_inferior):  Remove breakpoints, then generically weep.
1991-12-14 04:18:45 +00:00
Fred Fish
619fd1455b Fix miscellaneous comparisons of integer with NULL that elicit compiler
warnings about comparisons of integer with pointer when NULL is defined
as ((void *) 0) rather than just a bare 0.
1991-12-14 00:13:05 +00:00
Roland Pesch
a9b4626ad9 More improvements in handling make from remote objdirs:
- remove inappropriate use of unsubdir (worked only accidentally)
 - make gdbVN.m4 generation work from remote objdir too;
 - fix bug in handling of readline appendices for roff translations
 - let GDB internals have the right val of TEXINPUTS for remote format, too
1991-12-13 21:26:18 +00:00
Roland Pesch
3f7458a40d Fix bug: gdbVN.m4 had stopped picking up version number. Now grabs it
again.  Verified for both Sun make and GNU make.
1991-12-13 19:46:42 +00:00
John Gilmore
ddf21240ab Improve how we ask for bug reports. 1991-12-13 17:48:06 +00:00
K. Richard Pixley
c466cfab84 infodir belongs in datadir 1991-12-11 04:15:50 +00:00
Roland Pesch
5f92dab820 Massage new readline appendix so texi2roff can understand markup
(text uses new @ftable command which texi2roff-2 doesn't grok)
for gdb.mm, gdb.me, gdb.ms targets
1991-12-10 02:42:26 +00:00
Roland Pesch
3e5afc2c5e Better support for building documentation targets in separate objdir
and srcdir (won't attempt to write in srcdir/doc).
1991-12-10 02:23:51 +00:00
Roland Pesch
088d39a498 rdl-apps.texi is no longer used, with the new improved doc Makefile.in. 1991-12-10 02:13:54 +00:00
Roland Pesch
cacf5942c4 Improve support for building in separate objdir (verified all individual
targets with each of GNU make and Sun make).
1991-12-10 01:21:48 +00:00
Michael Tiemann
7fb4dfc05d Integrated quick fixes to C++ handling of static member functions and
stub methods.  These changes are not complete in that a better
implementation will be more maintainable, but they make it possible to
debug groff with GDB.
1991-12-09 05:20:14 +00:00
Fred Fish
dda14b63ff Fix a problem on i386 systems where buffered code stream access was failing
to take into account the minimum size granularity of the code section.  For
now, the buffering is simply disabled until it can be done right.
There is still a similar problem in the i386 disassembly code for locations
within 20 bytes of the end of the code segment.
1991-12-08 02:24:21 +00:00
Fred Fish
e59622b438 Use macros to hide some of the ugly casting required in the previously
applied fix for pointers with the high bit set.
1991-12-08 02:17:29 +00:00
K. Richard Pixley
f7fde1e046 add a couple missing ${srcdir}s 1991-12-08 00:58:43 +00:00
John Gilmore
70fb2c9247 Set version to 4.3.1 so we won't mistake experimental for standard. 1991-12-08 00:51:08 +00:00
John Gilmore
66baba93a6 Merge gdb-4.3 and Rich's Makefile.in's. 1991-12-08 00:47:12 +00:00
John Gilmore
1bd0574a03 GDB-4.3 release! Roll VERSION and fixup minor gdb.tar.Z botch. 1991-12-08 00:41:23 +00:00
John Gilmore
5ea7c728db Merge Rich's overlapped changes with the gdb-4.3 version. 1991-12-08 00:38:56 +00:00
John Gilmore
4882e5dc98 Desupport i386sco, and mention the new readline. 1991-12-07 22:41:16 +00:00
John Gilmore
fbda4193fd Update for 4.3. 1991-12-07 15:52:36 +00:00
John Gilmore
1d0709e2a5 * gmalloc.c: Fix bug that causes malloc & free to
fail on systems where pointers have the high bit set (0x800efcf0
for example).  The problem is that the difference between two
pointers is a signed integer, so the computation

	(char *) 0x800efcf0 - (char *) 0

yields a negative value.  The sign of the result of the modulus
operator is machine dependent for negative operands, thus it is
possible for it to end up negative.  From Fred Fish.
1991-12-07 12:16:13 +00:00
K. Richard Pixley
93e17940c1 If you're going to nroff the man page, at least do it from the right place. 1991-12-07 08:54:17 +00:00
K. Richard Pixley
bc02876616 Sat Dec 7 00:00:15 1991 K. Richard Pixley (rich at rtl.cygnus.com)
* Makefile.in: install using INSTALL_PROGRAM and INSTALL_DATA.
	  added clean-info.  added some standards.text support and made it
	  look like our other Makefiles.

	* configure.in: mark this directory target dependent.  configure
	  now runs entirely in objdir so make existence tests and
	  references against ${srcdir}.

Thu Dec  5 22:46:13 1991  K. Richard Pixley  (rich at rtl.cygnus.com)

	* Makefile.in: idestdir and ddestdir go away.  Added copyrights
	  and shift gpl to v2.  Added ChangeLog if it didn't exist. docdir
	  and mandir now keyed off datadir by default.
1991-12-07 08:03:27 +00:00
K. Richard Pixley
570e17331e Fri Dec 6 23:57:34 1991 K. Richard Pixley (rich at rtl.cygnus.com)
* Makefile.in: remove spaces following hyphens, bsd make can't
	  cope.  install using INSTALL_DATA.  added clean-info.  added
	  standards.text support.

Thu Dec  5 22:46:12 1991  K. Richard Pixley  (rich at rtl.cygnus.com)

	* Makefile.in: idestdir and ddestdir go away.  Added copyrights
	  and shift gpl to v2.  Added ChangeLog if it didn't exist. docdir
	  and mandir now keyed off datadir by default.
1991-12-07 07:58:50 +00:00
Roland Pesch
29a2b7448c About 40% of changes sugg. by Bob Chassell 1991-12-07 04:19:03 +00:00
Roland Pesch
1c270bfdbf *** empty log message *** 1991-12-06 22:00:58 +00:00
Fred Fish
84ce6717b0 More fixes for opaque and anonymous enumerations, structures, and unions.
Now passes all current gdb test suite tests.
1991-12-06 19:51:01 +00:00
Fred Fish
5edf98d7a2 Fixes to improve opaque struct/union handling. Still fails to find the
complete definition for files outside the one containing the complete
definition, if that file has not yet been read in.  (Working on it...)
1991-12-06 16:37:20 +00:00
John Gilmore
7b2a87cab2 * symtab.c (decode_line_1): If SKIP_PROLOGUE leaves us in
mid-line, be more careful about possibly advancing to the next line.
1991-12-06 09:22:33 +00:00
Michael Tiemann
1cca172985 Fix off-by-one error in cplus name demangling. 1991-12-06 03:01:12 +00:00
Fred Fish
715cafcbde Several changes to fix misc problems with enums, structs, and unions,
including building symbol table entries for enumeration members.
1991-12-06 02:22:10 +00:00