Commit Graph

323 Commits

Author SHA1 Message Date
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