summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Add removal of MKTEMP_SH_FUNCTION to processing for cvsbug script.kensmith2004-12-101-0/+1
| | | | | Approved by: peter (a while ago) MFC After: 1 week
* Source changes to allow building a cross-debugger. Move solib.c andmarcel2004-12-0516-5/+29
| | | | | | | | 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.
* Fix previous commit. GDB_CROSS_DEBUGGER needs to be defined for allmarcel2004-12-052-9/+5
| | | | subdirectories.
* Makefile (only) changes to allow building a cross debugger.marcel2004-11-3010-21/+50
|
* s/MACHINE_ARCH/TARGET_ARCH/. We use TARGET_ARCH to pick the MD filesmarcel2004-11-301-1/+1
| | | | for libgdb and should do so here as well.
* [Sorry, forgot to commit my source changes in my previous commit.]joerg2004-11-221-2/+5
| | | | | | | | | | | | | | 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.
* Document all options and general usage.joerg2004-11-221-0/+67
| | | | | | | | | | | | 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.
* Fix the abuse of Ar macros for designating flag options, use Fl instead.joerg2004-11-221-4/+4
|
* Always set current thread when activating thread debugger,davidxu2004-11-151-1/+1
| | | | | the current thread may already be added by fbsd_find_new_threads, this can result that current thread is not set correctly.
* The correct name of the long option is --line-buffered,keramida2004-11-091-2/+3
| | | | | | | | not --line-bufferring. PR: docs/72985 Submitted by: John Engelhart <johne@zang.com> MFC after: 1 week
* Whitespace fix.marcel2004-11-091-1/+1
|
* Prepare for a subsequent import: If the first letter of the filenamemarcel2004-11-091-35/+43
| | | | | | | | | | | 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.
* Remove trailing whitespace.kan2004-11-071-1/+1
| | | | Pointed out by: ru
* Reconnect c++filt to the build.kan2004-11-071-2/+2
|
* Unbreak c++filt. It was disconnected from the build and never fixed duringkan2004-11-071-8/+1
| | | | | | GCC 3.4.2 work unintentioanlly. Reminded by: bms
* For variables that are only checked with defined(), don't provideru2004-10-2427-28/+28
| | | | any fake value.
* Utilize SCRIPTS.ru2004-10-181-4/+1
|
* Update to readline 5.0ache2004-10-181-3/+7
|
* Make cvsbug(1) actually work instead of aborting due to missing configurepeter2004-09-281-1/+6
| | | | script substitution markers.
* Fix the embedded version string in cvs and cvsbug. This breaks scriptspeter2004-09-282-2/+2
| | | | | | | that parse it. PR: 72139 Submitted by: Eugene M. Kim <gene@nttmcl.com>
* Use a safe temporary file for saving out the PR if send-pr isceri2004-09-141-1/+1
| | | | | | | interrupted. MT5: 7 days MT4: 7 days
* If the argument to the -r flag starts with a ':' or a '|', don't try tobrooks2004-09-031-1/+1
| | | | | | | | | 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
* Only compile fbsd-thread.c on amd64 and i386, other architecturesdavidxu2004-08-221-1/+5
| | | | have not been tested yet.
* Fix comments, most are style fix.davidxu2004-08-221-21/+11
|
* Fix some text messages.davidxu2004-08-221-2/+2
|
* Add code to support statically linked binary and .core file of threadeddavidxu2004-08-221-177/+367
| | | | program.
* Meet the 6.0-CURRENT era. While here, teach mdoc(7) about the upcomingru2004-08-191-1/+3
| | | | FreeBSD 4.11-RELEASE.
* A fix from rev. 1.52 of gnu/usr.bin/cc/cc_tools/Makefile was lostru2004-08-181-10/+0
| | | | | | | | | 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.
* Improve the usage. Without any arguments, kgdb(1) works on /dev/memmarcel2004-08-152-49/+126
| | | | | | | | | 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.
* Bring in fix from gzip 1.3.3 to avoid crashes when processing certain corrupttjr2004-08-131-6/+8
| | | | | | | | | | | | 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
* Consolidate libiberty files in one place and avoid listing somekan2004-08-122-15/+12
| | | | | | of them in several places. Noticed by: bsdimp
* Change version string to distinguish our modified version of GNU greptjr2004-08-121-1/+1
| | | | from the original.
* Update version strings to better reflect reality.tjr2004-08-121-3/+3
|
* Hook xalloc-die.c up to the build.tjr2004-08-121-0/+1
|
* Initialize thread_db module.davidxu2004-08-101-0/+2
|
* Initialize thread_db module.davidxu2004-08-081-0/+2
|
* 1. Add some code check if thread suspending or resuming is failed.davidxu2004-08-082-4/+80
| | | | 2. Add code to retrieve thread tls address.
* Join the 21st century: Cryptography is no longer an optional componentcperciva2004-08-061-1/+0
| | | | | | | | | | 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
* Whitespace nit.ru2004-08-031-1/+1
| | | | OK'ed by: kan
* Fix a copy and paste error. Do not include errors.c in libgcc_int.a,kan2004-07-301-1/+1
| | | | | | it is only used by build tools. Submitted by: grehan
* Add NO_WERROR here. Binutils as does not compile cleanly with GCC 3.4.x.kan2004-07-281-0/+1
|
* Bmake glue for GCC 3.4.2-prerelease.kan2004-07-2817-652/+679
|
* Hook kgdb into the build.marcel2004-07-251-1/+1
|
* Add the beginnings of kernel debugging support. the kgdb(1) toolmarcel2004-07-2511-0/+1089
| | | | | | | | | | | | | | | | | | | | | 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.
* o ps_pd{read|write} and ps_pt{read|write} are obsolete interfacemarcel2004-07-171-22/+2
| | | | | functions. Only ps_p{read|write} remains. o Remove ps_getpid. We don't need it now.
* Make bsdtar the default system tar. This makes /usr/bin/tar a symlinkkientzle2004-07-171-1/+1
| | | | | pointing to /usr/bin/bsdtar by default. To make it point to /usr/bin/gtar, you can define WITH_GTAR.
* ptrace's first parameter is command not pid. pointy hat to me.davidxu2004-07-161-2/+6
|
* Update config.h to account for the prgregset_t and psaddr_t typesmarcel2004-07-165-10/+10
| | | | | | 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.
* Add libthread_db assisted debugging support module.davidxu2004-07-151-0/+1095
|
* MAJOR cleanup of the Bmake framework.obrien2004-07-0837-23475/+162
| | | | | | | | | 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).
OpenPOWER on IntegriCloud