Commit Graph

3127 Commits

Author SHA1 Message Date
David E. O'Brien
eaa35077b4 Move to more global Makefile.tgt vs. having to define in the leaves. 2006-09-12 07:37:44 +00:00
David E. O'Brien
8d60fe4054 Default to big endian ARM if "TARGET_BIG_ENDIAN" is defined, and set an ARM
target default.
2006-09-12 07:37:02 +00:00
David E. O'Brien
124866d539 Default to big endian ARM if "TARGET_BIG_ENDIAN" is defined (& targeting ARM). 2006-09-12 07:09:45 +00:00
David E. O'Brien
6b31c6b17f Craft the FreeBSD/ARM ABI by hacking the New ARM ABI source.
Submitted by:	cognet
2006-09-12 07:03:58 +00:00
David E. O'Brien
da07c79f6a Default vector to big endian ARM if "TARGET_BIG_ENDIAN" is defined. 2006-09-12 07:02:15 +00:00
David E. O'Brien
25024d95e9 Build 'ld' supporting a big endian ARM if "TARGET_BIG_ENDIAN" is defined. 2006-09-12 06:59:39 +00:00
David E. O'Brien
fc2717a0d2 Configure for for big endian if TARGET_BYTES_BIG_ENDIAN is defined. 2006-09-12 06:39:27 +00:00
David E. O'Brien
78b00795ef Define build 'as' TARGET_BYTES_BIG_ENDIAN if "TARGET_BIG_ENDIAN" is defined.
This is needed for bi-sex architectures.
2006-09-11 18:07:09 +00:00
Warner Losh
ba15c568ab Fix three whitespace nits.
I think these are from kan@...
2006-09-11 05:12:12 +00:00
John Baldwin
63ed2c123d Use the pcb in stoppcbs[] if it is present for threads that were running
on other CPUs in system when a dump is written.

Submitted by:	ups
Reviewed by:	marcel
MFC after:	3 days
2006-08-25 16:20:17 +00:00
Marcel Moolenaar
8788b6eb7a Add initial support for kgdb(1) on PowerPC. 2006-08-24 21:53:49 +00:00
Marcel Moolenaar
e6fcb75d5f Build gdb on PowerPC. 2006-08-24 15:46:29 +00:00
Marcel Moolenaar
d3715149da Add basic support for PowerPC. This excludes kgdb(1). 2006-08-24 02:44:59 +00:00
Marcel Moolenaar
711feca61e Add rs6000 to the architectures on PowerPC. It's needed by gdb(1). 2006-08-24 02:36:21 +00:00
John Baldwin
c198287ff3 Remove special handling for PC == 0. With this, kgdb can now properly
unwind across a page fault due to a null function pointer.  It does a
better job than ddb now in fact.

Reviewed by:	marcel
MFC after:	3 days
2006-08-23 19:16:17 +00:00
Ruslan Ermilov
9d26d008ac Remove alpha-specific stuff.
Approved by:	marcel
2006-08-23 12:14:26 +00:00
Marcel Moolenaar
2eed31bc7e Build gperf(1) for/on PowerPC. There's no apparent reason not to
build it and nothing can be found in the commit logs. We won't
know if there are runtime problems, until we build it...
2006-08-21 18:25:43 +00:00
Ruslan Ermilov
1e49a13618 How stupid of me. :>> doesn't change a modification time. 2006-08-14 13:02:01 +00:00
Ruslan Ermilov
ae862803e0 - Include bsd.own.mk early so existsence check using ${SHAREDIR}
actually works.
- Touch /usr/share/tmac/man.local if it already exists.

MFC after:	3 days
2006-08-14 12:21:57 +00:00
Ruslan Ermilov
7eeb0bd711 Touch locale' and se_locale' if they exist to stop people from
thinking they are obsolete.

Prodded by:	kris
Submitted by:	des
MFC after:	3 days
2006-08-14 12:10:54 +00:00
David E. O'Brien
7a8f16b8bd Fix typo.
Submitted by:	kevlo
2006-08-10 16:39:55 +00:00
Ruslan Ermilov
d251852965 Add FreeBSD 6.2 to the list of known versions. 2006-08-08 19:47:10 +00:00
Yaroslav Tykhiy
2836761516 Add libbsm to the list of our standard libraries.
Approved by:	ru
2006-08-05 20:38:23 +00:00
David E. O'Brien
ff0c6b70eb Add initial platform support.
Submitted by:	cognet
2006-07-22 15:27:18 +00:00
David E. O'Brien
1acfb1b180 Add ARM platform Makefile for building BFD. We include the New ARM ABI only.
(rev 1.1 was an accidental commit)
2006-07-22 14:55:55 +00:00
David E. O'Brien
dbff1be7a8 Be consistent in quoting. 2006-07-22 14:37:17 +00:00
David E. O'Brien
0b47627195 Create a genscripts driver based on the PowerPC one. 2006-07-22 14:36:15 +00:00
David E. O'Brien
9c82c2e2b6 The platform name is ARM not StrongARM.
Submitted by:	cognet
2006-07-22 14:12:02 +00:00
Ceri Davies
d5208d005b Add the sun4v category.
Requested by:	linimon, kmacy
X-MFC:		Instant
2006-07-17 10:36:56 +00:00
Ruslan Ermilov
ea59cd4167 Clean the product of patch(1). 2006-04-10 09:00:19 +00:00
John-Mark Gurney
c7f87cc77f bring in the necessary changes to make gdbserver compile and work (at
least on i386)...  fbsd-* changes started out as s/linux/fbsd/g and then
additional changes to handle different ptrace defines among other things..
(use vfork to eliminate a race for progress group creation)

reg-i386.c is generated by regdat.sh..
2006-04-06 22:24:01 +00:00
John-Mark Gurney
2f05465cd1 import gdbserver Linux files renamed to fbsd... I have made gdbserver
work w/ minor modifications to these files, so keep the history...

These are stock files from GDB 6.1.1 w/ only the filename s/linux/fbsd/g
2006-04-06 21:32:05 +00:00
John-Mark Gurney
b5fbf2189d remove these vestiges of gdbserver.. It hasn't built in a long time, and
now really belongs in gdb, not binutils..  Plus, these don't resemble what
the new gdbserver looks like.
2006-03-31 00:37:42 +00:00
Ruslan Ermilov
d55557650a Desupport the *_COLLECT2 no-op. 2006-03-21 08:59:36 +00:00
Ruslan Ermilov
e1fe3dba5c Reimplementation of world/kernel build options. For details, see:
http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html

The src.conf(5) manpage is to follow in a few days.

Brought to you by:	imp, jhb, kris, phk, ru (all bugs are mine)
2006-03-17 18:54:44 +00:00
Tim J. Robbins
7c5f1a3fc5 Correctly locate the character preceeding the matched string in -w
mode when in non-UTF-8 multibyte locales (e.g. EUC, GB2312, etc.).

PR:		91909
2006-02-19 04:27:39 +00:00
Jung-uk Kim
71eeea5bab - Add default choice option for --yesno box.
- Reduce trivial code duplications.
2006-02-07 20:14:07 +00:00
David Xu
d56a014b6e Introduce a new proc service routine ps_linfo() to get LWP info. 2006-02-07 02:29:55 +00:00
David Xu
9224f6b811 1. Eliminate compile warnings.
2. Add command 'thread signal' to print out current thread's signal mask
   and pending signals.
2006-02-06 06:07:56 +00:00
Ruslan Ermilov
68659d4b5d Don't pollute output when "make" is run with -s.
Approved by:	kan
2006-01-14 20:48:50 +00:00
Ruslan Ermilov
7a62fb4692 Remove releases now found in Groff sources. 2006-01-12 15:33:18 +00:00
Alexander Kabaev
daefc6601d Add -w parameter which tells kgdb to open kmem-based targets in read-write
mode. This allows one to use kgdb on /dev/mem and be able to patch memory
on a live system. This is identical to what -wcore used to do in previous
gdb versions for FreeBSD.

Requested by:	wpaul
2006-01-04 23:17:52 +00:00
Doug Rabson
c0b9f4fe65 Add a new extensible GSS-API layer which can support GSS-API plugins,
similar the the Solaris implementation. Repackage the krb5 GSS mechanism
as a plugin library for the new implementation. This also includes a
comprehensive set of manpages for the GSS-API functions with text mostly
taken from the RFC.

