Commit Graph

145 Commits

Author SHA1 Message Date
Marcel Moolenaar
0ffcd81703 Import files needed for PowerPC support and not included in the
original GDB 6.1.1 import.
2006-08-23 03:28:37 +00:00
Marcel Moolenaar
7eab377589 This commit was generated by cvs2svn to compensate for changes in r161537,
which included commits to RCS files with non-trunk default branches.
2006-08-23 03:28:37 +00:00
Marcel Moolenaar
78cf5f2fcd Abstract the handling of dirty stacked registers in ia64_read_reg() and
ia64_write_reg() and call these whenever we read or write registers from
and to memory. This way we correctly read registers from addresses in
the register cache and thus fixes backtraces when the saved registers
(such as rp and ar.pfs) are in dirty stacked registers.
2004-09-05 06:17:25 +00:00
David Xu
82552011ab Disable surplus detection of breakpoint event in signal stack, the check
causes a normal breakpoint event in new thread to be ignored unexpectly,
result is process SIGSEGV.

Test on: AMD64, i386
2004-08-15 12:31:30 +00:00
Marcel Moolenaar
4fd6e2a0c9 Various improvements for ia64:
o  s/TARGET_XFER_DIRTY/NATIVE_XFER_DIRTY/g to be conformant,
o  Handle TARGET_OBJECT_DIRTY for core files. Required on Linux,
o  Replace ia64_fbsd_supply_fpregs() and ia64_fbsd_supply_gregs()
   with supply_fpregset() and supply_gregset() resp. Needed to
   support libthread_db.
o  For target_read_partial(), pass the address of bspstore as the
   annex instead of bspstore itself. This fixes crossbuilds. The
   annex is a pointer, while bspstore is a ULONGEST.
o  In ia64_frame_prev_register(), handle dirty stacked registers.
2004-07-27 03:54:16 +00:00
Marcel Moolenaar
a2d5bce4ea This file was not used to import gdb. Remove. 2004-07-19 00:20:33 +00:00
Marcel Moolenaar
9a067406de Remove fbsd-thread.o, it's not for consumption yet. 2004-06-25 22:57:56 +00:00
Marcel Moolenaar
fd10b3fb49 Update HEAD with support for ia64. 2004-06-25 05:37:08 +00:00
Marcel Moolenaar
f8c1b85b49 Add support for ia64. This code will be contributed to GDB as soon
as the legal prerequisites are met. To avoid future merge conflicts,
this is added to the vendor branch. The changes are seperately kept
in FREEBSD-diffs for easy reference.
2004-06-25 05:19:25 +00:00
Marcel Moolenaar
f200cb78cf This commit was generated by cvs2svn to compensate for changes in r131082,
which included commits to RCS files with non-trunk default branches.
2004-06-25 05:19:25 +00:00
Marcel Moolenaar
45d6662f23 Update the upgrade instructions. 2004-06-25 05:04:09 +00:00
Marcel Moolenaar
cb4214d848 Remove from HEAD, that what is not on the vendor branch anymore. 2004-06-20 20:40:44 +00:00
Marcel Moolenaar
47184b5ed9 Revive files which were pulled from the vendor branch only to be
removed on HEAD, but which are part of the GDB 6.1.1 import. This
makes HEAD identical to the vendor branch, for better or for
worse.
2004-06-20 20:36:15 +00:00
Marcel Moolenaar
c07ff117d2 Update to GDB 6.1.1. These files are identical to the vendor branch. 2004-06-20 19:47:29 +00:00
Marcel Moolenaar
18576197aa Update to match the GDB 6.1.1 import. 2004-06-20 19:15:58 +00:00
Marcel Moolenaar
fa833e1ed7 Remove files from the vendor branch that are not part of the GDB 6.1.1
import.
2004-06-20 19:05:30 +00:00
Marcel Moolenaar
281ad6bf75 This commit was generated by cvs2svn to compensate for changes in r130805,
which included commits to RCS files with non-trunk default branches.
2004-06-20 19:05:30 +00:00
Marcel Moolenaar
f759f84884 Import of GDB version 6.1.1 (stripped; see FREEBSD-Xlist rev. 1.6). 2004-06-20 18:26:14 +00:00
Marcel Moolenaar
e8077c0e5b This commit was generated by cvs2svn to compensate for changes in r130803,
which included commits to RCS files with non-trunk default branches.
2004-06-20 18:26:14 +00:00
Marcel Moolenaar
9706b0c96f This file was not part of the GDB 5.2.1 import and should have been
deleted from the vendor branch.
2004-06-20 02:30:48 +00:00
Marcel Moolenaar
4d359ceaf0 This file was not part of the GDB 5.2.1 import and should have been
deleted from the vendor branch.
2004-06-20 01:55:44 +00:00
Marcel Moolenaar
fdedc45ff6 This file was not part of the GDB 5.2.1 import and should have been
deleted from the vendor branch.
2004-06-19 15:43:52 +00:00
Marcel Moolenaar
90184f6712 This file has been removed from HEAD when it should (also) have been
removed from the vendor branch.
2004-06-19 03:39:16 +00:00
Marcel Moolenaar
f2d7e86a8a This file is not part of GDB 5.2.1, but was off the vendor branch. 2004-06-18 06:10:13 +00:00
Marcel Moolenaar
7c909649fa Revert local changes. 2004-06-18 05:57:05 +00:00
Marcel Moolenaar
a49a3b3d09 This file is not part of GDB 5.2.1 and is also off the vendor branch.
It was removed on 2001-11-07, according to ChangeLog.
2004-06-18 04:57:26 +00:00
Poul-Henning Kamp
e05f78b831 Track changed definition of the debug registers.
Sorry for missing this the first time.
2002-10-21 05:33:05 +00:00
Mark Peek
c4222cfe76 Document import of gdb-5.2.1. 2002-10-12 21:33:49 +00:00
Mark Peek
aee7842826 Resolve conflicts with gdb-5.2.1 import. 2002-10-12 17:56:57 +00:00
Mark Peek
f0f8ce0889 Import gdb-5.2.1 2002-10-12 17:47:36 +00:00
Mark Peek
ba3e1918be This commit was generated by cvs2svn to compensate for changes in r104990,
which included commits to RCS files with non-trunk default branches.
2002-10-12 17:47:36 +00:00
David E. O'Brien
e2a86a90af Make our i386 hacks in a less vendor file disturbing manner. 2002-07-10 07:48:45 +00:00
David E. O'Brien
a841c6d1fa Quiet warnings by making this ANSI-C clean. 2002-07-09 17:01:47 +00:00
David E. O'Brien
84b39cc0d1 Vendor import of GDB 5.2.
These bits are taken from the FSF gdb_5_2-branch anoncvs repo
on 27-June-2002 12:01:00 EDT.
2002-06-29 01:43:09 +00:00
David E. O'Brien
8243fdf19a This commit was generated by cvs2svn to compensate for changes in r99005,
which included commits to RCS files with non-trunk default branches.
2002-06-29 01:43:09 +00:00
David E. O'Brien
5916819790 - kernel core debugging for i386 (Mark Peek)
- thread debugging for i386 (Mark Peek) and alpha (Doug Rabson)

