Ruslan Ermilov
83c7ade90a
NOSHARED -> NO_SHARED
2004-12-21 09:59:45 +00:00
David E. O'Brien
e223c68bfc
Updated Bmake framework for Binutils 2.15.
2004-06-16 07:09:44 +00:00
David E. O'Brien
9232e635e0
Sperate out the MD parts of kvm-fbsd to get rid of the #ifdef maze.
...
Also quiet some warnings by tweaking the included headers.
2004-06-11 16:09:38 +00:00
David E. O'Brien
77047bb3e7
Avoid the whole -I${DESTDIR}/usr/include/gnu issue by including
...
<gnu/regex.h> vs. just <regex.h>.
2004-03-17 07:40:42 +00:00
Andrey A. Chernov
7e433f006b
Back out attempt to bypass contrib's getopt.h on the way,
...
it makes cross-build fail.
Prefer invisible incorrect -current build to visible failure.
2004-03-05 16:12:31 +00:00
Andrey A. Chernov
a11a407515
Move -I${DESTDIR}/usr/include/gnu up, before
...
-I${DESTDIR}/usr/include to pick correct regex.h
2004-03-05 01:47:03 +00:00
Johan Karlsson
7ff8c436d3
style.Makefile(5):
...
Use WARNS?= instead of WARNS=
For this to work properly for all part is the subdirectories
the WARNS assignments in Makefile.inc0 are moved to the correspondning
Makefile.inc.
Approved by: obrien (binutils maintainer)
Tested by: make universe
2004-02-24 19:23:33 +00:00
Andrey A. Chernov
49b4df9afb
Oops, use -I${DESTDIR}/usr/include/gnu instead of ... /../../include/gnu
2004-02-17 05:38:45 +00:00
Andrey A. Chernov
d43efc232b
Remove old explicit -I${DESTDIR}/usr/include/readline
...
it is no longer needed
2004-02-17 00:06:33 +00:00
Andrey A. Chernov
850f4391cd
Switch back to regex.h
2004-02-16 23:46:39 +00:00
David E. O'Brien
b7300254ae
Discontinuation of an action that now fits on one.
2004-01-27 05:01:08 +00:00
David E. O'Brien
bd064b9335
Fix problem where kgdb misses trap frames.
...
Reported by: iedowse
2004-01-26 09:18:47 +00:00
David E. O'Brien
a7376656a5
style.Makefile(5)
2004-01-26 06:10:26 +00:00
David E. O'Brien
5abd21e1e6
Enable '--interpreter=mi' support.
...
Submitted by: Rui Lopes <rui@ruilopes.com>
2003-09-07 20:38:23 +00:00
David E. O'Brien
f230755006
s/x86-64/amd64/
2003-09-07 20:21:14 +00:00
David E. O'Brien
c234256ec5
style.Makefile(5)
2003-09-07 20:19:32 +00:00
Ian Dowse
ea0d04f36e
Attempt to automatically read in kernel module symbols when a live
...
or dead kernel core is loaded into gdb. This extends gdb's existing
shared library support, so the "info sharedlibrary", "sharedlibrary"
and "nosharedlibrary" commands can be used to view and change the
list of loaded symbol files.
The current implementation is more than a kludge however, and it
will not always manage to find the .ko.debug file corresponding to
the loaded module. In particular, for modules whose build directory
cannot be easily guessed from the module name such as all the
netgraph modules, the debug version of the .ko will not be found
automatically.
The logic for finding the module file first attempts to guess at
the module build directory by parsing the version[] string. Then
using that directory ($DIR), it tries the following paths in turn:
./<module>.ko.debug ./<module>.ko
$DIR/<module>.ko.debug $DIR/<module>.ko
/boot/kernel/<module>.ko.debug /boot/kernel/<module>.ko
Approved by: obrien, mp
2003-03-21 00:30:53 +00:00
David E. O'Brien
ceb0f624bc
Reformat.
2003-01-04 17:51:59 +00:00
David E. O'Brien
bff2d4022e
Add the ability to debug C++ programs using v2 and v3 of the G++ ABI.
...
Submitted by: Peter Edwards <pmedwards@eircom.net>
2003-01-04 17:51:48 +00:00
Mark Peek
ef78d1474b
Remove dependency on version.in for version information.
...
Submitted by: obrien
2002-10-12 21:23:53 +00:00
David E. O'Brien
2587e03b72
Allow to compile and at least startup on sparc64.
2002-06-29 03:16:40 +00:00
David E. O'Brien
7b726fea14
Bmake bits for GDB 5.2.
2002-06-29 01:16:01 +00:00
David E. O'Brien
22cb25a945
When linking staticaly libtermcap is a postrequisite of libreadline.
...
Otherwise `tgoto' (only used by libreadline) isn't resolved.
Submitted by: bde
2002-06-22 17:07:45 +00:00
David E. O'Brien
457170e99c
We need to link with libiberty.a before libreadline.so. Both supply
...
xmalloc() and xrealloc() and the mixed usage of xmalloc in some .c's from
libiberty.a and other .c's from libreadline.so produces an unusable binary
on the Alpha.
While I am here, preventatively move other libs in the link order.
Submitted by: gallatin
2002-06-21 19:05:20 +00:00
David E. O'Brien
ecdd3d1cab
This is only WARNS=0 clean now.
2002-05-19 18:25:41 +00:00
David E. O'Brien
3ce5798474
Segregate MD weirdness a little bit more. Improve cross buildability.
2002-05-18 04:59:57 +00:00
David E. O'Brien
194788fafc
GDB 4.18 does not use the mmalloc library by default. So GC a little.
2002-03-23 17:15:49 +00:00
David E. O'Brien
8c157f6041
Fix setting of CLEANFILES.
2002-03-23 04:52:02 +00:00
David E. O'Brien
d27504cd28
Fix unaligned access in the GDB binary on Alpha.
...
Submitted by: gallatin
2002-03-16 19:33:23 +00:00
David E. O'Brien
2cadc0a98e
Turn up WARNS as high as possible.
...
Tested by: gcc31, gcc32, /usr/bin/cc
2002-03-13 05:14:31 +00:00
David E. O'Brien
3726c08892
Deal with a real PITA in that GDB 4.18 (as we imported it) requires a
...
`wait.h' that was in contrib/binutils/, however this wait.h went away with
bintuils 2.10.0 so I `cvs rm'ed it. Now we find gdb will not build. This
binutils wait.h contained nothing we didn't already have in <sys/wait.h>.
So just hack a symlink to it.
2000-11-25 13:59:49 +00:00
David E. O'Brien
7f3d7f20f8
Pull the switch and activate our Binutils to a snapshot of the up and
...
comming 2.10 release.
2000-05-22 08:09:42 +00:00
David E. O'Brien
56d2e40e38
callback.c is not really used, nor is it part of GDB 4.18.
2000-05-17 19:30:59 +00:00
Doug Rabson
a052d1ca88
Add support for debugging programs using libc_r's implementation of
...
pthreads.
2000-04-29 09:03:49 +00:00
Gary Jennejohn
f367e39024
Add a '+' to the first LDADD, otherwise it clobbers the LDADD in
...
Makefile.alpha such that the -lkvm disappears and the link fails.
This time I tested it, honest :)
2000-04-04 11:12:55 +00:00
Bruce Evans
6a18627411
Use ${dir}/libfoo.a' instead of -L${dir} -lfoo' for local static
...
libraries in LDADD so that `make checkdpadd' doesn't report non-errors.
Fixed some style bugs (the usual ones for DPADD and LDADD, and misformatting
of $FreeBSD$).
2000-03-27 18:02:04 +00:00
Peter Wemm
9b7a44a60e
$Id$ -> $FreeBSD$
1999-08-27 23:37:10 +00:00
Bruce Evans
583393551b
Fixed some regressions in rev.1.40:
...
- rev.1.39 was clobbered.
- PROG was defined twice, once as nm.
- style bugs.
1999-05-11 08:07:51 +00:00
Doug Rabson
657b29aa29
Add core-regset.c to the Makefile to allow debugging elf corefiles.
1999-05-07 19:53:05 +00:00
Doug Rabson
5c3925f8f9
* Add bmake framework for using gdb alongside binutils. The old bmake
...
framework was repository copied from gnu/usr.bin/gdb.
* Add alpha support.
1999-05-02 11:32:14 +00:00
Bruce Evans
146fe9aaf2
echo -> ${ECHO}.
1999-04-03 07:04:53 +00:00
Bruce Evans
cc4fb50148
Fixed breakage of gdbreplay's and gdbserver's BINDIR in previous commit.
...
They may belong in /usr/libexec/{aout,elf}, but objformat doesn't
support that.
Fixed bogus `?=' assignments for BINDIR.
1998-10-15 14:15:09 +00:00
John Polstra
e8f80c1aca
Fix GDB so that it can handle ELF core dumps.
1998-09-14 22:49:02 +00:00
John Birrell
050c06f9e2
Missed some BINFORMATs. Fingers! Can't live with 'em. Can't live without 'em.
1998-08-30 02:46:35 +00:00
John Birrell
0e94cd8261
BINFORMAT -> OBJFORMAT ready for E-day. I tossed a coin to decide this
...
one. We'll probably need to revisit gdb after E-day.
1998-08-30 02:01:07 +00:00
Bruce Evans
e4e61e7b97
Simplified using new yacc rules. This is cosmetic - the old rules
...
worked because .ORDER prevented problems from concurrent generation
of multiple parsers (and their headers), and there were no missing
dependencies because the generated headers were not actually used.
1998-05-04 17:56:22 +00:00
Bruce Evans
2b3c4dd72c
Fixed apparent bitrot (=' changed to ?=') in the definition of BINDIR
...
in the previous commit. Just don't define it here at all. This works
now that the default is inherited properly.
1998-05-01 14:44:00 +00:00
Doug Rabson
0f9bd807c9
Add support for ELF shared libraries. Also use bfd from the binutils in that
...
case rather than gdb's own copy.
1998-04-30 08:03:50 +00:00
Bruce Evans
3f9af06bf9
Removed vestiges of use of beforedepend target.
1998-03-19 15:21:19 +00:00
Bruce Evans
6dd8984675
Use foo/bar.a' instead of -Lfoo -lbar' for linking to static internal
...
libraries, so that `ld -f' in can create correct dependencies for
yet-to-be-built libraries.
1998-03-07 08:55:00 +00:00