Reviewed by: Love Hörnquist Åstrand <lha@it.su.se>, ru (build system), des (openssh parts)
2005-12-29 14:40:22 +00:00
Ruslan Ermilov
b5a8bae44b Fix a markup nit.
PR:		docs/88848
Prodded by:	remko
2005-12-18 12:09:23 +00:00
Ruslan Ermilov
8c7a62275a Prepare for MACHINE and hw.machine switching to "pc98" on FreeBSD/pc98.
Reviewed by:	nyan
2005-12-05 14:22:12 +00:00
Joel Dahl
389f1f906b Add entry for 6.1. 2005-11-24 17:28:43 +00:00
Ruslan Ermilov
c3f2a836ad doc sweep 2005-11-17 12:16:33 +00:00
Xin LI
165edba6a7 Suggest the user to use 'diff -urN' instead of 'diff -crN'.
Submitted by:	Jimmie James  <jimmiejaz@gmail.com>
PR:		docs/88427
2005-11-03 03:49:57 +00:00
David E. O'Brien
a1cfcf9970 Locate __FreeBSD_cc_version's value beside __FreeBSD__'s value to make it
easier to keep them in sync.
2005-10-30 19:04:47 +00:00
David E. O'Brien
67ae096798 Catch up with FreeBSD 7. 2005-10-29 09:13:31 +00:00
Marcel Moolenaar
6631d1e9cd Fix dump of the unread portion of the kernel message buffer.
PR: bin/87964
Submitted by: Frank Mayhar	frank at exit dot com
2005-10-26 02:22:28 +00:00
Tim J. Robbins
ebeecabae3 Fix 'grep -Fw' for encodings other than UTF-8 (RH bug #161700).
PR:		87969
Obtained from:	Fedora (Tim Waugh)
2005-10-25 09:18:50 +00:00
David E. O'Brien
9758b8d802 Add vim syntax highlighting support to the send-pr(1) utility.
PR:		35333
Submitted by:	Hendrik Scholz <hendrik@scholz.net>
2005-10-24 01:36:16 +00:00
Stefan Farfeleder
4ce619ce5a Document [:blank:]. 2005-10-23 11:19:56 +00:00
Jung-uk Kim
4a4051fe5e Remove redundant string length check from the previous commit. 2005-10-21 15:17:18 +00:00
Jung-uk Kim
354cdde5b9 Fix a longstanding buglet in bz-prefixed grep(1). 2005-10-20 21:50:44 +00:00
Ruslan Ermilov
5bcc5808d0 Remove some conversion leftovers. 2005-10-20 11:10:43 +00:00
Ruslan Ermilov
54d3fd886a Upgrade to Groff 1.19.2. 2005-10-20 10:57:53 +00:00
Tim J. Robbins
ff409d3258 Compile with -DHAVE_LSTAT since, for whatever reason, the configure script
shipped with GNU cpio 2.6 fails to test for it.
2005-10-06 09:49:37 +00:00
Tim J. Robbins
f805c0d80d Define HAVE_MKFIFO and HAVE_SETLOCALE here since the configure script
apparently fails to do it.
2005-10-01 06:35:58 +00:00
Tim J. Robbins
e2576da582 Update for GNU cpio 2.6. 2005-10-01 04:57:01 +00:00
Peter Wemm
de143d260c Unbreak - remove leftover reference to pcb_rflags. 2005-09-28 07:40:27 +00:00
Marcel Moolenaar
dc78598a0f Claim frames corresponding to tl(0|1)_intr and tl0_trap as well. I
think that's the lot, but it's hard to understand the exception code
by mere glancing at it.

MFC after: 1 week
2005-09-11 06:52:14 +00:00
Marcel Moolenaar
78af1d5d26 Unwind across intrframes as well. While here, better handle bottom of
stack by claiming the frame when the IP is 0. It's a bit of a kluge,
but avoids screens full of bogus frames.

MFC after: 1 week
2005-09-11 05:55:24 +00:00
Marcel Moolenaar
af08e55700 Unwind across intrframes as well.
MFC after: 1 week
2005-09-11 05:36:30 +00:00
Marcel Moolenaar
4784fd9ce2 Unwind across trap frames. Handles all entry points, except the EPC
syscall. This is an entry from userland anyway.

MFC after: 1 week
2005-09-11 00:47:03 +00:00
Marcel Moolenaar
2a5bd389cf Unwind across trapframes. All kernel entries are handled.
MFC after: 1 week
2005-09-10 23:11:54 +00:00
Marcel Moolenaar
35f38699dc Unwind across trap frames. This adds most of the meat. The sniffer
just needs to be taught about all the other entry points and the
unwinder needs to be taught about the frame variation between them.

MFC after: 1 week
2005-09-10 22:03:09 +00:00
Marcel Moolenaar
a8f01390e1 Unwind across trap frames. This adds most of the meat. The sniffer
just needs to be taught about all the other entry points and the
unwinder needs to be taught about the frame variation between them.

MFC after: 1 week
2005-09-10 21:01:36 +00:00
Marcel Moolenaar
6ab0894870 Unwind across trap frames. This adds most of the meat. The sniffer
just needs to be taught about all the other entry points and the
unwinder needs to be taught about the frame variation between them.

MFC after: 1 week
2005-09-10 20:12:52 +00:00
Marcel Moolenaar
c67d07416a Add a kluge to allow kgdb(1) to inject its own frame sniffer in the
list of frame sniffers so that trapframes can be detected. The kluge
is needed because this version of gdb only supports appending a
sniffer to the list of sniffers and the moment kgdb gets a chance to
add its own frame sniffer, the target's default frame sniffer is
already in the list. Since the default frame sniffer claims any
frame thrown at it, kgdb's frame sniffer never gets to smell (a
process much akin to tasting, but with lesser chance of hurling :-)

This commit adds dummy frame sniffers that never claim a frame and
as such don't fix anything yet. However, we now have frame sniffers
and they are being called, so it's just a matter of adding meat to
the bones and we'll be able to properly unwind across trapframes.

MFC after: 1 week
2005-09-10 18:25:53 +00:00
Giorgos Keramidas
c2dd33d88b Expand a bit the description of the -t option.
Triggered by:	Stijn Hoop <stijn@win.tue.nl>
		on freebsd-questions
2005-09-09 11:29:51 +00:00
Gary W. Swearingen
5eada96429 Added ENVIRONMENT section (PAGER, MANPATH, etc.).
PR:             docs/84485
Submitted by:   garys
Approved by:    keramida
MFC after:      3 days
2005-09-01 01:00:55 +00:00
Marcel Moolenaar
3b347f6ccc Fix backtraces. Supply registers from the register window.
MFC after: 3 days
2005-08-16 05:13:57 +00:00
Poul-Henning Kamp
96f71b3cb7 Control rcs inclusion with NO_RCS insted of NO_TOOLCHAIN 2005-08-06 20:23:13 +00:00
Marcel Moolenaar
688deacdfa o Remove the obscure tid command, because it does what the thread
command does, but worse.
o  Remove the obscure proc command, because it does what the thread
   command does, but not unambigously.
o  Move the PID to the extra thread info, where it makes sense and
   where it doesn't confuse users. The extra thread info holds some
   process information, to which the PID belongs.
o  Implement the to_find_new_threads target method by having it call
   the target beneath us if we're not using KVM. This makes sure that
   new threads are found when using the remote target.

o  Fix various core dump scenarios:
   -  Implement the to_files_info target method. Previously the
      'info target' command would cause a NULL pointer dereference.
   -  Don't assume there's a current thread. We're not initialized
      in all cases. This prevents a NULL pointer dereference.
   -  When we're not ussing KVM, have the to_xfer_memory target
      method call the target beneath us. This avoids calling into
      KVM with a NULL pointer.

MFC after: 1 week
2005-08-06 19:22:27 +00:00
Marcel Moolenaar
9ca14a4113 o As mentioned in the previous commit: make the KVM error buffer
static.
o  Register a function with atexit(3) to close the KVM object if
   we have one open.
o  Show the unread portion of the kernel's message buffer before
   presenting the prompt. It's bound to provide some useful info.
o  Don't call kgdb_target() twice. It results in having all threads
   listed twice.

MFC after: 1 week
2005-08-06 19:07:07 +00:00
Poul-Henning Kamp
093c6e1283 let NO_MAN control man
let NO_TOOLCHAIN control rcs
let NO_INFO control texinfo
2005-08-05 16:08:53 +00:00
Poul-Henning Kamp
3291b357d2 Respect NO_EXAMPLES 2005-08-05 16:04:54 +00:00
Poul-Henning Kamp
3a4316bd9e Don't install groff if NO_GROFF 2005-08-03 09:22:42 +00:00
Giorgos Keramidas
75eb780790 Spell "currently" correctly. 2005-07-28 15:59:52 +00:00
Wolfram Schneider
45268882a8 remove myself as maintainer. 2005-07-17 21:18:09 +00:00
Robert Watson
e916e57bf0 Hook up libmemstat(3) to the library list in mdoc.local. This will cause
the library description (specifically, -lmemstat) to render properly in
the libmemstat.3 man page.

Submitted by:	ru
MFC after:	1 week
2005-07-15 10:27:35 +00:00
Ken Smith
4900836a01 Adjust for HEAD being 7.0 now.
Approved by:	re (implicit)
2005-07-11 15:50:29 +00:00
Peter Wemm
8015e78d5d kvm_openfiles() uses the supplied buffer for storing error messages
in future calls, so we can't free it here.  The right place to free the
buffer would be to be after kvm_close(), but we don't do that yet.  A
static buffer would work too.

Reviewed by:  marcel (who has other plans for this anyway)
Approved by:  re
2005-06-24 00:50:12 +00:00
Ruslan Ermilov
0f06a231d5 A number of manpages already use ``.Fx 5.5'', define it.
Approved by:	re (blanket)
2005-06-16 21:13:20 +00:00
Ceri Davies
7d976eea7f 1. Add the threads and usb categories.
2. Fill in the blanks on the advocacy category.
3. Expand a contraction while I'm in here.

