Commit Graph

221 Commits

Author SHA1 Message Date
ru
03fb4ce195 Prepare for mdoc(7)NG. 2000-12-27 13:59:17 +00:00
joerg
05c5536b8f 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
obrien
479e65df3a Our OS name is "freebsd", not "freebsdelf". 2000-12-15 20:11:28 +00:00
jhb
43e413488a Catch up to the new kinfo_proc. 2000-12-12 23:21:24 +00:00
obrien
c2ee1dcc02 Add `_PATH_DEVZERO'.
Use _PATH_* where where possible.
2000-12-09 09:35:55 +00:00
obrien
40bf148c56 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
obrien
76e09cb341 stringify.sed' has been replaced by astring.sed' [on ANSI-C systems]. 2000-11-25 13:56:28 +00:00
obrien
c33eca4e33 Correct the Bintuils src path from the debugging version I accidently
committed.
2000-11-15 22:05:00 +00:00
obrien
2d220ac7a0 Upgrade to Binutils 2.10.1. 2000-11-15 21:29:55 +00:00
obrien
3b748c2f8b Build and install the useful `readelf' util that is new with Binutils 2.10.0. 2000-11-13 09:47:31 +00:00
deischen
2298b37bd4 Sync gdb thread support with recent changes to the threads library.
Approved by:	obrien
2000-11-10 00:36:01 +00:00
deischen
c38dc4b5f9 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
362647b567 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
obrien
53039364ea 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
obrien
5a907ff0c1 We are now at version 2.10 release. 2000-06-20 06:19:15 +00:00
jake
961b97d434 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
d93fbc9916 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
obrien
0624c65a35 Updated 2.10 headers. 2000-05-22 08:40:17 +00:00
obrien
f9cf2be8ca Tweaks to match those done in the Binutils mainline code. 2000-05-22 08:33:03 +00:00
obrien
aa7968485d version 2.10 config file. 2000-05-22 08:26:10 +00:00
obrien
e6cacfa3cb Conditionally define "CROSS_COMPILE" here. 2000-05-22 08:25:40 +00:00
obrien
c2ff59c916 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
obrien
ea10302aad callback.c is not really used, nor is it part of GDB 4.18. 2000-05-17 19:30:59 +00:00
obrien
8cd37d7556 Use a alternate side 2.9.1 source tree while upgrading Binutils. 2000-05-12 22:55:23 +00:00
dfr
706084939e Add support for debugging programs using libc_r's implementation of
pthreads.
2000-04-29 09:03:49 +00:00
steve
c42b9409ef Add sparcnetbsd support and cleanup style so that this looks nearly
identical to Makefile.sparc.
2000-04-16 23:42:25 +00:00
steve
c637f38769 Fix a typo (aout32.o -> aout32.c). Add support for NetBSD/Sparc and
sparc64.
2000-04-16 23:39:46 +00:00
gj
f9d6885bc6 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
9c96a3af95 Add support for sunos_big_vec to support 'make world's on Solaris
boxes.
2000-04-03 03:51:46 +00:00
steve
5a99709c25 Add support for the sunos_big_vec format as well. 2000-04-03 03:48:49 +00:00
steve
9560447fbd 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
2e142113a1 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
969b28293d The ld directory is in ${SRCDIR} not ${BINUTILSDISTDIR}. 2000-04-02 20:23:58 +00:00
bde
3df6f40aa1 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
72ba83a59e 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
obrien
a9d506d5fb 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
obrien
909b9c1e8a Honestly, really, really add a manpage for gasp. 1999-12-30 04:48:17 +00:00
obrien
ea37af3a71 Add a manpage for gasp. 1999-12-30 04:46:38 +00:00
obrien
b44d317152 Hookup the info docs. 1999-12-29 00:38:48 +00:00
obrien
f9f846550e Build and install the GASP info page. Unfortunately there is no manpage. 1999-12-28 22:32:24 +00:00
marcel
b05cb67442 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
542194f894 Don't make gdb, objc and f77 when building tools. 1999-12-09 16:40:27 +00:00
dfr
9ca6f15c21 Make this actually build with current sources. 1999-12-08 11:47:48 +00:00
dfr
280ae2df10 Build gasp (GAS Preprocessor). This is needed for building Glide. 1999-12-07 17:01:27 +00:00
marcel
17ed6e05da ${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
23856581a7 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
jb
ca5c8e5ca1 Replace freebsdelf with freebsd in BINDIR
Requested by: obrien
1999-11-07 08:07:02 +00:00
jb
81e20dd7c7 These have been repo-copied to i386-freebsd. 1999-11-07 06:13:35 +00:00
jb
9f72cef76d These have been repo-copied to alpha-freebsd. 1999-11-07 06:11:36 +00:00
jb
0fb7b21e57 Replace freebsdelf with freebsd in most places.
Requested by: obrien
1999-11-07 06:01:35 +00:00