Ed Maste
5a16cfaeb6
Avoid writing uninitialized stack data into a thread's MMX/SSE state by
...
first getting the current state with td_thr_getxmmregs_p. Without this,
debugging a threaded app that uses libthr resulted in kernel panics or
spurious SIGFPEs for me.
(As of revision 1.6, sys/i386/i386/ptrace_machdep.c masks off the
reserved bits in the mxcsr register, which prevents the kernel panics.)
Architectures without PT_GETXMMREGS are not affected.
MFC after: 1 week
2007-02-20 18:10:13 +00:00
Marcel Moolenaar
6c7ef9a0f8
Fix PowerPC-targeted cross-builds performed on 64-bit platforms.
...
Only PowerPC supports both 32-bit and 64-bit targets and the
BFD_DEFAULT_TARGET_SIZE is used by the binutils code to reflect
the preferred ABI. We define BFD_DEFAULT_TARGET_SIZE for all
platforms, but based on the build machine. As such 64-bit build
machines defined BFD_DEFAULT_TARGET_SIZE incorrectly for 32-bit
targets, but since this only affects PowerPC it went unnoticed
for a long time.
The fix is to define BFD_DEFAULT_TARGET_SIZE based on the target
architecture.
PR: amd64/102996
MFC after: 1 month
2007-02-11 07:15:06 +00:00
Xin LI
5ded07e693
Remove GNU gzip left-offs, they are no longer necessary.
2007-01-31 03:44:42 +00:00
Xin LI
9a9ea25f4a
Replace the GNU gzip with a slightly modified NetBSD gzip. The
...
NetBSD version is a feature-to-feature re-implementation of GNU
gzip using the freely-redistributable zlib and this version is
expected to be mostly bug-to-bug compatible with the GNU
implementation.
- Because this is a piece of mature code and we want to make
changes so it is added directly rather than importing to
src/contrib.
- Connect newly added code to src/usr.bin/ and rescue/rescue
build.
- Disconnect the GNU gzip code from build for now, they will
be eventually removed completely.
- Provide two new src.conf(5) knobs, WITHOUT_BZIP2_SUPPORT and
WITHOUT_BZIP2.
Tested by: kris (full exp-7 pointyhat build)
Approved by: core (importing a 4-clause BSD licensed file)
Approved by: re (adding new utility during -HEAD code slush)
2007-01-26 10:19:08 +00:00
Craig Rodrigues
c4b1628e07
Try to avoid a possible infinite loop when parsing an invalid kernel dump file.
...
PR: 108229
Submitted by: Jessica Han <jessicah juniper net>
Reviewed by: marcel
MFC after: 1 week
2007-01-25 06:39:25 +00:00
Andrey A. Chernov
b1b027ee15
Change RL_LIBRARY_VERSION
2006-12-31 09:27:16 +00:00
Andrey A. Chernov
82fe6057d5
Update config
2006-12-31 09:26:00 +00:00
Ruslan Ermilov
bf2a133f37
-mdoc knows about FreeBSD 7.0 as well.
...
Reminded by: ceri
2006-12-29 06:22:13 +00:00
Ruslan Ermilov
a804cd3659
Markup revision.
2006-12-25 15:09:06 +00:00
Ruslan Ermilov
4f54ae7af3
FreeBSD 5.5 is part of official -mdoc.
2006-12-25 09:09:47 +00:00
Ruslan Ermilov
0321d7f9a8
Fix markup, remove a dummy BUGS section.
2006-12-24 23:07:11 +00:00
Ruslan Ermilov
f54222f069
Add missing articles.
2006-12-23 23:26:05 +00:00
Ruslan Ermilov
5adba4ff85
Teach mdoc(7) about FreeBSD/arm and FreeBSD 6.3; both needed by the
...
npe(4) manpage.
2006-12-05 17:01:23 +00:00
Joseph Koshy
3eb1a62e69
MFP4: Add an implementation of the ELF(3) and GELF(3) API set.
...
Bump __FreeBSD_version.
Reviewed by: jb
2006-11-11 17:16:35 +00:00
David E. O'Brien
55738a1aa4
Remove gratuitous white space change.
2006-11-06 02:49:19 +00:00
David E. O'Brien
ffe2c5e5a5
Allow one to force with issue with 'TARGET_BIG_ENDIAN'.
2006-11-06 02:32:29 +00:00
Philip Paeps
089d90279a
Fix vim syntax highlighting. Vim complained about the (comment). The syntax
...
file is also called "sendpr", not "send-pr".
2006-11-01 12:13:08 +00:00
Ruslan Ermilov
afa56e7db8
Bump document date for the previous change.
2006-10-21 17:39:35 +00:00
John-Mark Gurney
870fe2a280
Turn on gdbserver for the arch that supports it..
2006-10-21 17:27:36 +00:00
John Baldwin
a5146161ae
Trim trailing whitespace.
2006-10-16 20:07:23 +00:00
John Baldwin
62f6176c27
Restore the 'proc' and 'tid' commands which allow one to switch to the
...
first thread in a process or to a specific thread via PIDs and TIDs,
respectively.
Submitted by: kan
Approved by: marcel
2006-10-16 20:06:32 +00:00
Ceri Davies
fd717a30ea
Update the FILES section which has been wrong for some time.
...
MFC after: 3 days
2006-10-15 11:50:11 +00:00
Ceri Davies
9eacd2a880
Add the sun4v category.
...
Reminded by: ru
MFC After: 1 re approval
2006-10-15 11:43:42 +00:00
Olivier Houchard
ca8022c580
Don't build the libgcc with functions already included in the libc to
...
unbreak the build.
We'll switch back to the libgcc functions and get rid of the libsoftfloat
later.
2006-10-12 16:43:15 +00:00
David E. O'Brien
1d60a995b9
Document '-w' from main.c rev. 1.11.
2006-10-11 14:42:43 +00:00
Tom Rhodes
1c6b148eb1
Add the -P option back, but with a note that it is not supported on FreeBSD.
...
Requested by: ru
2006-10-11 09:52:32 +00:00
Tom Rhodes
ca56b49e0e
grep -P xxx file.txt
...
"The -P option is not supported"
Removed from the manual page via this commit.
PR: 99831
2006-10-10 01:57:25 +00:00
Kip Macy
777552aef6
Temporarily add newer copy of tc-sparc.c to build to
...
support building of sun4v. This can be removed once
the binutils import happens.
Reviewed by: kan
Approved by: rwatson (mentor)
2006-10-09 04:52:14 +00:00
David E. O'Brien
d3fbc8d9c0
The ARM platform does the setjmp/longjmp type of exception handling.
2006-10-05 20:55:37 +00:00
Warner Losh
c23b8029f1
Enable gdb on the arm. Some time ago I committed it, but had forgotten to
...
enable it here.
Noticed by: cognet
2006-10-03 00:03:30 +00:00
Ruslan Ermilov
cf35cbe5d9
Fix build due to the incomplete removal of demangle.h.
2006-09-30 12:52:15 +00:00
Alexander Kabaev
2972ed120b
Reduce diffs with file generated by FSF configure.
2006-09-22 15:08:07 +00:00
Ruslan Ermilov
f6b0ef28b7
Prepare to pick up manpages from their new location.
2006-09-21 07:52:41 +00:00
Alexander Kabaev
7614e6f347
Bump __FreeBSD_cc_version in case someone cares for differences between
...
GCC 3.4.4 and GCC 3.4.6 on -current.
2006-09-21 03:27:07 +00:00
Simon L. B. Nielsen
789cb6fc6a
Correct multiple vulnerabilities in gzip(1).
...
Security: FreeBSD-SA-06:21.gzip
2006-09-19 14:06:20 +00:00
Warner Losh
a817992dfc
Add additional support for generating code for the arm. There's still
...
a few issues in other parts of the tree, but those will be resolved
separately.
Submitted by: cogenet@
Reviewed by: kan@, obrien@
MFC After: 5 days
2006-09-18 17:08:32 +00:00
Ruslan Ermilov
d0cca13549
This is not needed since src/gnu/usr.bin/cc/cc_int/Makefile,v 1.34.
2006-09-16 09:09:44 +00:00
Ruslan Ermilov
979df1f5dd
Remove vestiges of GNU tar.
2006-09-15 08:04:23 +00:00
Warner Losh
5d20c54439
A TARGET_CPU_DEFAULT of xscale for arm results in illegal instructions
...
during buildworld. Comment it out for now.
2006-09-15 05:21:06 +00:00
Warner Losh
38ede4873d
Remove redundant default vector
...
Submitted by: ru@
2006-09-14 08:21:20 +00:00
Warner Losh
280075717e
Add cross debug support to arm.
...
Submitted by: cognet@
2006-09-14 07:51:52 +00:00
Warner Losh
4c808aa2bb
fix the build: add missing end of line cont character
2006-09-14 07:48:16 +00:00
Warner Losh
70e66c2fbd
scripts for the arm port.
...
Submitted by: cognet@
Reviewed by: obrien and kan
2006-09-14 07:46:32 +00:00
Warner Losh
a8e874edc2
Fix the build and minor cleanup.
2006-09-14 07:44:05 +00:00
Warner Losh
f6b979e59e
.end -> .endif
2006-09-14 07:02:17 +00:00
Warner Losh
46e96d9a58
Architecture specific portions of gdb for arm.
...
Submitted by: cognet@
2006-09-14 06:49:34 +00:00
Warner Losh
77e84bed77
Config file for arm assembler
2006-09-14 06:39:07 +00:00
Warner Losh
f3168f1544
TARGET_BIG_ENDIAN isn't appropriate here. __ARMEB__ is sufficient and
...
besides, TARGET_BIG_ENDIAN isn't defined anyway.
2006-09-14 06:36:13 +00:00
Alexander Kabaev
f7a0a44b44
Remove redundant defines alerady set by Makefile.fe
2006-09-12 21:57:28 +00:00
David E. O'Brien
e9231ad68b
Style sync.
2006-09-12 19:24:01 +00:00
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
Alexander Kabaev
ae8cd67d0b
Update libsupc++ to include missing files. This was fixed in libstdc++
...
a long time ago, but libsupc++ was left out somehow,
PR: gnu/99702
Submitted by: George Mitchell
2006-08-19 00:52:54 +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
Alexander Kabaev
3e95b67b25
Garbage collect library we did not compile for ages.
2006-06-06 19:31:45 +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
Andrey A. Chernov
4a3b1618bf
Upgrade to 5.1
2006-03-27 23:35:05 +00:00
Ruslan Ermilov
d55557650a
Desupport the *_COLLECT2 no-op.
2006-03-21 08:59:36 +00:00
Ruslan Ermilov
5740a2b62d
Convert NO_PROFILE and NO_LIB32 to new style.
2006-03-18 21:37:05 +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
Ruslan Ermilov
d1e9def254
NO_MAN is not needed here.
2006-03-16 15:18:17 +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
Alexander Kabaev
4ece38b4ec
Include <sys/defs.h> to get __ISO_C_VISIBLE definition is one is not
...
already available.
2005-09-16 21:24:10 +00:00
Alexander Kabaev
046b7565e6
Do not expose vfwscanf, vswscanf, vwscanf and wcstof functions if
...
they are not visible from wchar.h.
2005-09-16 20:56:17 +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
Tom Rhodes
bbe1f20097
Do not place paragraph information post-macro unless required by mdoc(7).
2005-08-20 10:17:03 +00:00
Colin Percival
5c2f3990e7
Repeatability is Considered Good when building this library, too. (And
...
I think this is the last one which needs it.)
2005-08-17 15:46:18 +00:00
Colin Percival
78e3c65953
Add -frandom-seed=RepeatabilityConsideredGood to CFLAGS. This makes
...
this library build repeatably. (This change was made to libstdc++
several months ago; I just realized today that it would help here as
well.)
Approved by: kan
2005-08-17 01:59:10 +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
Ken Smith
a84020c2b9
Bump the shared library version number of all libraries that have not
...
been bumped since RELENG_5.
Reviewed by: ru
Approved by: re (not needed for commit check but in principle...)
2005-07-22 17:19:05 +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
Tim J. Robbins
90931e9aa8
This commit was generated by cvs2svn to compensate for changes in r146052,
...
which included commits to RCS files with non-trunk default branches.
2005-05-10 13:01:37 +00:00
Tim J. Robbins
829f2d6431
Update instructions to match recent import.
2005-05-10 12:04:01 +00:00
Tim J. Robbins
bc87600367
Update build infrastructure for new GNU regex bits.
2005-05-10 11:37:37 +00:00
Tim J. Robbins
9aa52d9745
Merge. Discard local bracket expression collating order patch, since
...
modern versions of GNU regex already do things the way we want when
multibyte character support is enabled.
2005-05-10 10:52:30 +00:00
Tim J. Robbins
163844cdca
This commit was generated by cvs2svn to compensate for changes in r146040,
...
which included commits to RCS files with non-trunk default branches.
2005-05-10 10:39:53 +00:00
Tim J. Robbins
aaf58402c2
Import of regex bits from fedora-glibc-2_3_4-21 tag in glibc CVS.
2005-05-10 10:39:53 +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
Peter Wemm
d18dd30b93
Turn on libobjc.so for all platforms on -current. It didn't work back
...
in 1996.
2005-05-01 01:59:48 +00:00
Tom Rhodes
d5f93c9179
Enforce style.Makefile(5).
...
Glanced at by: ru (some time ago).
2005-04-22 18:57:32 +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
David Schultz
b4a12fe13b
Teach libstdc++ about frexpl() and ldexpl().
2005-03-26 08:27:53 +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
Ruslan Ermilov
f94ec97d48
Fixed compilation warnings.
2005-02-21 21:02:25 +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
Ruslan Ermilov
423ac68026
Expand contractions.
2005-02-15 09:27:00 +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
Alexander Kabaev
63686f9fb9
More math functions.
...
Prodded by: stefanf
2005-01-26 14:23:31 +00:00
Alexander Kabaev
3a1a8495d2
We have floorl() now. Reflect this in the library config file.
2005-01-26 13:57:22 +00:00
Alexander Kabaev
44c3d0c80d
Of all templates only lists need a special implmementation file compiled
...
to support __GLIBCXX_DEBUG. Add debug_list.cc to the list of files to
compile.
2005-01-26 13:56:27 +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
Colin Percival
08df008505
Add -frandom-seed=RepeatabilityConsideredGood to CFLAGS for building this
...
library. As the value suggests, this allows the library to be built repeatably;
without this flag, gcc uses a random value in its parsing.
Since the random seed is only used when handling files which do not have any
externally-visible symbols, this change is not needed for any other libraries
in the FreeBSD base system.
Discussed on: freebsd-arch (in early November)
Approved by: kan
MFC after: 1 week
2005-01-17 08:38:31 +00:00
Ruslan Ermilov
a866e17077
Added the EXIT STATUS section where appropriate.
2005-01-17 07:44:44 +00:00