Prodded by:	simon (1)
Approved by:	re (hrs)
MFC after:	5 days
2005-06-16 19:27:12 +00:00
Ruslan Ermilov
3f98a1280b Clean up after the last change -- remove now stale comment. 2005-06-10 07:06:07 +00:00
Dag-Erling Smørgrav
ee66677a7a Remove kludges intended to support src trees with partial obj trees.
Discussed with:	ru
2005-06-10 06:12:53 +00:00
Simon L. B. Nielsen
2948f3ea27 Correct directory traversal and race condition vulnerabilities in gzip.
Security:	FreeBSD-SA-05:11.gzip
Security:	CAN-2005-0988, CAN-2005-1228
Obtained from:	Steve Grubb via RedHat, Debian
Approved by:	nectar
2005-06-08 21:25:19 +00:00
Warner Losh
f92a6dac5e Tidy up cvs entries 2005-06-03 15:08:30 +00:00
Alexander Kabaev
5f6d880564 Update bmake glue for GCC 3.4.4. 2005-06-03 04:21:04 +00:00
Tim J. Robbins
10f38d95af Pass the RE_ICASE flag to re_set_syntax() as appropriate to fix
case-insensitive matching (-i option) in certain multibyte locales.

Obtained from:	Fedora
2005-05-31 12:49:04 +00:00
Doug Rabson
8d7681bb7f Add support for XMM registers in GDB for x86 processors that support
SSE (or its successors).

Reviewed by: marcel, davidxu
MFC After: 2 weeks
2005-05-31 09:43:04 +00:00
Ruslan Ermilov
b5481c54cc Update for texinfo 4.8. 2005-05-23 10:52:07 +00:00
Tim J. Robbins
2d97dca698 Add a note explaining what local modifications have been made to GNU grep,
and giving advice on importing future releases.
2005-05-14 06:33:23 +00:00
Tim J. Robbins
9473343264 Fixed -w handling for EGexecute.
Obtained from:	Fedora (Tim Waugh)
2005-05-14 06:13:23 +00:00
Tim J. Robbins
4475bed3d2 Automatically disable DFA when processing multibyte input. GREP_USE_DFA
environment variable overrides.

