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
David E. O'Brien
28219a5a8d
For the benefit of those Emacs users amongst us, only cut out gdb.info
...
rather than *.info.
2002-06-22 17:10:53 +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
35053ce3d6
Take the guaranteed fix -- turn off .info docs for now until we get the
...
gdb docs sorted out.
2002-06-22 16:52:34 +00:00
David E. O'Brien
ecb598f3be
Grre-^#$(*+#@$!@% I hate .info files, I really do (thus I have NO_INFO set...)
...
Don't try to read files from a non-existant gdb.291/.
2002-06-22 08:08:51 +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
Bruce Evans
6c37e4212e
phsyical -> physical
...
Submitted by: Andre Guibert de Bruet <andy@siliconlandmark.com>
2002-05-27 13:08:08 +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
4728018172
This is enough to get thru a cross-build.
2002-05-18 18:27:09 +00:00
David E. O'Brien
da87c431b3
The AMD x86-64 Hammer bits.
2002-05-18 11:57:01 +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
355a488d44
Style sync with other platforms.
2002-05-18 04:50:32 +00:00
David E. O'Brien
d4dfcdb535
Update to Binutils 2.12.0 and stick to the native emulation for now.
...
This lets us get on the with the task at hand -- porting FreeBSD.
We can get fancy later on.
2002-05-17 03:43:47 +00:00
David E. O'Brien
79b40253a4
Update to Binutils 2.12.0 release.
2002-05-17 03:43:09 +00:00
David E. O'Brien
e3dd58ccbc
Update to Binutils 2.12.0 and stick to the native emulation for now.
...
This lets us get on the with the task at hand -- porting FreeBSD.
We can get fancy later on.
2002-05-17 03:10:33 +00:00
David E. O'Brien
7ed7e0cf33
We won't be doing FreeBSD-NT (NTBSD?, BSDNT?) anytime soon.
...
Same for any m68k platform.
2002-05-15 09:11:11 +00:00
David E. O'Brien
16444b7a38
We aren't quite ready to switch emulations and loose the
...
override ELF_DYNAMIC_INTERPRETER requirement.
Has a good eye: jmallet
2002-05-15 09:01:03 +00:00
David E. O'Brien
91c7467999
We won't be doing FreeBSD/m68k or FreeBSD/rs6k anytime soon.
...
(not to mention these bits are still at the 2.9.1 level)
2002-05-15 08:33:41 +00:00
Mark Peek
117af193f6
Make our version tag unique due to our local changes.
...
PR: 19733
Submitted by: sheldonh
MFC after: 3 days
2002-05-14 18:17:59 +00:00
Ruslan Ermilov
46f8fdc34e
Removed now unused INTERNALSTATICLIB.
...
INTERNALLIB now implies NOPIC and NOPROFILE.
Removed gratuitous NOMAN.
2002-05-13 11:09:07 +00:00
David E. O'Brien
2af8b6958a
Updated to a 10-April-2002 2.12 branch snapshot.
...
This fixes serious problems in ld's symbol handling.
2002-04-12 19:59:42 +00:00
David E. O'Brien
596d4501ed
Use PTRACE_ARG3_TYPE of caddr_t.
...
Obtained from: gdb 5.2
2002-04-11 20:42:13 +00:00
David E. O'Brien
eb294035cb
Make it easier to change the native emulation.
...
Tested on: alpha, i386, sparc64
2002-03-29 00:41:01 +00:00
David E. O'Brien
6fc7b42212
Enhance GDB's abillity WRT stack traces where signal handlers are involved.
...
Correct backtrace was made more complex when the new signal trampoline
was introduced to support more than 32 signals, while keeping a modified
version of the old signal trampoline.
The 'where' command will now show:
#2 <signal handler called>
where appropiate.
Submitted by: Tor.Egge@fast.no
2002-03-27 04:55:43 +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
615836eeac
Update to Binutils 2.12.0 release.
2002-03-20 23:05:19 +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
67253d7329
Minor style nit.
2002-03-15 07:45:42 +00:00
David E. O'Brien
26830c9316
Update for binutils_2_12_anoncvs_20020221.
2002-03-15 07:45:18 +00:00
David E. O'Brien
1f85384086
Uggg!! LD ME HARDER!!
...
Rev 1.2 changed the default emulation from ``elf64_sparc'' to ``elf32_sparc''
and I never noticed it after my review of rev 1.1. Backing the change of
the default emulation out, and Wa-la!, I can now build a native [and usable]
binutils. WTF, the "-m elf64_sparc" parameter handed to `ld' by `gcc'
wasn't DTRT is beyond me.
2002-03-15 07:42:47 +00:00
David E. O'Brien
b0627fcc77
Tune WARNS for Alpha.
2002-03-14 02:24:25 +00:00
David E. O'Brien
87120eee8e
Support linking with -z combreloc (combine and sort reloc sections) and with
...
--shared -z combreloc (shared library, combine & sort relocs)
Submitted by: peter
Bribed by: peter
Fixes: IA-64, Kaffe, and QT
Doesn't fix ports by: kris
Tested on: make(1) release w/docproj
Desired for: 5.0-DP#1
Approved by: murray
Seconded by: jhb
2002-03-13 18:26:59 +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
Daniel Eischen
68ace64ebe
Sync this up to recent changes to our (userland) thread structure.
2002-02-23 19:28:01 +00:00
David E. O'Brien
d46d3a1c02
Update for binutils_2_12_anoncvs_20020221.
2002-02-22 18:49:37 +00:00
David E. O'Brien
e2c76cd6de
Update for binutils_2_12_anoncvs_20020221.
2002-02-22 05:35:18 +00:00
Andrew Gallatin
c48944beea
Fix kgdb in the face of the last round of KSE commits.
...
The alpha world may actually build now..
2002-02-18 14:13:59 +00:00
Daniel Eischen
a06523b4f6
Don't rely on <sys/signal.h> to include <sys/ucontext.h>.
2002-02-17 17:19:14 +00:00
Peter Wemm
489b85b027
Add missing &
2002-02-08 04:17:33 +00:00
Peter Wemm
656c73dbdf
Make this part compile and try and use the p_threads tailq. It might work
...
but I am not sure, I haven't been able to compile the rest of gdb yet.
2002-02-08 03:19:56 +00:00
David E. O'Brien
d85bf1887e
We do not need to use -I- any longer.
...
Presumably the issue was with arparse.[ch]. Those are now in FREEBSD-Xlist
and FREEBSD-deletelist. So we do not import the Bison produced files that
was causing the problem.
Submitted by: ru
2002-02-07 17:35:49 +00:00
David E. O'Brien
25a59bcfe7
Set the SCRIPTDIR to be rooted at TOOLS_PREFIX rather than DESTDIR.
...
(the two may be different (ie, build vs. runtime))
Allow ldscript's SEARCH_DIR do be rooted somewhere other than `/'.
(in this case at TOOLS_PREFIX)
These changes are most helpful during `make buildworld' so that the shared
libs built in the middle of `make buildworld' are used vs. the ones in
/usr/lib on the build machine.
Submitted by: ru
2002-02-07 01:37:53 +00:00
David E. O'Brien
985e77de7b
I missed adding a file that was needed on the Alpha (and will be needed
...
on x86_64 also.
Submitted by: ru
2002-02-04 17:06:30 +00:00
David E. O'Brien
5cc5c73a03
Upgrade to a Binutils 2.12.0 snapshot.
2002-01-28 19:12:51 +00:00
David E. O'Brien
65136367b7
Special case the foreign platform vs. the native one.
2002-01-28 19:08:29 +00:00
David E. O'Brien
69c3ab3a81
Upgrade to a Binutils 2.12.0 snapshot.
2002-01-28 19:07:31 +00:00
David E. O'Brien
de52820198
Support cross building from 64-bit machines.
2002-01-28 19:00:11 +00:00
David E. O'Brien
31b63f3e33
Upgrade to a Binutils 2.12.0 snapshot.
2002-01-28 18:58:59 +00:00
David E. O'Brien
90b3020b4f
Upgrade to a Binutils 2.12.0 snapshot.
2002-01-28 18:52:26 +00:00
David E. O'Brien
a1a1118a96
Change the way the version strings are handled.
2002-01-27 22:47:22 +00:00
David E. O'Brien
04f69e4432
Upgrade to a Binutils 2.12.0 snapshot.
2002-01-27 13:10:59 +00:00
David E. O'Brien
19d2231085
Style fix.
2002-01-27 13:09:36 +00:00
David E. O'Brien
fb0944a619
Add files new with 2.12.0.
2002-01-27 13:09:08 +00:00
David E. O'Brien
c3b0e33288
Style fixes.
2002-01-27 13:04:21 +00:00
David E. O'Brien
e1a1c7d331
Add files new with 2.12.0.
2002-01-27 13:03:58 +00:00
David E. O'Brien
23e896a740
We are now at a 2.12.0 pre-release snap version.
2002-01-27 13:02:31 +00:00
John Baldwin
b0492e310b
Catch up to the globaldata -> pcpu changes.
2001-12-12 21:15:30 +00:00
Peter Wemm
8dc7644269
*** empty log message ***
2001-12-11 07:04:48 +00:00
David E. O'Brien
5a31fd21e9
Upgrade to Binutils 2.11.2.
2001-12-06 03:10:42 +00:00
David E. O'Brien
d80e71799d
Make the logic more explicit.
2001-10-19 20:20:16 +00:00
David E. O'Brien
f6181588d5
We don't use the IA-64 psABI ELF_DYNAMIC_INTERPRETER, so remove it.
2001-10-15 03:10:48 +00:00
David E. O'Brien
d4c06e2f81
Clean this up.
2001-10-15 02:14:08 +00:00
David E. O'Brien
e1382dde0b
Binutils 2.11.2 build framework for the FreeBSD/IA-64 target.
2001-10-15 02:13:26 +00:00
David E. O'Brien
7a54260771
We don't support GDB for IA-64, PowerPC, or sparc64 yet.
2001-10-15 01:57:13 +00:00
David E. O'Brien
edb338ea02
We can easily share obj-format.h and targ-env.h files across all FreeBSD
...
platforms, which reduces the upgrade effort.
Also tidy up the Makefiles.
2001-10-15 01:43:23 +00:00
David E. O'Brien
462c450905
More cleaning.
2001-10-15 01:18:51 +00:00
David E. O'Brien
7e605691b0
Adjust for the movement of `as' headers.
2001-10-14 02:15:58 +00:00
David E. O'Brien
b3119f80e8
You know the last revision will work better if the TARGET_TUPLE is set
...
conditionally....
2001-10-14 02:13:55 +00:00
David E. O'Brien
4ac9161617
Allow easier override of the configure tuple, in case you wanted to build
...
as "powerpc-obrien-freebsd" rahter than "powerpc-unknown-freebsd" for example.
2001-10-14 02:12:40 +00:00
David E. O'Brien
44fdcd56ee
Need to look in additional places for BFD's config.h now.
2001-10-14 02:07:26 +00:00
David E. O'Brien
8f0d33af07
Clean up a little bit more.
2001-10-14 01:58:18 +00:00
David E. O'Brien
4ab605cf6d
Clean up the formatting.
2001-10-14 01:57:19 +00:00
David E. O'Brien
80eaeb4242
We do "sparc64", not "sparc".
2001-10-14 01:57:07 +00:00
David E. O'Brien
83735fac63
Clean up the formatting.
2001-10-14 01:47:30 +00:00
David E. O'Brien
51598dc8ec
We do "sparc64", not "sparc".
2001-10-14 01:33:07 +00:00
David E. O'Brien
cd9d63ec3f
Clean up the formatting.
2001-10-14 01:31:37 +00:00
David E. O'Brien
5c73b63da5
We can easily share a single config.h file across all FreeBSD platforms,
...
which reduces the upgrade effort.
2001-10-14 01:24:07 +00:00
David E. O'Brien
51a64fa24f
Update for Binutils 2.11.2.
2001-10-14 01:08:32 +00:00
David E. O'Brien
b164377e77
We support sparc64, not plain sparc.
2001-10-14 01:00:29 +00:00
David E. O'Brien
bbd7c7f077
Clean up the formatting.
2001-10-14 00:58:59 +00:00
Bruce Evans
43ea907a42
Backed out "Compensate for header dethreading [mistakes]" mistakes in
...
alpha files too.
2001-10-13 04:38:46 +00:00
Bruce Evans
6eabd84580
Compensate for "Compensate for header dethreading" by backing it out.
2001-10-10 17:48:44 +00:00
Ian Dowse
3c7bcedd06
Remove the Xresume* labels from the i386 interrupt handlers; the
...
code in ipl.s and icu_ipl.s that used them was removed when the
interrupt thread system was committed. Debuggers also knew about
Xresume* because these labels hide the real names of the interrupt
handlers (Xintr*), and debuggers need to special-case interrupt
handlers to get the interrupt frame.
Both gdb and ddb will now use the Xintr* and Xfastintr* symbols to
detect interrupt frames. Fast interrupt frames were never identified
correctly before, so this fixes the problem of the running stack
frame getting lost in a ddb or gdb trace generated from a fast
interrupt - e.g. when debugging a simple infinite loop in the kernel
using a serial console, the frame containing the loop would never
appear in a gdb or ddb trace.
Reviewed by: jhb, bde
2001-10-09 19:54:52 +00:00
Ian Dowse
e5cef9b61f
Catch up with the SMPng reduced interrupt frame size. The corresponding
...
change was made to DDB months ago (i386/i386/db_trace.c revision 1.37).
Reviewed by: bde
2001-10-08 12:46:01 +00:00
David E. O'Brien
7d437141ba
Unconditionally use basename.c source vs. only doing this if the libc we
...
are linking against does not have basename(). There is a buffer overflow
bug in lib/libc/gen/basename.c rev 1.1. There is no way for us to test
what revision of basename() we have in libc, thus this change.
Requested by: ru
2001-09-26 20:51:51 +00:00
Ruslan Ermilov
946b7fa17e
Fixed the buildworld breakage in cross-tools caused by
...
misuse of /usr/src/include headers. This REALLY fixes
the 20010919 src/UPDATING entry.
With this patch the 4.2-RELEASE box was able to survive
the 5.0-CURRENT "make world".
Beat over the head with this patch: obrien
2001-09-24 09:25:05 +00:00
Peter Wemm
d1c276c383
Fix alpha gdb -k on "live" kernels. Use offsetof() instead of some evil
...
hand-rolled macros to do the same thing.
2001-09-20 06:31:23 +00:00
Bill Fenner
9c52cf5785
Don't try to dereference a kernel pointer in userland; use offsetof()
...
to get the right address.
This fixes kernel GDB after KSE2.
Reviewed by: jhb, jake
2001-09-19 18:42:19 +00:00
David E. O'Brien
dd1cd2eb67
Rev 1.10 bogusly tested the kernel version, not the libc version.
...
The version of the kernel has no bearing on what is in libc.
We now search for basename in libc to determin if we need to include
the libiberty version in the build.
This is all still a bit bogus as it will (like the sysctl method) cause
basename.o to be linked into the cross-build as well as the host build. It
would probably be better to test if we were doing the initial host build and
unconditionally include that. Once we've generated the target libc we know
that basename is available. (maybe test for $TOOLS_PREFIX or something).
Submitted by: peter
2001-09-14 23:07:02 +00:00
Peter Wemm
e433a4a84b
Update this to compile on the Alpha.
2001-09-14 11:08:44 +00:00
Julian Elischer
b40ce4165d
KSE Milestone 2
...
Note ALL MODULES MUST BE RECOMPILED
make the kernel aware that there are smaller units of scheduling than the
process. (but only allow one thread per process at this time).
This is functionally equivalent to teh previousl -current except
that there is a thread associated with each process.
Sorry john! (your next MFC will be a doosie!)
Reviewed by: peter@freebsd.org , dillon@freebsd.org
X-MFC after: ha ha ha ha
2001-09-12 08:38:13 +00:00
David E. O'Brien
6d87bbdf3a
Fix the upgrade path from 4.1 and earlier.
2001-09-06 22:59:31 +00:00
Peter Wemm
fd131b1483
Dynamically adapt to kernbase changes on crashdumps, falling back to
...
KERNBASE if the "kernbase" symbol is not present on older kernels.
2001-08-24 09:12:04 +00:00
David E. O'Brien
fcd08e35ec
Define _KERNEL as this grubs around where no userland should go.
2001-08-16 20:47:01 +00:00
Ruslan Ermilov
8af1452cf8
Removed duplicate VCS ID tags, as per style(9).
2001-08-13 14:06:34 +00:00
David E. O'Brien
8a61321605
Hook up the manpage.
2001-07-29 07:21:39 +00:00
David E. O'Brien
50ea040994
Add lbasename which is used in the `LD' fix for -current.
2001-07-20 03:53:28 +00:00
David E. O'Brien
6f6c5dce4e
Update the version string so I can identify this new variant.
2001-07-20 03:51:17 +00:00
Peter Wemm
da81118c1b
Use the real structure names explicitly. Note that this is mostly for
...
reading old a.out core files, which are totally 100% non-understandable
to the gdb floating-point reader if you have SSE turned on.
This should be the last of the world build breakers...
2001-07-12 13:01:17 +00:00
Ruslan Ermilov
26e7668052
Fixed CLEANFILES.
2001-07-12 08:48:36 +00:00
David E. O'Brien
c46eebd508
Upgrade to Binutils 2.11.2.
2001-06-29 07:49:41 +00:00
David E. O'Brien
1b1d481112
Style fix.
2001-06-26 18:32:20 +00:00
David E. O'Brien
f6c9428e6e
Add the IA-64 unwind handling (needed for readelf).
2001-06-26 18:29:47 +00:00
David E. O'Brien
e3ffd96636
Upgrade to Binutils 2.11.2.
2001-06-26 18:20:46 +00:00
David E. O'Brien
d4d994956c
Upgrade to 2.11.2.
2001-06-26 17:13:11 +00:00
David E. O'Brien
21bb5468b7
Minor style reformatting.
2001-06-01 05:31:02 +00:00
David E. O'Brien
0644c58328
Upgrade to Binutils 2.11.0.
2001-06-01 05:30:31 +00:00
David E. O'Brien
f99372a0e4
Upgrade to Binutils 2.11.0.
2001-05-28 09:19:47 +00:00
David E. O'Brien
bb59398935
Total hack to fix broken bootstrap. Add -I/usr/src/include at the tail
...
end of the include searching. We really need a real fix for the issue of
which set of headers to use in compiling the cross-tools -- /usr/include,
or /usr/src/include.
2001-05-03 21:37:06 +00:00
Matt Jacob
8dde563eb3
like i386, add inclusion of lock.h
2001-05-03 06:33:33 +00:00
Mark Murray
573fbdc21f
Compensate for dethreaded headers.
...
(I have no religion about how this was done. Follow-up commits welcome)
2001-05-01 09:08:09 +00:00
Ruslan Ermilov
eb0838029f
mdoc(7) police: normalize .Nd.
2001-04-18 15:54:10 +00:00
Andrey A. Chernov
7b8ab0d8c9
Upgrade for readline 4.2
2001-04-11 04:27:10 +00:00
David E. O'Brien
370d222b7f
Remove MIPS support.
...
It has rotted quite badly and no one has provided updates for it.
2001-04-11 00:12:48 +00:00
David E. O'Brien
7ea7bc591b
Reduce the libiberty sources we build to those we actually need.
2001-03-31 20:00:18 +00:00
David E. O'Brien
8da473940c
Minor style cleanup.
2001-03-31 07:50:30 +00:00
Ruslan Ermilov
e5ac5644e2
MAN[1-9] -> MAN.
2001-03-27 14:59:06 +00:00
David E. O'Brien
3547b75e97
Temporary build structure for GDB 5.0 so people can test the new version
...
before pulling the switch to making it the default version.
2001-03-25 02:20:37 +00:00
David E. O'Brien
09ef0b3c85
Note rules of enguagement.
2001-03-15 23:20:13 +00:00
David E. O'Brien
16833ea1d9
Allow "NOSHARED" to be overridden.
...
Submitted by: bde
2001-02-28 10:46:50 +00:00
David E. O'Brien
23d39e7247
Make critical toolchain binaries staticly linked in this development
...
version of the OS.
2001-02-27 11:25:43 +00:00
David E. O'Brien
688292859a
Our OS name is "freebsd", not "freebsdelf"
2001-02-21 11:43:35 +00:00
Jake Burkholder
aa17032fcb
- Add #defines for the symbol names of the kernel interrupt, system
...
call and trap entry points so they're easy to find and change
- Use the cpuhead and allcpu list to locate globaldata for the current
cpu, rather than SMP_prvspace or __globaldata
- Use offsets into struct globaldata directly to find per-cpu variables,
rather than symbols in globals.o
Glanced at by: peter
2001-01-10 18:15:25 +00:00
Peter Wemm
57a0ee63f0
Fix gdb -k after jake's most recent commit. The gd_XXX symbols are now
...
offsets in all cases, and we have to find the base address (&__globaldata)
ourselves for the UP case as well as SMP.
2001-01-07 05:08:39 +00:00
Poul-Henning Kamp
3281461493
Use macro API to <sys/queue.h>
...
Submitted by: Dima Dorfman <dima@unixfreak.org>
Reviewed by: phk
2000-12-31 11:22:42 +00:00
Ruslan Ermilov
1c232e52cd
Prepare for mdoc(7)NG.
2000-12-27 13:59:17 +00:00
Joerg Wunsch
4a24038b4c
Fix an annoying message ``gdb: ptrace(PT_GETDBREGS) failed: No such process''
...
when using gdb on a remote target. The fix is to restrict PT_GETDBREGS
calls to `child' and `freebsd-uthreads' targets solely.
I've been in some conversation with Brian about this, and this solution
seems to be the most appropriate one.
PR: gnu/21685
Submitted by: bsd
2000-12-26 20:38:46 +00:00
David E. O'Brien
95f3f78cbe
Our OS name is "freebsd", not "freebsdelf".
2000-12-15 20:11:28 +00:00
John Baldwin
65e26c5e18
Catch up to the new kinfo_proc.
2000-12-12 23:21:24 +00:00
David E. O'Brien
1a37aa566b
Add `_PATH_DEVZERO'.
...
Use _PATH_* where where possible.
2000-12-09 09:35:55 +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
5ce16708c7
stringify.sed' has been replaced by
astring.sed' [on ANSI-C systems].
2000-11-25 13:56:28 +00:00
David E. O'Brien
72b5e8cc9f
Correct the Bintuils src path from the debugging version I accidently
...
committed.
2000-11-15 22:05:00 +00:00
David E. O'Brien
04f9b2d551
Upgrade to Binutils 2.10.1.
2000-11-15 21:29:55 +00:00
David E. O'Brien
a7bf21bf6c
Build and install the useful `readelf' util that is new with Binutils 2.10.0.
2000-11-13 09:47:31 +00:00
Daniel Eischen
ed21d82204
Sync gdb thread support with recent changes to the threads library.
...
Approved by: obrien
2000-11-10 00:36:01 +00:00
Daniel Eischen
7c021a1090
Adjust to reflect recent changes in the internal layout of a struct
...
pthread in libc_r.
Reviewed by: dfr
2000-10-13 22:15:19 +00:00
Joerg Wunsch
22c68d23f5
Implement the GDB counterpart to use hardware watchpoints in connection
...
with Brian's kernel support for i386 debug registers. This makes
watchpoints actually usable for real-life problems. Note: you can
only set watchpoints on 1-, 2- or 4-byte locations, gdb automatically
falls back to [sloooow] software watchpoints when attempting to use
them on variables which don't fit into this category. To circumvent
this, one can use the following hack:
watch *(int *)0x<some address>
David O'Brien is IMHO considering to get this fully integrated into the
official GDB, but as long as we've got the i386/* files sitting around
in our private FreeBSD tree here, the feature can now be tested more
extensively, so i'm committing this for the time being.
This work has been done in order to debug a tix toolkit problem, thus
it has been sponsored by teh Deutsche Post AG.
Reviewed by: bsd (not the operating system, but Brian :-)
2000-08-17 16:27:26 +00:00
David E. O'Brien
b4720b889e
Install the general binutils (such as `nm') info files.
...
Patch submitted by: nbm
PR: 16585
Submitted by: Assar Westerlund <assar@sics.se>
2000-07-10 09:55:29 +00:00
David E. O'Brien
ddad85161d
We are now at version 2.10 release.
2000-06-20 06:19:15 +00:00
Jake Burkholder
e39756439c
Back out the previous change to the queue(3) interface.
...
It was not discussed and should probably not happen.
Requested by: msmith and others
2000-05-26 02:09:24 +00:00
Jake Burkholder
740a1973a6
Change the way that the queue(3) structures are declared; don't assume that
...
the type argument to *_HEAD and *_ENTRY is a struct.
Suggested by: phk
Reviewed by: phk
Approved by: mdodd
2000-05-23 20:41:01 +00:00
David E. O'Brien
bacaa92f40
Updated 2.10 headers.
2000-05-22 08:40:17 +00:00
David E. O'Brien
e22c5813c4
Tweaks to match those done in the Binutils mainline code.
2000-05-22 08:33:03 +00:00
David E. O'Brien
b6c2cab2dc
version 2.10 config file.
2000-05-22 08:26:10 +00:00
David E. O'Brien
7994fa95cd
Conditionally define "CROSS_COMPILE" here.
2000-05-22 08:25:40 +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
David E. O'Brien
076c80b287
Use a alternate side 2.9.1 source tree while upgrading Binutils.
2000-05-12 22:55:23 +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
Steve Price
2b3c840334
Add sparcnetbsd support and cleanup style so that this looks nearly
...
identical to Makefile.sparc.
2000-04-16 23:42:25 +00:00
Steve Price
e3163f8ce0
Fix a typo (aout32.o -> aout32.c). Add support for NetBSD/Sparc and
...
sparc64.
2000-04-16 23:39:46 +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
Steve Price
c720912e54
Add support for sunos_big_vec to support 'make world's on Solaris
...
boxes.
2000-04-03 03:51:46 +00:00
Steve Price
eb0bd3c3d2
Add support for the sunos_big_vec format as well.
2000-04-03 03:48:49 +00:00
Steve Price
d07cc88aff
Build and install the elf32_sparc ld(1) scripts and make elf32_sparc
...
the default emulation.
2000-04-03 03:42:07 +00:00
Steve Price
5e59c5460c
First cut at the (non-contrib) bits needed to build the binutils
...
distribution for FreeBSD/Sparc64.
Reviewed by: obrien
2000-04-02 22:36:56 +00:00
Steve Price
78d3fce125
The ld directory is in ${SRCDIR} not ${BINUTILSDISTDIR}.
2000-04-02 20:23:58 +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
3ef5063241
A bandaid to try and make this buildable. This should probably be
...
rechecked by somebody who knows what is meant to happen here. The new
libreadline rluser.texinfo file duplicates the '@defcodeindex bt' entry.
2000-03-20 10:52:28 +00:00
David E. O'Brien
e216cd60d3
Build and install gasp's infodocs along side the other binutil docs rather
...
than seperately.
Pointed out by: bde
2000-02-21 20:33:31 +00:00
David E. O'Brien
79f9b09ff2
Honestly, really, really add a manpage for gasp.
1999-12-30 04:48:17 +00:00
David E. O'Brien
35ebfc88a5
Add a manpage for gasp.
1999-12-30 04:46:38 +00:00
David E. O'Brien
bbf480ddf2
Hookup the info docs.
1999-12-29 00:38:48 +00:00
David E. O'Brien
983d57fe35
Build and install the GASP info page. Unfortunately there is no manpage.
1999-12-28 22:32:24 +00:00
Marcel Moolenaar
ecc4dcbd82
s/MACHINE_ARCH/TARGET_ARCH/g
...
The target machine is represented by TARGET_ARCH. MACHINE_ARCH always
represents the host machine. When TARGET_ARCH is not defined, it is
assumed to be equal to MACHINE_ARCH. This means that we're building a
native toolset by default. We're creating cross-compilation tools when
MACHINE_ARCH != TARGET_ARCH.
TARGET_ARCH is defined when building binutils as part of the bootstrap
build and is set to reflect the architecture we're currently cross-
building. With this change binutils is ready for cross-building.
1999-12-17 15:50:45 +00:00
Marcel Moolenaar
7466caf46a
Don't make gdb, objc and f77 when building tools.
1999-12-09 16:40:27 +00:00
Doug Rabson
db6b5f91cf
Make this actually build with current sources.
1999-12-08 11:47:48 +00:00
Doug Rabson
99b8134654
Build gasp (GAS Preprocessor). This is needed for building Glide.
1999-12-07 17:01:27 +00:00
Marcel Moolenaar
0917704bd4
${MACHINE} -> ${MACHINE_ARCH}
...
All Makefiles now use MACHINE_ARCH for the target architecture.
Unification is required for cross-building.
Tags added to:
sys/boot/Makefile
sys/boot/arc/loader/Makefile
sys/kern/Makefile
usr.bin/cpp/Makefile
usr.bin/gcore/Makefile
usr.bin/truss/Makefile
usr.bin/gcore/Makefile:
fixed typo: MACHINDE -> MACHINE_ARCH
1999-11-14 13:54:44 +00:00
Marcel Moolenaar
2205071966
Make binutils for Alpha work on i386 machine, by properly defining
...
whether the host machine has a 64-bit long or not.
1999-11-12 16:53:58 +00:00
John Birrell
d19f65c59d
Replace freebsdelf with freebsd in BINDIR
...
Requested by: obrien
1999-11-07 08:07:02 +00:00
John Birrell
e806769bd7
These have been repo-copied to i386-freebsd.
1999-11-07 06:13:35 +00:00
John Birrell
8e3f8ad334
These have been repo-copied to alpha-freebsd.
1999-11-07 06:11:36 +00:00
John Birrell
4ed1406b4c
Replace freebsdelf with freebsd in most places.
...
Requested by: obrien
1999-11-07 06:01:35 +00:00
John Birrell
da93b590fb
After a repo copy of as_{alpha,i386,mips} to {alpha,i386,mips}-freebsd,
...
tidy up the logic that works out which sub-directories to build.
The new directories with freebsdelf suffixes now have freebsd suffixes
after a repo move by Peter at the request of David O'Brien.
1999-11-07 05:59:25 +00:00
John Birrell
bf5c062675
Replace freebsdelf with freebsd in BINDIR.
...
[ alpha-freebsd, i386-freebsd and mips-freebsd were repo-copied
by Peter (one of the repo-men) ]
Requested by: obrien
1999-11-07 05:56:04 +00:00
John Birrell
4fecd2e259
Add support for additional architectures.
1999-11-06 22:52:33 +00:00
John Birrell
86f001b84c
Use the simplified genscripts.sh and set the cross-compiled library
...
directory to /usr/cross/${MACHINE_ARCH}-freebsdelf/usr/lib so that
the cross tools behave the same way that the host versions do. When
building cross tools, Cygnus doesn't set the default library directory.
This doesn't suit FreeBSD IMHO.
Add WinNT emulation support too. You only get this if you've set
BINUTILSDISTDIR because the contrib/binutils repository doesn't
contain the required sources.
1999-11-06 22:46:45 +00:00
John Birrell
08d64a6b65
Use the simplified genscripts.sh and set the cross-compiled library
...
directory to /usr/cross/${MACHINE_ARCH}-freebsdelf/usr/lib so that
the cross tools behave the same way that the host versions do. When
building cross tools, Cygnus doesn't set the default library directory.
This doesn't suit FreeBSD IMHO.
1999-11-06 22:44:32 +00:00