Submitted by:	mp,dfr
2002-06-29 00:42:52 +00:00
David E. O'Brien
ff6bc74c1f Note that this is a modified version of GDB. 2002-06-29 00:41:02 +00:00
David E. O'Brien
bfe3e69e9e Use the stock source. 2002-06-29 00:38:44 +00:00
David E. O'Brien
cf107641c3 Best that I can tell, we've never used these files. 2002-06-29 00:36:19 +00:00
David E. O'Brien
98652bc8b6 Vendor import of GDB 5.2.
These bits are taken from the FSF gdb_5_2-branch anoncvs repo
on 27-June-2002 12:01:00 EDT.
2002-06-28 03:29:27 +00:00
David E. O'Brien
4f4fc83241 This commit was generated by cvs2svn to compensate for changes in r98954,
which included commits to RCS files with non-trunk default branches.
2002-06-28 03:29:27 +00:00
David E. O'Brien
471772ba06 Actually rev 1.3 (don't declare tilde_expand()) is needed with GDB 5.2. 2002-06-28 01:13:52 +00:00
David E. O'Brien
dd7299c825 Our FreeBSD custom changes are OBE. Return to using the stock vendor sources. 2002-06-28 00:14:03 +00:00
David E. O'Brien
bb319416d0 Vendor import of GDB 5.2.
These bits are taken from the FSF gdb_5_2-branch anoncvs repo
on 27-June-2002 12:01:00 EDT.
2002-06-27 23:04:23 +00:00
David E. O'Brien
2bf844deae This commit was generated by cvs2svn to compensate for changes in r98944,
which included commits to RCS files with non-trunk default branches.
2002-06-27 23:04:23 +00:00
David E. O'Brien
1c29203648 Use these malloc-like bits from libiberty now. 2002-01-27 12:45:01 +00:00
David E. O'Brien
e5b85648a2 Remove the filename_completion_function() extern that conflicts with the
latest version of this fuction in Readline 4.2
2001-04-14 01:49:32 +00:00
David E. O'Brien
5e4c98b1a6 The internal declaration for tilde_expand() now conflicts with the one
that was finally added to the readline headers in readline 4.2.

Submitted by:	ache
2001-04-11 16:15:19 +00:00
David E. O'Brien
3cf5f81f9f Change "*coff*" to "coff*" so that the pattern will not dike out xcoffsolib.h.
I'll revisit the pattern on the next import.
2001-03-30 02:37:55 +00:00
David E. O'Brien
7fd39efb06 Remove these MD files that we've never needed. 2001-03-30 01:44:39 +00:00
David E. O'Brien
fe45817a0c Remove this auto-generated file (and isn't part of 5.0 as it shouldn't be). 2001-03-30 01:41:02 +00:00
David E. O'Brien
e614c11f2c Remove these GDB 4.18 docs that did not make it into 5.0. 2001-03-30 01:40:04 +00:00
David E. O'Brien
3801fcd9f1 Remove this GDB 4.18 file that is no longer part of GDB [5.0]. 2001-03-29 20:53:56 +00:00
David E. O'Brien
cf1ed2f80f List of distfile contents to delete using rm' and find -delete'.
Simular to the FREEBSD-Xlist used with `tar -X ... -xf'.
This file is typically used when one starts with the GDB anoncvs repo
rather than a release tarball.
2001-03-24 09:37:48 +00:00
David E. O'Brien
6bb613ded9 Virgin import of gdb-5.0 2000-08-04 09:35:05 +00:00
David E. O'Brien
48a0f0c81a This commit was generated by cvs2svn to compensate for changes in r64234,
which included commits to RCS files with non-trunk default branches.
2000-08-04 09:35:05 +00:00
David E. O'Brien
3378439583 These files are for an arch we don't care about. 2000-08-04 08:34:04 +00:00
David E. O'Brien
c3a39688f9 Update for GDB 5.0. 2000-08-02 20:18:50 +00:00
David E. O'Brien
d283e618bd These files are for an arch we don't care about. 2000-08-02 11:56:42 +00:00
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
f2489878f0 Virgin import of gdb-4.18 1999-05-02 10:18:14 +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
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