Obtained from:	Fedora (Tim Waugh)
2005-05-14 06:12:03 +00:00
Tim J. Robbins
aed59eaecf Better multibyte handling in EGexecute() and Fexecute(). Fixed -Fi for
multibyte input (RH bug #143079).

Obtained from:	Fedora (Jakub Jelinek, Tim Waugh)
2005-05-14 06:09:12 +00:00
Tim J. Robbins
712fe40aed Removed redundant (and incorrect) code in prline. Fixes grep -i --color "",
among other things.

PR:		79063
Obtained from:	Fedora (Tim Waugh)
2005-05-14 05:35:04 +00:00
Tim J. Robbins
833d4d167b Fix background colour problems with --color output (RH bug #138913).
Obtained from:	Karsten Hopp via Fedora
2005-05-14 05:26:48 +00:00
Tim J. Robbins
1bd8c187c0 Fixed a bug in the fgrep patch, exposed by the dfa-optional patch
(RH bug #138558). Removed bogus part of grep-2.5.1-fgrep patch.

Obtained from:	Fedora (Jakub Jelinek, Tim Waugh)
2005-05-14 04:17:07 +00:00
Tim J. Robbins
e20df16c79 Fix dfa multibyte character class matching when -i is used (RH bug #123363).
Obtained from:	Fedora (Tim Waugh)
2005-05-14 03:18:20 +00:00
Tim J. Robbins
52e523ead7 Remove mb-caching hack.
Obtained from:	Fedora (Tim Waugh)
2005-05-14 03:02:22 +00:00
David Xu
e8595f94cd Don't try to enable event reporting for core file, it is not writable. 2005-05-06 11:01:15 +00:00
Joseph Koshy
753d5aee17 Capitalize words in library description.
Submitted by:	ru
2005-04-19 13:26:58 +00:00
Joseph Koshy
ebccf1e3a6 Bring a working snapshot of hwpmc(4), its associated libraries, userland utilities
and documentation into -CURRENT.

Bump FreeBSD_version.

Reviewed by:	alc, jhb (kernel changes)
2005-04-19 04:01:25 +00:00
David Xu
e6e653cd66 Report events from thread library. 2005-04-12 03:04:04 +00:00
David Xu
0d6c666e74 Print thread address.
PR: threads/76821
2005-04-05 11:40:58 +00:00
Tim Kientzle
602778ab8e Stop building gtar. Bump __FreeBSD_version to reflect this change. 2005-03-21 05:30:58 +00:00
Tim Kientzle
fd2a6fc1dc Ooops. Correctly disable "tar"->"gtar" link.
Thanks to: Simon L. Nielsen, who was the first of
    several people to point this out. <sigh>
2005-03-21 04:02:42 +00:00
Tim Kientzle
1ca479296c Deorbit gtar, step 1: Remove WITH_GTAR knob.
"tar" is now always a synonym for "bsdtar".
  People who need gtar can access it as "gtar."

Approved by:	No objections on arch@
2005-03-20 20:38:46 +00:00
Marcel Moolenaar
7c6ae50b9d Implement and document the -q and -f options with their corresponding
long form (-quiet and -fullname resp.) Bump documentation date.

PR: bin/78031
MFC after: 5 days
2005-03-02 18:40:04 +00:00
David E. O'Brien
39e38e7623 .It the -v option. 2005-03-01 20:41:38 +00:00
Alexander Kabaev
d723452067 Restore r1.2 change to use TARGET_ARCH.
Submitted by:	kris
2005-02-20 23:06:03 +00:00
Alexander Kabaev
325ce5d8fb Attempt to make kgdb little more useful and easy to use. Properly initialize
it to recognise what ABI  to use on amd64 (and possibly others) platform.
Display PID and process name as a part of the 'info threads' output, TIDs
alone are too confusing. Introduce new commmands 'tid <tid>' and 'proc <pid>'
to accompany gdb's default 'thread <thread num>' to make the task of switching
between different contexts easier.
2005-02-20 22:55:07 +00:00
Marcel Moolenaar
56c1065a47 Remove mention of the -k and -wcore options because they don't
exist anymore.

PR: doc/70943
Submitted by: Jun <junsu at delphij dot net>
Reviewed by: delphij
2005-02-15 07:13:51 +00:00
David E. O'Brien
01950bb64f Use the system gnuregex library vs. building GNU regex bits into libiberty
and using them.

Reviewed by:	marcel,imp
Desired by:	ache
2005-02-14 12:10:14 +00:00
David E. O'Brien
c34acf4a4c Fix regression in output with -R compared to previous version.
PR:		77466
Submitted by:	Andre Guibert de Bruet <andy@siliconlandmark.com>
2005-02-13 23:07:30 +00:00
Ruslan Ermilov
0227791b40 Expand *n't contractions. 2005-02-13 22:25:33 +00:00
Ruslan Ermilov
b58635504c libpam is now standard. 2005-01-25 09:37:37 +00:00
Ruslan Ermilov
b781f31ceb Sort sections. 2005-01-18 09:04:26 +00:00
Ruslan Ermilov
4c0dba7213 Fold two ENVIRONMENT sections into one. 2005-01-18 09:03:19 +00:00
Ruslan Ermilov
a866e17077 Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
Ruslan Ermilov
42b28e8149 Markup nits. 2005-01-13 10:07:51 +00:00
Peter Edwards
ad93bc4a36 When grabbing registers for an lwp, fake the inferior's pid using the
lwp ID before invoking the underlying target operation.

For corefiles, we rely on gdb internals to do this, and it uses the
pid as an index, rather than the lwpid, so previously, backtraces
for multithreaded core files wasn't working correctly. For processes,
we currently use ptrace directly, so fixup that code to also use
the pid directly.

Discussed With: marcel, davidxu
MFC After: 4 days
2005-01-11 14:53:16 +00:00
Ruslan Ermilov
6fa13ec06f Scheduled mdoc(7) sweep. 2005-01-09 19:54:23 +00:00
Ceri Davies
a2232ecf21 Add a usb category for USB PRs.
Requested by:	Craig Rodrigues on behalf of usb@
MFC After:	1 day
2005-01-05 12:13:10 +00:00
Giorgos Keramidas
2b45dd45cb A lot of people may want to submit PRs from systems that are not
connected to the Internet or systems that do not have a correctly
configured email subsystem.  Now that the send-pr web interface has
antispam protection, mention that it is ok to use it for submitting
problem reports.

Ok by:		linimon
Submitted by:	Rob <spamrefuse@yahoo.com> on freebsd-doc
2004-12-29 19:32:21 +00:00
Ruslan Ermilov
a216173556 NOCRYPT -> NO_CRYPT 2004-12-21 10:16:04 +00:00
Ruslan Ermilov
83c7ade90a NOSHARED -> NO_SHARED 2004-12-21 09:59:45 +00:00
Ruslan Ermilov
e653b48c80 Start the dreaded NOFOO -> NO_FOO conversion.
OK'ed by:	core
2004-12-21 08:47:35 +00:00
Ruslan Ermilov
c88f165bd5 Uncomment an upcoming 5.4-RELEASE. 2004-12-18 07:20:33 +00:00
Joseph Koshy
41ecd18235 Uncomment entries for FreeBSD 6.0 and 4.11.
Requested by:	ru
2004-12-18 01:07:18 +00:00
Ken Smith
f8ffaabb9d Add removal of MKTEMP_SH_FUNCTION to processing for cvsbug script.
Approved by:	peter (a while ago)
MFC After:	1 week
2004-12-10 18:16:52 +00:00
Marcel Moolenaar
6add7f75e4 Source changes to allow building a cross-debugger. Move solib.c and
solib-svr4.c to the MD makefiles because they are native files for
alpha and sparc64, but target files for amd64, i386 and ia64.

Note that kgdb(1) does not yet build as a cross-debugger due to
libkvm.
2004-12-05 06:59:01 +00:00
Marcel Moolenaar
3edecb0846 Fix previous commit. GDB_CROSS_DEBUGGER needs to be defined for all
subdirectories.
2004-12-05 04:08:22 +00:00
Marcel Moolenaar
20a9661305 Makefile (only) changes to allow building a cross debugger. 2004-11-30 05:12:37 +00:00
Marcel Moolenaar
88bca61ea5 s/MACHINE_ARCH/TARGET_ARCH/. We use TARGET_ARCH to pick the MD files
for libgdb and should do so here as well.
2004-11-30 02:56:53 +00:00
Joerg Wunsch
466bc517d1 [Sorry, forgot to commit my source changes in my previous commit.]
Document all options and general usage.

Implement the -a option to bump the annotation_level.  This improves
the Emacs gud behaviour.  You can now supply the following function

(defun gud-gdb-massage-args (file args) (cons "-a" args))

(e.g. by evaluating it from the *scratch* buffer) and get the normal
jump to the source window when browsing the stack.

We should probably eventually supply our own kgdb submode to gud.el.
2004-11-22 16:08:19 +00:00
Joerg Wunsch
fa632bb17f Document all options and general usage.
Implement the -a option to bump the annotation_level.  This improves
the Emacs gud behaviour.  You can now supply the following function

(defun gud-gdb-massage-args (file args) (cons "-a" args))

(e.g. by evaluating it from the *scratch* buffer) and get the normal
jump to the source window when browsing the stack.

We should probably eventually supply our own kgdb submode to gud.el.
2004-11-22 16:07:28 +00:00
Joerg Wunsch
05127e036e Fix the abuse of Ar macros for designating flag options, use Fl instead. 2004-11-22 15:43:46 +00:00
David Xu
ba4030c7ad Always set current thread when activating thread debugger,
the current thread may already be added by fbsd_find_new_threads,
this can result that current thread is not set correctly.
2004-11-15 13:06:01 +00:00
Giorgos Keramidas
e23bfceab5 The correct name of the long option is --line-buffered,
not --line-bufferring.

PR:		docs/72985
Submitted by:	John Engelhart <johne@zang.com>
MFC after:	1 week
2004-11-09 17:00:06 +00:00
Marcel Moolenaar
d303220319 Whitespace fix. 2004-11-09 06:32:37 +00:00
Marcel Moolenaar
8170ab332c Prepare for a subsequent import: If the first letter of the filename
changes, start on a new line. Insertion of a filename will keep the
diff limited to the block of filenames that have the same first letter
instead of creating a huge diff. While here, move remote.c after the
remote-*.c files and move tui.c after the tui-*.c files. This matches
the order of ls(1) and makes it easier to compare object files created
by a stock gdb(1) build with the list of files we have here.

This is a non-functional change only.
2004-11-09 06:02:48 +00:00
Alexander Kabaev
37df7946f8 Remove trailing whitespace.
Pointed out by:	ru
2004-11-07 22:49:20 +00:00
Alexander Kabaev
307971459e Reconnect c++filt to the build. 2004-11-07 13:46:56 +00:00
Alexander Kabaev
9e03fe9114 Unbreak c++filt. It was disconnected from the build and never fixed during
GCC 3.4.2 work unintentioanlly.

Reminded by:	bms
2004-11-07 13:46:16 +00:00
Ruslan Ermilov
a35d88931c For variables that are only checked with defined(), don't provide
any fake value.
2004-10-24 15:33:08 +00:00
Ruslan Ermilov
2b0448ba0c Utilize SCRIPTS. 2004-10-18 21:44:17 +00:00
Andrey A. Chernov
082a6f6612 Update to readline 5.0 2004-10-18 10:13:24 +00:00
Peter Wemm
5c1d217420 Make cvsbug(1) actually work instead of aborting due to missing configure
script substitution markers.
2004-09-28 21:19:31 +00:00
Peter Wemm
92ae313d8e Fix the embedded version string in cvs and cvsbug. This breaks scripts
that parse it.

PR: 72139
Submitted by:  Eugene M. Kim <gene@nttmcl.com>
2004-09-28 21:02:43 +00:00
Ceri Davies
3f83bced70 Use a safe temporary file for saving out the PR if send-pr is
interrupted.

MT5:	7 days
MT4:	7 days
2004-09-14 20:30:35 +00:00
Brooks Davis
f52501ba8c If the argument to the -r flag starts with a ':' or a '|', don't try to
make sure it is a device.  GDB special cases these prefixes and treats
:#### as a tcp port on localhost and executes what ever follows '|'.

This allows kgdb to debug via dconschat.

Discussed with:	marcel
2004-09-03 07:11:42 +00:00
David Xu
a1ad8d2ae7 Only compile fbsd-thread.c on amd64 and i386, other architectures
have not been tested yet.
2004-08-22 10:59:33 +00:00
David Xu
44f53819a6 Fix comments, most are style fix. 2004-08-22 09:05:57 +00:00
David Xu
386c57b571 Fix some text messages. 2004-08-22 08:48:56 +00:00
David Xu
97dc8984f9 Add code to support statically linked binary and .core file of threaded
program.
2004-08-22 05:53:38 +00:00
Ruslan Ermilov
e3178db9b6 Meet the 6.0-CURRENT era. While here, teach mdoc(7) about the upcoming
FreeBSD 4.11-RELEASE.
2004-08-19 10:41:54 +00:00
Ruslan Ermilov
7c996c4acc A fix from rev. 1.52 of gnu/usr.bin/cc/cc_tools/Makefile was lost
in rev. 1.57.  Fix this regression by making cc_tools a new-style
build-tool in Makefile.inc1.  For details of what has been fixed,
please see the gnu/usr.bin/cc/cc_tools/Makefile,v 1.52 commit log.

Caught this by accidentally touching param.h while in the process
of cross-buildworld for amd64.
2004-08-18 13:21:40 +00:00
Marcel Moolenaar
7a5bf37951 Improve the usage. Without any arguments, kgdb(1) works on /dev/mem
with the currently running kernel image. Otherwise, one of -c, -n or
-r is expected for working on a particular core file (-c), working
on a saved dump (-n) or working remotely (-r). When working on a
saved dump, a kernel may be omitted.
For a remote debugging session (-r), kgdb(1) will use the specified
device.
2004-08-15 02:39:20 +00:00
Tim J. Robbins
d5a0b816a0 Bring in fix from gzip 1.3.3 to avoid crashes when processing certain corrupt
input files:

1999-06-25  Paul Eggert  <eggert@twinsun.com>

        * inflate.c (huft_build):
        Set n to length of v, to detect improper tables.
        Don't accidentally grow j past z.

MFC after:	3 days
2004-08-13 05:38:44 +00:00
Alexander Kabaev
3b76f3bcca Consolidate libiberty files in one place and avoid listing some
of them in several places.

Noticed by:	bsdimp
2004-08-12 16:36:52 +00:00
Tim J. Robbins
bfdbe5d98d Change version string to distinguish our modified version of GNU grep
from the original.
2004-08-12 06:45:31 +00:00
Tim J. Robbins
f63fffc57e Update version strings to better reflect reality. 2004-08-12 06:40:31 +00:00
Tim J. Robbins
06c3f81d42 Hook xalloc-die.c up to the build. 2004-08-12 06:02:28 +00:00
David Xu
4eb32c7e19 Initialize thread_db module. 2004-08-10 12:20:00 +00:00
David Xu
2c4abc3eb7 Initialize thread_db module. 2004-08-08 22:46:22 +00:00
David Xu
d771a99114 1. Add some code check if thread suspending or resuming is failed.
2. Add code to retrieve thread tls address.
2004-08-08 22:45:36 +00:00
Colin Percival
d37df47d31 Join the 21st century: Cryptography is no longer an optional component
of releases.  The -DNOCRYPT build option still exists for anyone who
really wants to build non-cryptographic binaries, but the "crypto"
release distribution is now part of "base", and anyone installing from a
release will get cryptographic binaries.

Approved by:	re (scottl), markm
Discussed on:	freebsd-current, in late April 2004
2004-08-06 07:27:08 +00:00
Ruslan Ermilov
b45dc7cef1 Whitespace nit.
OK'ed by:	kan
2004-08-03 06:40:04 +00:00
Alexander Kabaev
5fbbfacea3 Fix a copy and paste error. Do not include errors.c in libgcc_int.a,
it is only used by build tools.

Submitted by:	grehan
2004-07-30 14:50:52 +00:00
Alexander Kabaev
aa8ad7aad0 Add NO_WERROR here. Binutils as does not compile cleanly with GCC 3.4.x. 2004-07-28 05:39:04 +00:00
Alexander Kabaev
81efba8c9e Bmake glue for GCC 3.4.2-prerelease. 2004-07-28 05:27:21 +00:00
Marcel Moolenaar
d7d921e37e Hook kgdb into the build. 2004-07-25 05:32:50 +00:00
Marcel Moolenaar
60b992ff2f Add the beginnings of kernel debugging support. the kgdb(1) tool
is basicly a shell on top of libgdb that knows about kernel threads,
kernel modules and kvm(3). As the word "beginnings" implies, not
all of the features have been implemented yet. The tool is useful
and I'd like feedback on the taken route.

The simplest way to debug a kernel core file is:
	kgdb -n 0

This opens /var/crash/vmcore.0 with the corresponding kernel in
the object directory (kernel.debug is used if it exists).

Typical things that need to be added are:
o  Auto loading of kernel modules,
o  Handling of trapframes so that backtraces can be taken across
   them,
o  Some fancy commands to extract useful information out of a core
   file,
o  Various (probably many) other things.
2004-07-25 05:29:15 +00:00
Marcel Moolenaar
6ec5fc1963 o ps_pd{read|write} and ps_pt{read|write} are obsolete interface
functions. Only ps_p{read|write} remains.
o  Remove ps_getpid. We don't need it now.
2004-07-17 17:08:13 +00:00
Tim Kientzle
16847ae6c0 Make bsdtar the default system tar. This makes /usr/bin/tar a symlink
pointing to /usr/bin/bsdtar by default.  To make it point to /usr/bin/gtar,
you can define WITH_GTAR.
2004-07-17 06:03:47 +00:00
David Xu
794adb75ee ptrace's first parameter is command not pid. pointy hat to me. 2004-07-16 06:11:48 +00:00
Marcel Moolenaar
306fc21ba1 Update config.h to account for the prgregset_t and psaddr_t types
that have been added to <sys/procfs.h>. This change has no effect
because the source file that would be affected is not compiled on
FreeBSD. Hence, this is for completeness only.
2004-07-16 05:03:42 +00:00
David Xu
2136835712 Add libthread_db assisted debugging support module. 2004-07-15 04:51:04 +00:00
David E. O'Brien
7d0fc2f49e MAJOR cleanup of the Bmake framework.
This includes removing all vestiges of the old not-really supported
ability to build cross tools targeting non-FreeBSD systems, such as
m68k Lynx and NetBSD.  Move as much duplicated code from platform
Makefiles into the shared Makefiles.  Add a simple mechanism for
specifying ELF 'ldscripts'.  Also share as many .h files as possible
(now a single bfd.h vs. one per platform).
2004-07-08 17:05:34 +00:00
Ruslan Ermilov
59b7843e01 Build things in dictionary order. 2004-07-07 17:24:30 +00:00
David E. O'Brien
0b0edffbbb Prepare for upcoming Binutils house cleaning. 2004-07-06 21:55:11 +00:00
Tim J. Robbins
95cc51cfbd Fix bug causing `[' to be wrongly included in character class expressions
in some multibyte locales (Red Hat bug #108484).

Obtained from:	Fedora (Tim Waugh)
2004-07-04 16:25:41 +00:00
Tim J. Robbins
2af417add4 Make grep run much (~10x) faster in multibyte locales by caching the wide
character representation of input data across calls to dfaexec(), and by
caching the lengths of character across calls to check_multibyte_string().

Obtained from:	Fedora (Tim Waugh)
2004-07-04 16:16:59 +00:00
Tim J. Robbins
7358ecc6b6 Avoid accessing accessing memory past the end of mb_properties in the
degenerate case of fgrep with an empty pattern in a multibyte locale.
Found by phkmalloc.
2004-07-04 14:00:25 +00:00
Tim J. Robbins
91a4826a49 Improve case-insensitive matching in multibyte locales.
Obtained from:	Isamu Hasegawa (IBM) via Fedora
2004-07-04 11:58:10 +00:00
Tim J. Robbins
a7e3f3f0db Fix failure of fgrep to report some matches (Red Hat bug #116909).
Obtained from:	Fedora (Tim Waugh)
2004-07-04 11:33:49 +00:00
Tim J. Robbins
dddd0d87a3 Use hard_locale() to check whether collating order is "hard" regardless
of whether NLS is enabled.
2004-07-04 10:24:48 +00:00
Tim J. Robbins
1188285e9b Ignore ENABLE_NLS when deciding whether we can use setlocale().
Use the same shortcut as glibc to test for the "C" or "POSIX" locale.
2004-07-04 10:22:50 +00:00
Tim J. Robbins
19b0d58f6f Update for grep 2.5.1. 2004-07-04 10:05:37 +00:00
Tim J. Robbins
e5978bf334 Merge local changes. 2004-07-04 10:02:03 +00:00
Tim J. Robbins
d1e9179e8c This commit was generated by cvs2svn to compensate for changes in r131554,
which included commits to RCS files with non-trunk default branches.
2004-07-04 09:52:08 +00:00
Tim J. Robbins
6fdbbb5487 Import GNU grep 2.5.1 (trimmed) 2004-07-04 09:52:08 +00:00
Ruslan Ermilov
f97d4ddfed Mechanically kill hard sentence breaks. 2004-07-02 21:53:39 +00:00
Ruslan Ermilov
d37ea99837 Removed trailing whitespace. 2004-07-02 19:07:33 +00:00
Tim J. Robbins
5a3af8fce5 Hook strnlen.c up to the build - the i18n patch uses it. 2004-07-02 11:09:55 +00:00
Tim J. Robbins
a1c82d5daf Update build infrastructure for sort from GNU coreutils 5.2.1. 2004-07-02 09:34:37 +00:00
Marcel Moolenaar
861492f7ea Removed. It was used for building gdb docs, which we don't do here
anymore.
2004-06-27 03:34:54 +00:00
Marcel Moolenaar
f8a1406eca We don't have to reach into binutils/doc anymore for inc-hist.diff
The file was repo copied into our doc directory.
2004-06-27 03:33:17 +00:00
Bruce Evans
e0345d1748 Fixed world breakage in the NOSHARED=yes case (missing library).
Fixed some style bugs.
2004-06-26 08:48:50 +00:00
David E. O'Brien
88ef5f9abd GDB has moved up one level. 2004-06-25 07:34:56 +00:00
Marcel Moolenaar
9e104bcbfc Hook gdb into the build. Exclude gdb on arm and powerpc as support
does not exist yet. The NO_GDB knob is respected.
2004-06-25 07:15:13 +00:00
Marcel Moolenaar
2d4b977b2d Remove building gdb info files. The gdb info files are built as part
of building gdb itself, which has been decoupled from binutils for
as much as is reasonable.
2004-06-25 06:55:49 +00:00
Marcel Moolenaar
a855a971e8 Add bmake glue for gdb 6.1.1. Supports alpha, amd64, i386, ia64
and sparc64.

Note that the debugger doesn't support threading, nor kernel
debugging yet.
2004-06-25 06:48:54 +00:00
David E. O'Brien
29d4ba3f47 Turn back on the building of GDB info files. 2004-06-23 04:36:04 +00:00
David E. O'Brien
c041ca55ad This should be the right set of docs sources. 2004-06-21 18:23:51 +00:00
David E. O'Brien
13aa0cfc8a Disable building of GDB info files until the gdb6 upgrade is finished. 2004-06-21 18:09:20 +00:00
David E. O'Brien
264ea182b8 With tmm's latest change to the sparc64 dynamic loader, we can remove this
hack to binutils and use the stock sparc64 sources.
2004-06-20 09:46:13 +00:00
David E. O'Brien
34d55919fb Our 'TOOLS_PREFIX' and not 'DESTDIR' matches what the stock GNU build
framework wants.
2004-06-20 01:44:58 +00:00
Marcel Moolenaar
209205620c Update to binutils 2.15. 2004-06-19 23:18:14 +00:00
Marcel Moolenaar
7905213dd1 Seperately add regex.c and splay-tree.c to SRCS. They are both needed
by gdb(1). While here, sort SRCS.
2004-06-19 22:22:42 +00:00
Marcel Moolenaar
dad12fe587 Add the necessary branding of ELF files. This is relatively easy to
achieve on ia64, because we need to generate the ELF64/ia64 code and
simply tag elf-fbsd-brand.c at the end of it.

This hasn't actually been tested beyond trivial compilation testing.
A buildworld has been started and it's time I wait for my changes to
loop back to my local repo anyway. I'll get back to this in a couple
of hours...
2004-06-19 21:14:10 +00:00
Marcel Moolenaar
831f4a372e Add bfdwin.c to SRCS. The file contains support for mmap(2) windows
into a BFD. It's included in stock BFD on the platforms I checked
(i386 and ia64).
2004-06-19 20:50:57 +00:00
Marcel Moolenaar
5b728dfd69 Move the elf32-target.h and elf64-target.h targets from the MD
makefiles to the centralized makefile. This not only reduces
duplication, it also makes the MD quirks stand out better and
thus improves maintenance.
2004-06-19 20:37:38 +00:00
Marcel Moolenaar
690258427d Update to binutils 2.15:
o  BFD_VERSION_DATE now reflects the release date of 2.15,
o  BFD_VERSION now has the correct version number.

Previous values reflected 2.14.92 from a week prior to release.

While here, fix a whitespace (tab) nit.
2004-06-19 19:44:19 +00:00
Marcel Moolenaar
e6535bde1e Update to binutils 2.15:
o  HAVE_SEEKO and HAVE_TELLO are defined now. These are used in bfdio.c.
o  HAVE_STRTOULL is defined now. This is used in bfd.c.
2004-06-19 19:25:33 +00:00
Marcel Moolenaar
d84675107c Update to binutils 2.15. 2004-06-19 18:52:31 +00:00
David E. O'Brien
d8a921c775 Commit a crude hack so we get sparc64 snapshots working again with a
stable ld.so.  We need to revisit the rtld-elf/sparc64/rtld_start.S
rev. 1.5 and rtld-elf/sparc64/rtld_machdep.h rev. 1.5, which was
suppose to allow stock Binutils 2.13 (and later) to be used.
2004-06-17 16:08:20 +00:00
David E. O'Brien
e223c68bfc Updated Bmake framework for Binutils 2.15. 2004-06-16 07:09:44 +00:00
David E. O'Brien
98c20d02c0 Disable gdb from the build due to the impending binutils 2.15 import.
GDB 5.12 cannot consume the 2.15 bfd and libiberty.
2004-06-16 05:19:00 +00:00
David E. O'Brien
9232e635e0 Sperate out the MD parts of kvm-fbsd to get rid of the #ifdef maze.
Also quiet some warnings by tweaking the included headers.
2004-06-11 16:09:38 +00:00
Peter Wemm
20fe68acb9 Revise previous commit - I managed to mess up a 1-line change and broke
amd64 world.  The csu code evalues this Makefile with a different origin.
2004-06-11 00:35:29 +00:00
Peter Wemm
aabc36c5b8 The gcc/config/i386/freebsd64.h file neglects to override the default
(bogus, application name space) mcount function name on amd64.  Override
it here instead.

I've done it this way to avoid touching gcc source while 3.4 is in
progress, and this is the smallest, lowest impact I could come up with.
Adding a patch touches about 10-14 lines of Makefile, this touches only 1.
This will likely go away with the 3.4 import.

I spoke with Alexander about this a few days ago, but waited until after
sorting out some of the other bugs in the userland profiling.
2004-06-10 22:18:33 +00:00
Peter Wemm
82d583b4b9 Turn cvs back on after import; that was less painful than I expected. 2004-06-10 19:17:20 +00:00
Peter Wemm
5602449b69 Turn off cvs while import/merging. 2004-06-10 19:02:42 +00:00
Tim Kientzle
020a53a0cc Have /usr/bin/tar be a symlink to /usr/bin/gtar rather
than a hardlink.  This will make it easier for people
to tell which system tar they're currently using.
2004-06-04 00:39:46 +00:00
Alexander Kabaev
4e02989415 Remove componenst which are not part of GCC 3.3 and which are not likely
to get used again in the future.
2004-05-29 04:05:37 +00:00
David E. O'Brien
c337dbb2f2 Use pcbp->pcb_ufp for UltraSparc vs. ->pcb_fp. 2004-05-10 17:45:51 +00:00
David E. O'Brien
b38dafc010 Restore vendor Id. 2004-05-03 10:33:27 +00:00
David E. O'Brien
78b67cd1f8 Tweak to rev 1.8 to match the offical http://www.gzip.org/gzip-1.2.4b.patch 2004-05-03 10:29:23 +00:00
David E. O'Brien
774cd1faf6 Gzip assumes 'unsigned long' is 32-bits wide and depends on this.
One thing Gzip does is implicitly by store the size of a file into an
'unsigned long' rather than  explicitly compute the remainder modulo 2^32
(see RFC 1952 section 2.3.1 "ISIZE").  Thus an extracted file size is
does not equal the original size (mod 2^32) for files larger than 4GB.

This manifests itself in errors such as:
	zcat: bigfile.gz: invalid compressed data--length error

PR:		66008, 66009
Submitted by:	Peter Losher <Peter_Losher@isc.org>
Patch by:	tjr
2004-05-02 23:07:49 +00:00
Tim J. Robbins
def2bdaaa5 Apply patch from gzip web page to correctly decompress files larger than
4GB on architectures with 64-bit long integers.
2004-05-02 02:54:37 +00:00
David E. O'Brien
cd4db58afd Revert rev 1.21 which configured with --enable-64-bit-bfd.
GDB 5.2 can't handle a 64-bit BFD on a 32-bit host.
We can revisit configuring with --enable-64-bit-bfd when we get a modern GDB.
2004-04-18 16:09:33 +00:00
Ruslan Ermilov
aea7b53859 Removed local bits that are now part of the standard mdoc(7) package. 2004-04-16 07:19:13 +00:00
Ruslan Ermilov
c75d8c9028 Whitespace nit in previous revision. 2004-04-15 19:13:27 +00:00
Peter Wemm
da2f648f0b Update bmake glue for cvs-1.11.15, with apologies to Jacques for messing
up his day.  The *.patch files are still fine for MFC'ing.
2004-04-15 01:54:28 +00:00
Peter Wemm
257229b834 Turn off cvs build for a few hours while importing. 2004-04-15 01:01:07 +00:00
Jacques Vidrine
41b1a98f59 Patch vulnerabilities in the CVS client and server:
A malicious CVS server could cause your CVS client to overwrite
  arbitrary files (CAN-2004-0180).

  When a CVS client uses the `-p' checkout option, the server could be
  fooled into checking out files from outside the given $CVSROOT.

(This patch is applied in an unorthodox manner so as not to complicate
 a later vendor import of CVS.)
2004-04-14 16:40:50 +00:00
Ruslan Ermilov
08ecc50d50 Added FreeBSD 5.2.1, just in case. 2004-04-13 07:12:17 +00:00
Ruslan Ermilov
6570505a8f Added upcoming 4.10 and 5.3 releases.
Reminded by:	marcel
2004-04-13 07:07:46 +00:00
Ceri Davies
9612b1d4c2 Add a new threads category.
PR:		gnu/65209
Submitted by:	Craig Rodrigues <rodrigc@crodrigues.org>
Discussed with:	julian,deischen
MFC after:	1 day
2004-04-05 23:06:16 +00:00
Daniel Harris
f7593c8b32 Get rid of a spurious "the".
PR:		64081
Submitted by:	Chris Pepper <pepper@reppep.com>
MFC after:	1 day
2004-03-18 20:36:14 +00:00
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
Ruslan Ermilov
38639d5191 Fixed "make clean". 2004-03-03 17:04:49 +00:00
Andrey A. Chernov
0416b7503d Merge conflicts, upgrade 2004-03-01 08:37:20 +00:00
Andrey A. Chernov
7a39f4da90 Trimmed grep 2.4.2 2004-03-01 08:24:49 +00:00
Andrey A. Chernov
cdd3ecb3a1 This commit was generated by cvs2svn to compensate for changes in r126432,
which included commits to RCS files with non-trunk default branches.
2004-03-01 08:24:49 +00:00
Andrey A. Chernov
d022c66fd1 Use system getopt_long* 2004-02-28 05:38:45 +00:00
Bruce Evans
72abc018fe Rremoved bogus -static from CFLAGS. Makeworld will add -static in the
correct place if needed and possible.  Self-hosted builds can just use
the system default.
2004-02-26 07:50:56 +00:00
Bruce Evans
c561816b66 Backed out the residue of rev.1.13 (bogus addition of -static to CFLAGS).
Makeworld will add -static in the correct place if needed and possible.
Self-hosted builds can just use the system default.

Fixed some nearby style bugs (code unrelated to its comment, and comment
formatting).
2004-02-26 07:08:33 +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
c66dab6245 Remove getopt*.c, we already have compatible getopt_long() in libc 2004-02-17 03:40:32 +00:00
Andrey A. Chernov
275e64c344 Remove getopt*.c, we already have compatible getopt_long() in libc
(cc toolchain use it rarely, so no surprizes should occurse)
2004-02-17 03:18:24 +00:00
Andrey A. Chernov
b3529dcd32 Remove getopt*.c, we already have compatible getopt_long() in libc 2004-02-17 02:08:03 +00:00
Andrey A. Chernov
3cf745d8c9 Remove getopt*.c, we already have compatible getopt_long() in libc 2004-02-17 01:59:37 +00:00
Andrey A. Chernov
4611c83a7f Remove getopt*.c, we already have compatible getopt_long() in libc 2004-02-17 01:49:20 +00:00
Andrey A. Chernov
353d3e550f Remove getopt*.c, we already have compatible getopt_long() in libc 2004-02-17 01:40:25 +00:00
Andrey A. Chernov
e27b3bf5e2 Remove getopt*.c, we already have compatible getopt_long() in libc 2004-02-17 01:34:53 +00:00
Andrey A. Chernov
c715cc9e20 Remove getopt*.c, we already have compatible getopt_long() in libc 2004-02-17 01:08:34 +00:00
Andrey A. Chernov
123b24e355 Remove getopt*.c, we already have getopt_long() in libc 2004-02-17 00:56:16 +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
Andrey A. Chernov
5f9bc92ce8 Switch back to regex.h and fix error when mismatched regex.h used with
system libgnuregex
2004-02-16 23:25:49 +00:00
Andrey A. Chernov
af210d1ee6 Remove files no longer needed
Switch back to regex.h
2004-02-16 22:56:36 +00:00
Andrey A. Chernov
90fc35042b 1) Remove files no longer needed.
2) Switch back to regex.h
2004-02-16 22:43:05 +00:00
Tim Kientzle
b4435eb7d9 Register libarchive in bsd.libnames.mk and mdoc.local
Submitted by:	ru
2004-02-13 01:14:38 +00:00
Tim Kientzle
3d82406997 Style fixes: Use curly braces in Makefiles,
use cat (not cp) to copy files.

Submitted by:	ru
2004-02-13 00:58:48 +00:00
Maksim Yevmenkin
d806a0a80d Register libbluetooth and libsdp
Reviewed by:	imp (mentor), ru
2004-02-12 23:50:56 +00:00
Tim Kientzle
581dfc5cc0 GNU tar in the base system is now called "gtar"
"tar" is now just a link to "gtar".

This lays the groundwork for an orderly migration
from GNU tar to some other tar.  (First, we introduce
the new tar program, then we migrate the 'tar' name,
then we remove gtar, with intervals of months between
these steps.)

Approved by:	gordon
2004-02-11 05:44:20 +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
47d7e8a96f Fixed style of DPADD and LDADD assignments as per style.Makefile(5). 2004-02-05 22:44:25 +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
Dag-Erling Smørgrav
eab0ab565c Remove Perl lines; it's better to let use.perl handle them. 2004-02-04 22:37:14 +00:00
Ceri Davies
92f367e5f2 Add a section documenting the return values from diff.
PR:		docs/59991
Submitted by:	keramida,Erik Greenwald <erik@smluc.org>
MFC After:	1 week
2004-02-01 13:52:19 +00:00
Ruslan Ermilov
d2dcbef638 Catch up with the 20040130 src/UPDATING entry, and spell libpthread
as -lpthread.  (Alpha and SPARC64 still spell it -lkse, but we hope
this to change by 5.3-RELEASE.)

Reviewed by:	deischen
2004-01-31 09:41:05 +00:00
David E. O'Brien
b7300254ae Discontinuation of an action that now fits on one. 2004-01-27 05:01:08 +00:00
Alexander Kabaev
1d38183672 Do not treat make variables as Perl variables. 2004-01-26 16:12:29 +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
207659654a Put libufs into the correct slot in the list. 2004-01-15 15:19:31 +00:00
Ruslan Ermilov
0cce80b925 Added description for libthr.
Reviewed by:	deischen
2004-01-15 15:18:21 +00:00
Ruslan Ermilov
0161ff2670 Fixed "make clean". 2004-01-15 10:07:59 +00:00
Ruslan Ermilov
d2ec2cabee Last revision also added duplicate SRCS. Fixed this so that
the resulting .a library has only unique .o files.

Noticed by:	bde
2004-01-12 22:02:31 +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
Ruslan Ermilov
1b427c9cd4 Removed duplicate SRCS. 2004-01-12 07:46:20 +00:00
Ruslan Ermilov
2eb3a038d7 Ensure that generated headers are here before we build .depend
and object files in a less hackish way compatible with further
planned changes to bsd.dep.mk.
2004-01-11 20:45:46 +00:00
Alexander Kabaev
eb46541e9c Stop compiling files which are not part of GCC 3.3.x. 2004-01-05 20:23:16 +00:00
Alexander Kabaev
cd3d9d6c3c Use __cxa_atexit, rather than atexit, to register C++ destructors for local
statics and global objects.  This is essential for fully standards-compliant
handling of destructors, and requires __cxa_atexit in libc.
2003-12-19 18:20:48 +00:00
Alexander Kabaev
903f6fc326 Add two additional headers for amd64 and x86.
Reported by: Ollivier Robert
2003-12-09 16:31:30 +00:00
Ruslan Ermilov
ad48e87d0c MFR: Bump manpages revision to 5.2. 2003-12-07 15:46:50 +00:00
David E. O'Brien
13e85b308a /rescue/g{{,un}zip,zcat} exist, so build this dynamically now. 2003-11-17 05:18:36 +00:00
David E. O'Brien
270a7d5792 /rescue/tar exists, so build this dynamic now. 2003-11-17 05:16:26 +00:00
Ceri Davies
aca4a77119 Attempt to save the last dregs of emacs users' sanity by saving the
contents of the PR when an interrupt is received during the editor
session.  This stops the use of ^G from deleting a filled PR from
underneath the user.

PR:		bin/59201
Submitted by:	Heikki Suonsivu <hsu@evoluutio.bbnetworks.net>
MFC After:	2 weeks
2003-11-12 23:08:23 +00:00
David E. O'Brien
febc611cfa FBSDID style nit. 2003-11-12 08:33:18 +00:00
Dag-Erling Smørgrav
a1cf198715 The current Perl 5.8 version is 5.8.1; 5.8.2 is right around the corner. 2003-11-10 08:28:22 +00:00
Ceri Davies
9432b62eb6 Since we do not honour the Confidential: field, and as an attempt to
decrease the number of misfiled PR submissions in general, do not
allow users to send a PR that contains errors.

Discussed with:	core
2003-11-02 17:35:33 +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
Bruce Evans
4fd41a120c Fix previous commit. glob_filename() returns "(char **) -1" for certain
errors, not necessarily a pointer such that (intptr_t)pointer is -1.

Also fix the style bug that the cast was not followed by a space.
This style of this file is now perfectly non-KNF for this cast too.
2003-10-26 06:40:37 +00:00
Peter Wemm
7c01a9ae48 Fix some warnings by defining has_sa_sigaction to 1. When the configure
script was run (years and years ago), we didn't have it.
2003-10-26 04:26:52 +00:00
Peter Wemm
bed00252eb Since I'm having so much fun with const, beat my head against the wall
some more.  Make this compile cleanly.
2003-10-26 04:20:19 +00:00
Peter Wemm
59a2e5b3fa Pointers dont fit in an int on 64 bit platforms. Fix a gcc warning. 2003-10-26 04:12:02 +00:00
Peter Wemm
10a498be8f The third arg to strncmp() is size_t, not int. This causes a warning on
systems where size_t is long, not int.
2003-10-26 04:10:50 +00:00
Joseph Koshy
dd12ec5d2f Detect errors during 'cat' page creation better. This fixes bin/5591.
Reviewed by:	ru
2003-10-15 00:36:44 +00:00
Daniel Eischen
b8cb229598 Add an entry for libpthread (aka libkse). For now, it's link command
is defined as -lkse, but we'll come back later and change it once
libkse is renamed.

Requested by:	ru
2003-10-02 20:49:34 +00:00
Max Khon
c4f02a891f - Support for multibyte charsets in LIBICONV.
- CD9660_ICONV, NTFS_ICONV and MSDOSFS_ICONV kernel options
(with corresponding modules).
- kiconv(3) for loadable charset conversion tables support.

Submitted by:	Ryuichiro Imura <imura@ryu16.org>
2003-09-26 20:26:25 +00:00
Ruslan Ermilov
0aec23a729 Update the copyright year. 2003-09-20 21:32:26 +00:00
Ruslan Ermilov
62d65bc7d7 Keep up with recent mdoc(7) changes. 2003-09-20 21:23:53 +00:00
Ruslan Ermilov
1ef49c0ad1 Comment out and mark all non-translated library strings. 2003-09-20 21:22:19 +00:00
Dag-Erling Smørgrav
9bab25e9e2 Perl 5.8.0 has been in ports for a long time. Add the correct directory
to manpath.config so use.perl won't needs to add it.
2003-09-18 10:44:42 +00:00
Ruslan Ermilov
efb74cb50f Add /usr/X11R6/man to the optional manpath.
PR:		conf/56626
Submitted by:	Oliver Eikemeier
2003-09-10 00:07:28 +00:00
Ruslan Ermilov
1c21ddbd77 Catch up with mdoc.local list of libraries. 2003-09-09 23:27:03 +00:00
Ruslan Ermilov
c03719cd00 Catch up with mdoc.local list of libraries. 2003-09-09 23:19:03 +00:00
Ruslan Ermilov
9d1be4e42e Unbreak Russian KOI8-R support. 2003-09-08 17:46:33 +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
Ruslan Ermilov
95ad4657c8 Eliminate the need in uname(1) during install. 2003-09-07 13:38:07 +00:00
Ruslan Ermilov
a463d8c3e0 Only evaluate CVS version once, when necessary.
Eliminates the need in sed(1) during install.
2003-09-07 13:17:31 +00:00
Ruslan Ermilov
d61bb3f2ba Only evaluate CVS version once, when necessary.
Eliminates the need in sed(1) during install.
2003-09-07 13:09:47 +00:00
Peter Wemm
c26f60e189 There is no need to #include <sgtty.h> 2003-09-04 01:33:43 +00:00
Andrey A. Chernov
bfe61e1700 Upgrade to textutils 2.1 sort 2003-08-30 14:28:14 +00:00
Poul-Henning Kamp
3bc2f9a897 Introduce more knobs to slim down FreeBSD userland
NO_TOOLCHAIN	skips Compilers and Binutils
NO_USB		skips USB stuff
NO_VINUM	skips Vinum stuff
NO_ACPI		skips ACPI stuff
2003-08-29 10:35:01 +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
Ceri Davies
9242daac21 Back out revision 1.32; it attaches the files in the wrong section of the PR. 2003-08-11 19:41:14 +00:00
Ceri Davies
507c0355a3 Have the -a and -f options work together.
PR:		misc/40057
2003-08-11 19:32:19 +00:00
Ruslan Ermilov
3bafd6271b Added description for the libufs(3) library.
PR:		55238
Reviewed by:	jmallett
2003-08-05 10:29:50 +00:00
Andrey A. Chernov
90862ca23d LANG->LC_ALL
Pointed by:     ru
2003-08-04 21:31:53 +00:00
Andrey A. Chernov
f7119903ab Use LANG=C before tr to be sure that ranges are correct
Strip [] from ranges
2003-08-04 15:34:38 +00:00
Andrey A. Chernov
5a13ca6f02 Remove collate_range_cmp() stabilization, it conflicts with ranges 2003-08-03 04:47:34 +00:00
David E. O'Brien
57ec2fc326 If ${GCC_CPU}-c.c exists, we need to use it. 2003-07-31 19:41:32 +00:00
John W. De Boskey
74e35006ba returned length can exceed the limits of type char
Submitted by:	blc@bsdwins.com
Approved by:	gad
MFC after:	1 week
2003-07-29 00:31:07 +00:00
Alexander Kabaev
0810229e75 Including dynamically generated osreldate.h wasn't such a good
idea after all.

Fix cross-builds and ia64 builds. gnu/lib/csu/Makefile is modified to
pre-include osreldate.h and gnu/usr.bin/cc/cc_tools/auto-host.h
will avoid including sys/param.h if __FreeBSD_version is already defined.
2003-07-13 02:41:48 +00:00
Alexander Kabaev
00041cf539 Include osreldate.h instead of sys/param.h to get __FreeBSD_version
definition. This fixes buildworld breakage on ia64.
2003-07-11 18:55:58 +00:00
Alexander Kabaev
e67810e696 Update bmake bits to build GCC 3.3.1-prerelease. 2003-07-11 05:37:23 +00:00
Alexander Kabaev
487ee93a17 Update for GCC 3.3.1-pre. 2003-07-11 05:33:24 +00:00
Alexander Kabaev
08cbb1d115 Temporarily turn off -Werror for these components. 2003-07-11 05:24:32 +00:00
David E. O'Brien
ed0c979957 Only define a default editor if one isn't already defined. 2003-07-07 19:13:39 +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
68b4ee7bfa Fixed build.
Noticed by:	bde
2003-07-01 14:46:26 +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
Peter Wemm
fc369c7cd9 Add missing quote after cut/paste error in last commit. :-( 2003-06-26 20:34:08 +00:00
David E. O'Brien
b9005010fa Update the target. 2003-06-26 16:13:36 +00:00
Peter Wemm
01e5a2aede Configure gcc in biarch mode for amd64 so that the -m32 flag is enabled
for things like boot blocks etc.

Reviewed by:  kan
2003-06-26 03:02:32 +00:00
Dag-Erling Smørgrav
894e6fb041 Add an amd64 category now that amd64 has its own mailing list and all. 2003-06-20 10:48:26 +00:00
David E. O'Brien
457946d9bd Remove MAINTAINER lines. 2003-06-14 19:32:52 +00:00
Peter Wemm
a96996a182 When building a shared library, link it against libgcc_pic.a instead of the
non-PIC libgcc.a.  Linking non-pic code into a shared library is not
a good thing.  It happens to break amd64 at compile time, and the ppc
folks want it too.  The problem is mainly with C++ code, unwind-dw2.c
in particular.  Most of the other functions in libgcc.a are self
contained so most of the time it isn't a problem.  The dwarf2 unwinder
is not safe though since it does make global variable references.

Reviewed by:	kan
2003-06-13 22:25:41 +00:00
Ruslan Ermilov
cfd5f3929d Teach mdoc(7) about the upcoming 5.2-RELEASE.
Suggested by:	juli
2003-06-09 10:40:17 +00:00
Jun Kuriyama
3a624f5e23 Use
cat ${.ALLSRC} > ${.TARGET}
rather than
	ln -sf ${.ALLSRC} ${.TARGET}
not to depends on absolute-path of symbolic links.

Commented by:  marcel, obrien, bde
2003-06-06 13:46:55 +00:00
Ruslan Ermilov
87072d22d5 Make the footer display "FreeBSD 5.1". 2003-06-05 13:18:43 +00:00
Ruslan Ermilov
1623181388 We have at least one consumer of the upcoming FreeBSD 4.9. 2003-06-02 18:43:15 +00:00
Peter Wemm
cd51f0035e Add a temporary indirect patch for gcc when targeting amd64. This is to
give the cvs tree a surviving a 'make world'.  One of the two diff chunks
is already in gcc-3.3, the other has been committed to gcc's HEAD and
is in the pipeline for gcc-3.3.1 (but has not been committed yet).

The first chunk simplifies an excessively complex assembler statement
when generating switch jump tables.  The use of '.' causes as(1) to choke
on big files.  Use a simpler form instead.  This is only an issue for
TARGET_64BIT mode.

The second chunk fixes an internal compiler error when compiling
libc/stdio/vfprinf.c.  While this is supposedly only an issue for
64 bit mode, it does touch the 32 bit i386 code paths, so this patch
is only applied for TARGET_ARCH == amd64 to keep the risks down.
Breaking gcc at the 11th hour would suck.

This will be removed when it is time to import gcc-3.3.

Discussed with:	kan
Approved by:	re (jhb)
2003-05-24 20:58:47 +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
Jacques Vidrine
bc562db930 Enable GSSAPI/Kerberos 5 support (aka `gserver').
MFC after:	1 month
2003-05-05 16:50:42 +00:00
Ruslan Ermilov
a2211ce1e0 Fix build on 4.x. 2003-05-02 11:56:43 +00:00
Ruslan Ermilov
7a547773ab Re-enable building of Groff documentation; texinfo has just been
upgraded to version 4.5.
2003-05-02 00:55:52 +00:00
Ruslan Ermilov
bc0a8ef662 Update for texinfo 4.5. 2003-05-02 00:51:24 +00:00
Ruslan Ermilov
4edd10842c catman(1) sources now live elsewhere. 2003-05-01 23:48:11 +00:00
David E. O'Brien
8f3bf9945d Lock GCC w/o -m32 into 64-bit mode. 2003-05-01 15:00:46 +00:00
Ruslan Ermilov
80da55ea72 Upgrade to Groff 1.19. 2003-05-01 13:22:21 +00:00
Ruslan Ermilov
e3519f9e1c Replace beforeinstall: with plain FILES. 2003-04-30 20:48:03 +00:00
David E. O'Brien
7bf3ceda8b Wrap gperf in NO_CXX as it needs the C++ to compile. 2003-04-27 20:14:05 +00:00
David E. O'Brien
a12d8aed9a We're changing the platform name from x86[_-]86 to amd64. 2003-04-26 20:04:38 +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
Ruslan Ermilov
4d63e8de71 Mark bits that do not require an object directory as such. 2003-04-01 12:37:54 +00:00
Giorgos Keramidas
0b541a3c80 Document the MAIL_AGENT environment var.
PR:		48277
Submitted by:	Stefan Walter <sw@gegenunendlich.de>
2003-03-26 01:45:20 +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
Dag-Erling Smørgrav
dbd7434863 Shorten the URL to the problem-reports article. 2003-03-18 11:12:14 +00:00
Ruslan Ermilov
e478cf0a5a Fixed CLEANFILES.
Submitted by:	cron
2003-02-25 15:41:49 +00:00
Ruslan Ermilov
2587947187 Install the gcov(1) manpage; kernbb(8) references it. 2003-02-24 22:58:19 +00:00
David E. O'Brien
63b117a6b7 I thought groff was wrapped with NO_CXX. Oh well, it is now. 2003-02-24 02:40:56 +00:00
David E. O'Brien
0bc8118778 Some things don't build for PowerPC yet.
List from:	benno
2003-02-21 02:30:51 +00:00
Ruslan Ermilov
e50f318170 Recognize FreeBSD 5.1; libc_gen/signbit.3 has set the precedent. 2003-02-14 16:01:58 +00:00
Ruslan Ermilov
6a5c53e7a2 Moved the libugidfw library definition out from contributed source
to where it actually belongs.

Submitted by:	phantom
2003-02-14 13:36:16 +00:00
Alexey Zelkin
09ffd02a1b FreeBSD 5.x does not provide libskey anymore, remove reference 2003-02-13 18:23:13 +00:00
Alexey Zelkin
d1ada631c0 Add 'libgeom' to list of valid .Lb arguments 2003-02-13 18:21:32 +00:00
Andrey A. Chernov
8bdc8bfff8 Add /usr/local/man as OPTIONAL_MANPATH 2003-02-11 01:04:53 +00:00