David E. O'Brien
b35979bc2e
Configure as --enable-64-bit-bfd.
2004-03-18 04:45:29 +00:00
David E. O'Brien
7863752724
I accidently spammed rev. 1.18, back out rev 1.19.
2004-03-17 18:38:07 +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
Ruslan Ermilov
51a23805f8
gasp(1) isn't linked with -lgnuregex, and it doesn't need <gnu/regex.h>
...
either.
Reviewed by: obrien
2004-03-15 07:19:41 +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
Andrey A. Chernov
44fc52d2ac
Add -I${DESTDIR}/usr/include before -I${SRCDIR}/include to pick right
...
getopt.h (as workaround until it will be removed from contrib)
2004-03-04 20:36:18 +00:00
Andrey A. Chernov
d022c66fd1
Use system getopt_long*
2004-02-28 05:38:45 +00:00
Johan Karlsson
ca9c567178
Fix style bug in last commit,
...
add a tab after WARNS?=.
While I'm here fix other style bugs.
Submitted by: bde (libbdf/Makefile)
2004-02-25 13:12:51 +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
Andrey A. Chernov
8e142fb9dc
Formally switch back to regex.h (not sure it ever needed here - libgnuregex
...
is not used)
2004-02-16 23:38:37 +00:00
Ruslan Ermilov
3d99503552
Removed all the complexities when installing the strip(1) binary.
...
Submitted by: bde
2004-02-06 09:25:59 +00:00
Ruslan Ermilov
1154360eaa
strip wasn't stripped since we stopped to include bsd.own.mk from sys.mk.
2004-02-05 19:54:56 +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
014256a1e7
Use proper name.
2004-01-26 09:17:26 +00:00
David E. O'Brien
a7376656a5
style.Makefile(5)
2004-01-26 06:10:26 +00:00
David E. O'Brien
74483bd440
Follow existing GDB style for frame_info vars.
2004-01-26 06:07:33 +00:00
David E. O'Brien
1099ecff4c
Remove trailing white space.
2004-01-26 06:05:04 +00:00
Ruslan Ermilov
24c50acd3f
Don't put objects in SRCS -- this creates all sort of havoc like
...
causing objects to be built during "make depend", missed sources
in .depend, etc.
2004-01-12 20:08:20 +00:00
David E. O'Brien
febc611cfa
FBSDID style nit.
2003-11-12 08:33:18 +00:00
Hidetoshi Shimokawa
3c0173a666
Implement gdb_solib_create_inferior_hook().
...
This function is used for autoloading kld module symbols for remote kgdb.
We still need a patch(*) for src/contrib/gdb/gdb/solib-svr4.c to enable
this function.
(*) http://people.freebsd.org/~simokawa/gdb/patch-solib-svr4.c
2003-10-29 14:40:59 +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
David E. O'Brien
9d6f37e490
Properly quote the lib path.
2003-08-19 17:30:46 +00:00
David E. O'Brien
21df0f6f8f
Stage 3 of dynamic root support, con't.
...
'ld' should also search /lib for dynamic libraries.
2003-08-17 21:45:26 +00:00
David E. O'Brien
34f8bdbf6a
s/x86_64/amd64/g where possible.
2003-08-17 20:53:21 +00:00
Ruslan Ermilov
b5148e5513
The as(1) manpage was missing on i386 and amd64.
2003-08-14 14:43:29 +00:00
Alexander Kabaev
08cbb1d115
Temporarily turn off -Werror for these components.
2003-07-11 05:24:32 +00:00
David E. O'Brien
9c3f1b326f
bfd_elf32_i386_freebsd_vec is the only 32-bit vector we really need.
...
ar and nm aren't very smart when faced with multiple applicable vectors.
2003-07-01 17:29:48 +00:00
David E. O'Brien
3e1521419b
Add elf_i386_fbsd emulation.
...
Obtained from: p4
2003-07-01 17:12:55 +00:00
Ruslan Ermilov
c5c68dcde3
Don't build separate annotate.info, it's already part of gdb.info.
2003-07-01 14:04:08 +00:00
David E. O'Brien
b9005010fa
Update the target.
2003-06-26 16:13:36 +00:00
David E. O'Brien
457946d9bd
Remove MAINTAINER lines.
2003-06-14 19:32:52 +00:00
Peter Wemm
bd3aef3d0d
Set the binutils arch for as/nm correctly on the amd64 platform.
...
As far as binutils is concerned, the amd64 platform is still called
"x86-64"/"x86_64". Setting things from ${MACHINE_ARCH} breaks that.
Approved by: re (scottl)
2003-05-08 06:39:31 +00:00
David E. O'Brien
584a637fee
The AMD64 Hammer bits.
2003-04-26 03:28:21 +00:00
David E. O'Brien
0d6a130e24
Remove first attempt at x86-64 bits. We're going to call it "amd64" now.
...
Sponsored by: Microsoft
2003-04-26 03:24:26 +00:00
Ruslan Ermilov
6b09ae934b
Removed invasion into these makefiles by the "legacy" stuff;
...
I have a better fix in the works.
2003-04-12 14:44:49 +00:00
Ruslan Ermilov
cc59b11e0f
libbinutils.a needs basename(3); when the latter is provided
...
by -legacy, liblegacy.a should come last in the LDADD list.
2003-04-11 18:02:10 +00:00
Warner Losh
30aaff1192
Migrate to a new way of dealing with building from old revisions of
...
FreeBSD. This method attempts to centralize all the necessary hacks
or work arounds in one of two places in the tree (src/Makefile.inc1
and src/tools/build). We build a small compatibility library
(libbuild.a) as well as selectively installing necessary include
files. We then include this directory when building host binaries.
This removes all the past release compatibilty hacks from various
places in the tree. We still build on tip of stable and current. I
will work with those that want to support more, although I anticipate
it will just work.
Many thanks to ru@, obrien@ and jhb@ for providing valuable input at
various stage of implementation, as well as for working together to
positively effect a change for the better.
2003-04-05 20:30:30 +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
Ruslan Ermilov
e478cf0a5a
Fixed CLEANFILES.
...
Submitted by: cron
2003-02-25 15:41:49 +00:00
David E. O'Brien
61de3d8db1
The PowerPC-specfic scripttempl file was depreciated in favor of the generic
...
ELF one.
2003-01-21 06:12:56 +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
Max Khon
6fd1035190
GC 'char sigmap[]' (it is no longer used)
...
Approved by: obrien
MFC after: 3 days
2003-01-04 17:35:54 +00:00