Commit Graph

3315 Commits

Author SHA1 Message Date
davidxu
9680b3c3cd Only compile fbsd-thread.c on amd64 and i386, other architectures
have not been tested yet.
2004-08-22 10:59:33 +00:00
davidxu
02596b074a Fix comments, most are style fix. 2004-08-22 09:05:57 +00:00
davidxu
f4ab4b521c Fix some text messages. 2004-08-22 08:48:56 +00:00
davidxu
b00773082c Add code to support statically linked binary and .core file of threaded
program.
2004-08-22 05:53:38 +00:00
ru
1735f6d686 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
ru
09bab45555 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
23cd3882c5 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
kan
dd31bc814b Add libgcov, a runtime support library for binaries compiled for basic
block profiling.
2004-08-14 03:23:24 +00:00
tjr
0fcf790be9 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
kan
d820473427 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
tjr
0a33d1af76 Change version string to distinguish our modified version of GNU grep
from the original.
2004-08-12 06:45:31 +00:00
tjr
548167a0a8 Update version strings to better reflect reality. 2004-08-12 06:40:31 +00:00
tjr
360fd8b1df Hook xalloc-die.c up to the build. 2004-08-12 06:02:28 +00:00
davidxu
ec88bb1c0b Initialize thread_db module. 2004-08-10 12:20:00 +00:00
davidxu
045b39b6f7 Initialize thread_db module. 2004-08-08 22:46:22 +00:00
davidxu
54239eaecd 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
cperciva
18c5d6e3f5 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
kan
169402a42e Add missing patch which was forgotten during GCC 3.4.2 import. libgcc.a
gets most of it content back now, when symbols from LIB2FUNCS are actually
compiled.

Noticed by: Steve Kargl <gk at troutmask dot apl dot washington dot edu>
Pointy hat to: kan
2004-08-04 03:13:51 +00:00
ru
118326b619 Whitespace nit.
OK'ed by:	kan
2004-08-03 06:40:04 +00:00
kan
de681c1d29 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
kan
55e1fa62a0 Add NO_WERROR here. Binutils as does not compile cleanly with GCC 3.4.x. 2004-07-28 05:39:04 +00:00
kan
52952ef9d1 Bmake glue for GCC 3.4.2-prerelease. 2004-07-28 05:27:21 +00:00
kan
086c92d538 We generate this file from config.h automatically. 2004-07-28 05:23:28 +00:00
marcel
231c64a95a Hook kgdb into the build. 2004-07-25 05:32:50 +00:00
marcel
14d59b378d 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
53567f23d2 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
kientzle
b6c0dbd4b2 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
davidxu
8374d07861 ptrace's first parameter is command not pid. pointy hat to me. 2004-07-16 06:11:48 +00:00
marcel
8b54290574 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
davidxu
467e897328 Add libthread_db assisted debugging support module. 2004-07-15 04:51:04 +00:00
obrien
a2aab3b620 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
ru
27b8784474 Build things in dictionary order. 2004-07-07 17:24:30 +00:00
obrien
7b4261eeef Prepare for upcoming Binutils house cleaning. 2004-07-06 21:55:11 +00:00
ache
d27647c9a1 Update to match recent import 2004-07-06 00:10:40 +00:00
tjr
d5d8ff4136 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
tjr
b9668a8847 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
tjr
f7ae017d02 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
tjr
04d28c77ff Improve case-insensitive matching in multibyte locales.
Obtained from:	Isamu Hasegawa (IBM) via Fedora
2004-07-04 11:58:10 +00:00
tjr
044b295488 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
tjr
5cae559e19 Use hard_locale() to check whether collating order is "hard" regardless
of whether NLS is enabled.
2004-07-04 10:24:48 +00:00
tjr
45ff8d93d5 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
tjr
d1c0e09b59 Update for grep 2.5.1. 2004-07-04 10:05:37 +00:00
tjr
5eb53ad93c Merge local changes. 2004-07-04 10:02:03 +00:00
tjr
502c281fc4 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
tjr
cdf66ebd8c Import GNU grep 2.5.1 (trimmed) 2004-07-04 09:52:08 +00:00
tjr
7bb8d3ead1 Fix regression in new version of GNU regex code: bracket expressions
like [X-Y] should match all characters between X-Y according to the
locale's collating order, not by binary value. For now, this only fixes
the !MBS_SUPPORT case (which is the default).
2004-07-04 02:46:55 +00:00
tjr
036c1bcb84 Merge local changes (addition of $FreeBSD$). 2004-07-04 01:07:38 +00:00
tjr
ccc2a6a275 This commit was generated by cvs2svn to compensate for changes in r131543,
which included commits to RCS files with non-trunk default branches.
2004-07-04 01:03:02 +00:00
tjr
52ec590273 Import of GNU regex from GNU grep 2.5.1 (trimmed). 2004-07-04 01:03:02 +00:00
ru
4ef1bd55ad Mechanically kill hard sentence breaks. 2004-07-02 21:53:39 +00:00