Commit Graph

144 Commits

Author SHA1 Message Date
marcel
4e65ec3994 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
937dc493cf 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
davidxu
06718ccca1 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
b413f385c8 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
c55932b68d This file was not used to import gdb. Remove. 2004-07-19 00:20:33 +00:00
marcel
95daec2121 Remove fbsd-thread.o, it's not for consumption yet. 2004-06-25 22:57:56 +00:00
marcel
b40a3c5a45 Update HEAD with support for ia64. 2004-06-25 05:37:08 +00:00
marcel
4e5af60dad 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
b9baf21492 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
adcc0861a6 Update the upgrade instructions. 2004-06-25 05:04:09 +00:00
marcel
37de53b718 Remove from HEAD, that what is not on the vendor branch anymore. 2004-06-20 20:40:44 +00:00
marcel
f334d93656 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
78a152dbb1 Update to GDB 6.1.1. These files are identical to the vendor branch. 2004-06-20 19:47:29 +00:00
marcel
c457f5e534 Update to match the GDB 6.1.1 import. 2004-06-20 19:15:58 +00:00
marcel
620d7edb52 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
a4dae88ff5 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
ddb504ee41 Import of GDB version 6.1.1 (stripped; see FREEBSD-Xlist rev. 1.6). 2004-06-20 18:26:14 +00:00
marcel
180d072512 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
c6cc8e4a1e 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
c4172ccbdd 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
8af28d2f35 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
ba7e012f7a 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
f7aefb848d 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
efc3d2f6eb Revert local changes. 2004-06-18 05:57:05 +00:00
marcel
ec77b48150 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
phk
1cdc4d3dd3 Track changed definition of the debug registers.
Sorry for missing this the first time.
2002-10-21 05:33:05 +00:00
mp
573c813412 Document import of gdb-5.2.1. 2002-10-12 21:33:49 +00:00
mp
8ee3bb591c Resolve conflicts with gdb-5.2.1 import. 2002-10-12 17:56:57 +00:00
mp
88f121ea81 Import gdb-5.2.1 2002-10-12 17:47:36 +00:00
mp
d1dc488817 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
obrien
ce3a73d11c Make our i386 hacks in a less vendor file disturbing manner. 2002-07-10 07:48:45 +00:00
obrien
bca882d5e9 Quiet warnings by making this ANSI-C clean. 2002-07-09 17:01:47 +00:00
obrien
2cf1e97b17 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
obrien
9929e0fcf8 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
obrien
16a030e71f - 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
obrien
83ffbdce19 Note that this is a modified version of GDB. 2002-06-29 00:41:02 +00:00
obrien
0f9cb1113e Use the stock source. 2002-06-29 00:38:44 +00:00
obrien
48c467e54d Best that I can tell, we've never used these files. 2002-06-29 00:36:19 +00:00
obrien
85855d9a26 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
obrien
9247bfd639 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
obrien
4ac0047e0f Actually rev 1.3 (don't declare tilde_expand()) is needed with GDB 5.2. 2002-06-28 01:13:52 +00:00
obrien
0dcb205f46 Our FreeBSD custom changes are OBE. Return to using the stock vendor sources. 2002-06-28 00:14:03 +00:00
obrien
f458c59c23 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
obrien
24c014fcd5 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
obrien
cc46a9ac95 Use these malloc-like bits from libiberty now. 2002-01-27 12:45:01 +00:00
obrien
58aba6b6c7 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
obrien
9f7387d498 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
obrien
c39a811cd4 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
obrien
2185ff36aa Remove these MD files that we've never needed. 2001-03-30 01:44:39 +00:00
obrien
86ecd91fb8 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
obrien
03d937ef78 Remove these GDB 4.18 docs that did not make it into 5.0. 2001-03-30 01:40:04 +00:00
obrien
934e996993 Remove this GDB 4.18 file that is no longer part of GDB [5.0]. 2001-03-29 20:53:56 +00:00
obrien
27f1746a0a 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
obrien
07961757d4 Virgin import of gdb-5.0 2000-08-04 09:35:05 +00:00
obrien
3c25c673ec 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
obrien
ab028d4b7f These files are for an arch we don't care about. 2000-08-04 08:34:04 +00:00
obrien
87d4149e5d Update for GDB 5.0. 2000-08-02 20:18:50 +00:00
obrien
9e0c7756d9 These files are for an arch we don't care about. 2000-08-02 11:56:42 +00:00
obrien
52d65dc564 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
61388a47ab 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
grog
36d05ff187 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
dfr
a1aaaa1a71 Fix a coredump when debugging corefiles from static programs. 1999-05-22 08:25:02 +00:00
dfr
8b7babba5c GC some unused files from gdb and add them to the exclude list for future
imports.
1999-05-03 20:50:12 +00:00
dfr
f6092bd79d 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
dfr
54c5547c6f Delete parts of gdb which are now shared with binutils. 1999-05-02 15:34:14 +00:00
dfr
09497df071 Add upgrade instructions to facilitate future gdb imports. 1999-05-02 11:59:45 +00:00
dfr
878c26ec6f Merge local changes into gdb-4.18 and add changes for FreeBSD/alpha. 1999-05-02 11:25:35 +00:00
dfr
5d522df45b Virgin import of gdb-4.18 1999-05-02 10:18:14 +00:00
dfr
e8b7e98f0e 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
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
410254a3c8 Attempt to (re-?)import enough of gdb's configuration files for
./configure to work.
1997-03-16 17:37:16 +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
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