Commit Graph

36 Commits

Author SHA1 Message Date
David E. O'Brien
bd70ab3989 These files were part of GDB 4.16, but not version 4.18 (that we
currently use).
2000-05-17 19:32:59 +00:00
Peter Wemm
6e24b2a8e2 Fix (I believe) Bill Paul's core dump when using gdb on shared executables.
This is an addition to rev 1.5.  If lm == NULL, new->lm is uninitialized.
1999-11-22 18:04:53 +00:00
Greg Lehey
8cb6a40a33 Reduce default timeout on remote serial debugging sessions from 20
seconds to 1 second.  This fixes a problem where gdb would appear to
hang on flaky serial connections.  There's a theoretical problem that
the relatively short timeout could cause problems on slow links, but
you can override the default value with the 'set remotetimeout'
command.

Approved-by:	dfr
1999-08-20 02:58:16 +00:00
Doug Rabson
48209778d3 Fix a coredump when debugging corefiles from static programs. 1999-05-22 08:25:02 +00:00
Doug Rabson
59b047e234 GC some unused files from gdb and add them to the exclude list for future
imports.
1999-05-03 20:50:12 +00:00
Doug Rabson
f36fcbd258 Resurrect a file for alpha support in GDB and add some minor FreeBSD tweaks.
Magic wand waved by: Peter Wemm <peter@netplex.com.au>
1999-05-02 16:08:02 +00:00
Doug Rabson
230ee8ad3f Delete parts of gdb which are now shared with binutils. 1999-05-02 15:34:14 +00:00
Doug Rabson
a408b2ea0c Add upgrade instructions to facilitate future gdb imports. 1999-05-02 11:59:45 +00:00
Doug Rabson
edc87f7d43 Merge local changes into gdb-4.18 and add changes for FreeBSD/alpha. 1999-05-02 11:25:35 +00:00
Doug Rabson
2887baec7d This commit was generated by cvs2svn to compensate for changes in r46283,
which included commits to RCS files with non-trunk default branches.
1999-05-02 10:18:14 +00:00
Doug Rabson
f2489878f0 Virgin import of gdb-4.18 1999-05-02 10:18:14 +00:00
John Polstra
604f9db2d6 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
Doug Rabson
d5f1f6d3be 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
John Polstra
4f7bdec1e8 Bring core-regset.c back to life. It is needed for handling ELF
core dumps.
1998-09-14 20:53:47 +00:00
Bruce Evans
82890f2bb9 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
Doug Rabson
4e9648a861 Add support for baudrates higher than 37800. 1998-06-04 06:43:01 +00:00
Doug Rabson
07d72466e5 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
Bruce Evans
1e5b51ef70 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
Bruce Evans
7b6b0ca343 Backed out all FreeBSD changes. They are unnecessary now that bfd
understands kernels.

Reviewed by:	jdp
1997-12-19 21:09:20 +00:00
Bruce Evans
243d233f9f 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
Bruce Evans
27c62c22c7 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
John Polstra
5f6c54ce0a 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
Bruce Evans
b3174ab1ce Removed most unused files (about 8M total). 1997-06-29 18:12:14 +00:00
Bruce Evans
82db78fb71 Removed unused files (about 8MB total). 1997-06-29 18:06:40 +00:00
Satoshi Asami
7371365efc Make all the info dir entries line up neatly. 1997-05-28 07:49:21 +00:00
Paul Traina
ae56d56bdf Base work to make gdbserver work with FreeBSD 1997-04-03 00:29:25 +00:00
Peter Wemm
226e691b4c Don't use these that were generated on a foreign system, generate our own. 1997-03-29 10:36:49 +00:00
Bruce Evans
f90e4276f2 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
Bruce Evans
145f6cb629 Attempt to (re-?)import enough of gdb's configuration files for
./configure to work.
1997-03-16 17:37:16 +00:00
Bruce Evans
39f44bd04f 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
Bruce Evans
6ca2402eef Removed binary file. 1997-03-16 15:10:43 +00:00
Bruce Evans
a4bd858367 Removed unnecessary #include of obsolete <sys/dir.h> again. 1997-02-16 17:16:29 +00:00
Bruce Evans
f0be65cc4c Removed unnecessary #include of obsolete <sys/dir.h> again. 1997-02-15 17:10:52 +00:00
Bruce Evans
4f69a041d5 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
Gary Jennejohn
8a9a74a887 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
Paul Traina
7929041ebe 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