Commit Graph

25 Commits

Author SHA1 Message Date
jdp
b34bb6d5a4 Fix bug: If gdb couldn't find the dynamic linker's "r_debug_state"
symbol, it aborted with "virtual memory exhausted."  Now it warns
about the problem and proceeds.
1999-02-21 19:58:36 +00:00
dfr
9abc86084b Rewrite the bits of the solib code to handle implentations where dlopen
may insert into the list of loaded libraries (ours is one) instead of
appending to the end of the list.  Also cope with dlclose() removing
libraries from the list.
1998-09-25 14:39:52 +00:00
jdp
b100b6ea82 Bring core-regset.c back to life. It is needed for handling ELF
core dumps.
1998-09-14 20:53:47 +00:00
bde
46d0d58de9 Don't assume that time_t is long. Don't assume that time_t's can be
represented by ints.  Keep assuming that time_t's can be represented
by longs.
1998-06-29 16:30:43 +00:00
dfr
42bfb0ad24 Add support for baudrates higher than 37800. 1998-06-04 06:43:01 +00:00
dfr
0925595f73 Use the dynamic symtab of the runtime linker when looking for places to set
breakpoints.  It may have been installed stripped.
1998-04-30 07:56:18 +00:00
bde
4859a7febe Fixed copying of N_TXTADDR() from the system version in the previous
revision.  N_TXTADDR() was 0x20 too high in the usual case.

Reported by:	luoqi@watermarkgroup.com (Luoqi Chen)
1998-01-16 08:46:50 +00:00
bde
93f1da9dce Backed out all FreeBSD changes. They are unnecessary now that bfd
understands kernels.

Reviewed by:	jdp
1997-12-19 21:09:20 +00:00
bde
98ed8d085c Override gdb's version of N_TXTADDR() with the (new) system version
so that gdb gets the text address right for kernels.  Override some
other macros to get a consistent set.

Reviewed by:	jdp
1997-12-19 21:08:54 +00:00
bde
a3800989c1 Close some file descriptors on exec so that the inferior process gets
a normal environment.  Fd's 3 and 4 were usually left open.
1997-12-17 13:23:51 +00:00
jdp
769d92643f The previous revision (objfiles.c:1.2) fixed backtracing in the
absence of full debugging symbols for the kernel, but broke it for
application programs.  This commit disables that change except when
kernel debugging mode is in effect.

This needs to go into -2.2 as well, after a suitable burn-in period.
1997-11-27 21:26:08 +00:00
bde
00d5c77272 Removed most unused files (about 8M total). 1997-06-29 18:12:14 +00:00
bde
7965a88eb1 Removed unused files (about 8MB total). 1997-06-29 18:06:40 +00:00
asami
b15bba4e8b Make all the info dir entries line up neatly. 1997-05-28 07:49:21 +00:00
pst
3b050a1d41 Base work to make gdbserver work with FreeBSD 1997-04-03 00:29:25 +00:00
peter
471b960858 Don't use these that were generated on a foreign system, generate our own. 1997-03-29 10:36:49 +00:00
bde
5610d80b62 Quick fix for section limits not being relocated. This has always been
broken for gdb -k, but the section limits weren't used much in previous
versions of gdb in FreeBSD.  Now they are used for backtracing when full
symbols aren't available, and in some other new cases.

This should be fixed properly by someone who knows bfd.

This should be fixed in 2.2.
1997-03-22 04:44:51 +00:00
bde
3991a3ec86 This commit was generated by cvs2svn to compensate for changes in r23943,
which included commits to RCS files with non-trunk default branches.
1997-03-16 17:37:16 +00:00
bde
410254a3c8 Attempt to (re-?)import enough of gdb's configuration files for
./configure to work.
1997-03-16 17:37:16 +00:00
bde
23ab65a9de Removed binary file. 1997-03-16 15:10:43 +00:00
bde
8f4c091aa8 Removed unnecessary #include of obsolete <sys/dir.h> again. 1997-02-16 17:16:29 +00:00
bde
f279b3c5d4 Removed unnecessary #include of obsolete <sys/dir.h> again. 1997-02-15 17:10:52 +00:00
bde
f1e26358e1 Restored my fixes for printing the FP registers. Their
history was lost with FreeBSD-1.x and they were blown away
by the gdb-4.16 merge.  I needed this to debug e_exp.S ...

Restored even older code (from 386BSD-0.0) for converting the
FP registers to doubles.  floatformat_to_double() and/or
valprint() still don't understand NaNs.

Removed unnecessary #include of obsolete <sys/dir.h> again.
1997-02-15 17:09:00 +00:00
gj
b757e4715d FreeBSD specific modifications.
Obtained from /usr/ports/devel/gdb.

2.2. candidate ?

Should I put $FreeBSD$ into these files ?
1997-01-15 21:49:58 +00:00
pst
d3bb4185d0 Import GDB in its full glory (all 25mb). We'll put it on a diet once it's
fully registered.

(This is the second try, the first import ignored .info files but not .info-*
 files, for some reason.  I'm going to make this consistent.)

Reviewed by:	core
Approved for:	2.2
1996-11-03 17:03:03 +00:00