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
David E. O'Brien
52678bf874
We need to support the bfd_efi_app_ia64_vec vector for loader support.
...
Submitted by: Marcel
Approved by: RE
2002-12-05 18:27:22 +00:00
David E. O'Brien
3e17ea404e
Change the default emulation to elf64_sparc_fbsd. This emulation knows the
...
correct spelling of our rtld.
2002-12-05 18:25:09 +00:00
David E. O'Brien
978f043ed0
Set WARNS=0 as a temp work around until I can get access to an IA-64 box
...
to do this right.
Approved by: RE
2002-12-05 18:24:34 +00:00
David E. O'Brien
a91d8d9644
Change the default emulation to elf64_ia64_fbsd. This knows the proper
...
spelling of our rtld.
2002-12-05 18:23:08 +00:00
David E. O'Brien
51c79e7572
Don't dike out ELF_DYNAMIC_INTERPRETER, we need this copy now.
...
This should have been committed with ia64/bfd.h rev 1.6.
Approved by: RE
2002-12-05 18:19:18 +00:00
David E. O'Brien
de726134c8
Remove the ancient PEI cruft that is useless.
2002-12-02 10:50:38 +00:00
David E. O'Brien
f0c6e880d6
We can handle the bfd_elf32_i386_vec vector at the same time as the
...
bfd_elf32_i386_freebsd_vec. This may help in intra-branch building.
2002-12-02 10:01:18 +00:00
David E. O'Brien
517870e5ec
We can handle the bfd_elf64_alpha_vec vector at the same time as the
...
bfd_elf64_alpha_freebsd_vec. This may help in intra-branch building.
2002-12-02 10:00:44 +00:00
David E. O'Brien
176b5bb70f
Cleaner support of a DEFAULT_VECTOR.
2002-12-02 09:59:05 +00:00
David E. O'Brien
eda37098d9
Update for the Binutils 2.13.2 20021127 snapshot import.
2002-12-02 09:54:40 +00:00
David E. O'Brien
bf12a49e7c
Handle the "HAVE_" defines via the VECS list.
2002-12-02 09:53:59 +00:00
David E. O'Brien
fb248dce89
Update for the Binutils 2.13.2 20021127 snapshot import.
...
Among other things, we don't need to redefine ELF_DYNAMIC_INTERPRETER here.
2002-12-02 09:49:57 +00:00
David E. O'Brien
f5debc7cfc
Update for the Binutils 2.13.2 20021127 snapshot import.
2002-12-02 09:45:51 +00:00
David E. O'Brien
ab3c58bd4f
We now have insque().
2002-12-02 09:44:59 +00:00
David E. O'Brien
23e4ce1af8
Binutils 2.13.2 is WARNS=2 clean for all our architectures.
2002-12-02 09:41:35 +00:00
David E. O'Brien
0f5a412173
Update for the 2.13.2 2002-11-27 snapshot import.
2002-12-02 09:40:02 +00:00
Ruslan Ermilov
40c6b893d8
Take __FreeBSD_version into account when BOOTSTRAPPING.
2002-11-13 13:49:29 +00:00
Mark Peek
e059894828
Add support for sparc64 kernel debugging.
...
Submitted by: tmm
2002-10-21 21:36:36 +00:00
David E. O'Brien
54f937adb1
GDB 5.2.1 doesn't build on sparc64 right now.
2002-10-20 21:42:55 +00:00
David E. O'Brien
597e16e012
We HAVE_STPCPY now.
2002-10-20 07:50:20 +00:00
David E. O'Brien
b2e2b36d0b
Take a guess at what WARNS level will make this compile on ia64.
2002-10-14 00:05:49 +00:00
Mark Peek
ef78d1474b
Remove dependency on version.in for version information.
...
Submitted by: obrien
2002-10-12 21:23:53 +00:00
Mark Peek
884a2981a4
Fix function parameter lists to be correct and eliminate compiler warnings.
2002-10-12 18:08:44 +00:00
David E. O'Brien
cf56436d17
Update for 2.13 10-Oct-2002 import.
2002-10-12 04:38:20 +00:00
David E. O'Brien
dffd8409be
Update for 2.13 10-Oct-2002 import.
2002-10-12 04:24:35 +00:00
David E. O'Brien
4b7b08da18
Shut up GCC, don't shadow Version 6 standard functions.
2002-10-12 04:06:13 +00:00
David E. O'Brien
50c44001a5
Talk about punting and not going to any trouble to DTRT:
...
contrib/binutils/include/getopt.h
/* Many other libraries have conflicting prototypes for getopt, with
differences in the consts, in stdlib.h. To avoid compilation
errors, only prototype getopt for the GNU C library. */
so manually define HAVE_DECL_GETOPT since configure doesn't offer any way
to set it... and its unistd.h not stdlib.h dang it.
2002-10-12 03:55:09 +00:00
David E. O'Brien
06520fa9a9
Seems the warnings Binutils 2.13 grew now makes it impossible for WARNS != 0
...
all 64-bit machines.
2002-10-12 03:04:42 +00:00
David E. O'Brien
1a941a4b0d
The 2.13-almost.1 import was done on 10/10, not 11/10.
2002-10-12 00:18:25 +00:00
David E. O'Brien
786590e77d
Update for 2.13 10-Oct-2002 import.
2002-10-12 00:17:34 +00:00
David E. O'Brien
54603d8a36
GDB plays nice with Binutils again.
2002-10-11 20:23:06 +00:00
David E. O'Brien
c5c7175bd5
Use the new FreeBSD vectors from Binutils 2.13.1.
2002-10-11 19:39:18 +00:00
David E. O'Brien
713f2f5c1d
Binutils 2.13 grew some warnings that make WARNS != 0 now impossible on
...
sparc64.
2002-10-11 17:40:20 +00:00
David E. O'Brien
acdb91f616
Turn off GDB for now. It and the new binutils just aren't agreeing on our
...
binary format.
2002-10-11 16:22:37 +00:00
David E. O'Brien
71cd0da063
Sync with 2.13. Reduce forking by using multiple sed expressions rather
...
than piping thru tr(1). Also prefer case over for+test, as case will
handle regex's nicely.
Note we can't exactly follow the real 2.13 genscripts.sh as we wind up with
multiple "'s in search paths. It is too late tonight to track down why.
2002-10-11 10:07:46 +00:00
David E. O'Brien
20109e1f9a
witch over to the new FreeBSD bfd vec and emulation
2002-10-11 09:36:20 +00:00
David E. O'Brien
6551b26de7
Switch over to the new FreeBSD emulation and bfd vec
2002-10-11 09:31:55 +00:00
David E. O'Brien
b8ac217e31
Yesterday was the 10th month of the year, not the 11st.
2002-10-11 08:40:19 +00:00
David E. O'Brien
d536cae879
*sigh* The GNU folks want to layer and abstract yet another standard API.
...
This time remove the xregex redirection and just directly use their own
gnuregex.
2002-10-11 07:42:20 +00:00
David E. O'Brien
32a4457271
Really update for 2.13 10-Oct-2002 import. (this time for sure Rocky)
2002-10-11 06:48:16 +00:00
David E. O'Brien
4f376ae1bf
Update for 2.13 10-Oct-2002 import.
2002-10-11 06:28:05 +00:00
David E. O'Brien
28d1796af8
Update for 2.13 10-Oct-2002 import - Identify the version correctly
2002-10-11 06:23:02 +00:00
David E. O'Brien
47a7977dad
Don't do WARNS setting here.
2002-10-11 06:20:41 +00:00
David E. O'Brien
0e7fe4f6c0
There is need to have a special BINUTIL_ARCH when we can use our more
...
common place TARGET_ARCH.
2002-09-22 05:29:37 +00:00
David E. O'Brien
9bfba55ce8
gdb now builds on sparc64.
2002-09-19 17:08:32 +00:00
David E. O'Brien
9ceffc28f3
Fix GNU coding violations.
2002-09-18 16:20:49 +00:00
David E. O'Brien
71791a1d60
Stop using 3 distinct and far varied coding styles in a single file.
...
Pretend to actually adhere to the GNU coding standards.
2002-09-18 16:14:36 +00:00
Peter Wemm
66422f5b7a
Initiate deorbit burn for the i386-only a.out related support. Moves are
...
under way to move the remnants of the a.out toolchain to ports. As the
comment in src/Makefile said, this stuff is deprecated and one should not
expect this to remain beyond 4.0-REL. It has already lasted WAY beyond
that.
Notable exceptions:
gcc - I have not touched the a.out generation stuff there.
ldd/ldconfig - still have some code to interface with a.out rtld.
old as/ld/etc - I have not removed these yet, pending their move to ports.
some includes - necessary for ldd/ldconfig for now.
Tested on: i386 (extensively), alpha
2002-09-17 01:49:00 +00:00
David E. O'Brien
7460e5b18a
Update for 2.12.1 20-July-2002 import.
2002-09-01 18:03:55 +00:00
David E. O'Brien
e0444818b2
Update for 2.12.1 20-July-2002 import.
2002-08-31 20:57:53 +00:00
Ruslan Ermilov
d2893b161b
Drop support for COPY, -c has been the default mode of install(1)
...
for a long time now.
Approved by: bde
2002-07-29 09:40:17 +00:00
Peter Wemm
0f258b75d3
Recognize frames for lcall_syscall and int0x80_syscall.
...
Reminded by: bde
2002-07-28 18:46:49 +00:00
Mike Barcroft
8e91c039a7
This isn't quite ready for WARNS=3 in the sparc64 case.
...
Noticed by: sparc64 tinderbox
2002-07-16 16:10:39 +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
2b1f5a4271
Stop trying to reimplement libkvm on i386. Instead use it directly and
...
consistently on all platforms.
Submitted by: gallatin
2002-07-10 06:58:25 +00:00
David E. O'Brien
bad0e574ca
Target specific FreeBSD kgdb hacks.
2002-07-10 06:40:03 +00:00
Sheldon Hearn
d1e52a1c8d
Revert previous delta; warnings fixed by obrien:
...
rev 1.5 rc/contrib/gdb/gdb/gdbserver/gdbreplay.c
2002-07-09 17:29:37 +00:00
Sheldon Hearn
68a9ebbe8c
Define NO_WERROR to unbreak world until the maintainer has had time
...
to coordinate fixes for this contrib code.
2002-07-09 08:37:36 +00:00
Ruslan Ermilov
70b1f5865c
Add the missing dependency (gdbint.info: gdb-cfg.texi).
...
This should resume parallel builds, among other things.
2002-07-04 11:33:59 +00:00
Ruslan Ermilov
acebb8eba1
Fixed CLEANFILES.
2002-07-04 07:15:31 +00:00
Sheldon Hearn
8e887555b5
Reconnect gdb info file to the build.
...
Submitted by: Szilveszter Adam <sziszi@bsd.hu>
2002-07-01 07:58:18 +00:00
David E. O'Brien
0b541de6f7
Don't need these any more.
2002-06-30 05:29:43 +00:00
David E. O'Brien
68464ed689
Dike out bits specific to i386. This pretty much means no kgdb for
...
non-i386 platforms.
I would however like to see a shared file here. If a function or two cannot
be shared we should create ${TARGET_ARCH}/kvm-fbsd-${TARGET_ARCH}.c.
2002-06-30 04:47:43 +00:00
David E. O'Brien
a9b6be3e9e
Bmake bits for GDB 5.2.
2002-06-30 03:24:05 +00:00
Mark Peek
0d8ba9a657
Reflect new gdb directory structure.
2002-06-29 18:19:53 +00:00
David E. O'Brien
c4819db060
I don't see any reason to conditionalize this.
2002-06-29 17:55:17 +00:00
David E. O'Brien
cc5dcb202c
Bmake bits for GDB 5.2.
2002-06-29 16:52:15 +00:00
David E. O'Brien
11acfa572a
Turn back on GDB.
...
gdbserver does not build, but I've gone about as far with GDB as I'm going
to right now.
2002-06-29 03:19:35 +00:00
David E. O'Brien
b73f3861c3
Best guess at configurations for our other arches. (totally untested)
2002-06-29 03:18:28 +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
70ec688c63
There will be no GDB related .info files unless someone that cares about them
...
sends a patch.
2002-06-28 03:41:56 +00:00
David E. O'Brien
b1ae3e66e6
NO! We DON'T wany any libintl action here.
2002-06-28 01:33:53 +00:00
David E. O'Brien
99c8489d5b
Things Gdb 5.2 wants to know about us.
2002-06-28 00:34:05 +00:00
David E. O'Brien
c126c9fe5a
NO_GDB while it is being upgraded.
2002-06-27 22:59:11 +00:00