Commit Graph

3445 Commits

Author SHA1 Message Date
kan
6adebfab81 Include <sys/defs.h> to get __ISO_C_VISIBLE definition is one is not
already available.
2005-09-16 21:24:10 +00:00
kan
dafff159c4 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
95c333b219 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
afc227eedb 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
5c551253ea Unwind across intrframes as well.
MFC after: 1 week
2005-09-11 05:36:30 +00:00
marcel
8b1d37e93e 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
63c6575f86 Unwind across trapframes. All kernel entries are handled.
MFC after: 1 week
2005-09-10 23:11:54 +00:00
marcel
1537de4a54 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
afef46c1a0 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
853fa27dc1 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
d05b9c6e82 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
keramida
19c606064a 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
garys
4b04d92787 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
trhodes
0a274a0672 Do not place paragraph information post-macro unless required by mdoc(7). 2005-08-20 10:17:03 +00:00
cperciva
563a2851b1 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
cperciva
28bdebaa08 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
fddce319d2 Fix backtraces. Supply registers from the register window.
MFC after: 3 days
2005-08-16 05:13:57 +00:00
phk
ff7f5068f0 Control rcs inclusion with NO_RCS insted of NO_TOOLCHAIN 2005-08-06 20:23:13 +00:00
marcel
b8c1757032 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
dd65af4600 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
phk
e3482153d0 let NO_MAN control man
let NO_TOOLCHAIN control rcs
let NO_INFO control texinfo
2005-08-05 16:08:53 +00:00
phk
e5975d2918 Respect NO_EXAMPLES 2005-08-05 16:04:54 +00:00
phk
96cee04ef8 Don't install groff if NO_GROFF 2005-08-03 09:22:42 +00:00
keramida
5f3be39f8f Spell "currently" correctly. 2005-07-28 15:59:52 +00:00
kensmith
f97f77429f 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
wosch
4c1147c9b5 remove myself as maintainer. 2005-07-17 21:18:09 +00:00
rwatson
7da3a4e78f 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
kensmith
2797073b67 Adjust for HEAD being 7.0 now.
Approved by:	re (implicit)
2005-07-11 15:50:29 +00:00
peter
756b97ccf0 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
ru
b61cd48c52 A number of manpages already use ``.Fx 5.5'', define it.
Approved by:	re (blanket)
2005-06-16 21:13:20 +00:00
ceri
1360535750 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
ru
583f68919d Clean up after the last change -- remove now stale comment. 2005-06-10 07:06:07 +00:00
des
2bb8de20fe Remove kludges intended to support src trees with partial obj trees.
Discussed with:	ru
2005-06-10 06:12:53 +00:00
simon
cf5f249f1e 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
imp
74bccf229d Tidy up cvs entries 2005-06-03 15:08:30 +00:00
kan
f1ee3b8b53 Update bmake glue for GCC 3.4.4. 2005-06-03 04:21:04 +00:00
tjr
4f902fd545 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
dfr
874478d7fd 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
ru
7458d315c1 Update for texinfo 4.8. 2005-05-23 10:52:07 +00:00
tjr
3c94ccdb45 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
tjr
2f499f9763 Fixed -w handling for EGexecute.
Obtained from:	Fedora (Tim Waugh)
2005-05-14 06:13:23 +00:00
tjr
5364440b9f 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
tjr
bff87236c6 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
tjr
e8d95bb287 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
tjr
a47b9a8adc Fix background colour problems with --color output (RH bug #138913).
Obtained from:	Karsten Hopp via Fedora
2005-05-14 05:26:48 +00:00
tjr
01956b0d09 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
tjr
b191ef00d8 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
tjr
e4b49c8498 Remove mb-caching hack.
Obtained from:	Fedora (Tim Waugh)
2005-05-14 03:02:22 +00:00
tjr
67950e3bcf 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
tjr
a093ce42b9 Update instructions to match recent import. 2005-05-10 12:04:01 +00:00