summaryrefslogtreecommitdiff
path: root/gnu/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Change default operating system for upcoming release. Add FreeBSD releasesKen Smith2008-12-131-1/+3
| | | | | | | | | | not in contrib/groff/tmac/doc-common yet. Submitted by: ru Approved by: re (implicit) Notes: svn path=/releng/7.1/; revision=186045
* MFC r183414:Konstantin Belousov2008-10-051-3/+33
| | | | | | | | | | | Differentiate between interrupt frames, trap interrupt frames and timer frame in the kgdb, to allow it to properly backtrace over the interrupt stacks. Approved by: re (kensmith) Notes: svn path=/stable/7/; revision=183624
* MFC: CVS version 1.11.22.1 (almost 1.11.23).David E. O'Brien2008-07-281-5/+44
| | | | Notes: svn path=/stable/7/; revision=180918
* MFC: revs 175291,175384. Add .POSIX: to break timestamp-sensitive problemsPeter Wemm2008-06-221-3/+5
| | | | | | | | between Makefile and Makefile.in that was disturbed by changes in src/usr.bin/make/main.c rev 167330 (1.161). Notes: svn path=/stable/7/; revision=179922
* MFC: Introduce FreeBSD 8.0 to mdoc(7).Ruslan Ermilov2008-06-041-0/+1
| | | | Notes: svn path=/stable/7/; revision=179531
* MFC: Add an ability to run man(1) on local files plus add limitedRuslan Ermilov2008-05-223-4/+36
| | | | | | | | | support for bzip2-compressed manpages. PR: bin/120730 Notes: svn path=/stable/7/; revision=179197
* MFC: Enable use of 'tid' for remote targets and use gdb_thread_select()John Baldwin2008-05-098-42/+36
| | | | | | | | for 'tid' and 'proc' so they provide UI feedback like the 'thread' command. Notes: svn path=/stable/7/; revision=178879
* MFC: Rework how kgdb manages kernel and vmcore files to be a bit moreJohn Baldwin2008-05-0911-184/+338
| | | | | | | | gdb-ish. Specifically, you can now use the 'file' and 'core' commands. Also, the kernel module stuff now works for remote targets. Notes: svn path=/stable/7/; revision=178877
* MFC: Add 'fbsdcoreops_suppress_target' to support kgdb having its ownJohn Baldwin2008-05-091-2/+11
| | | | | | | coredump target and adjust core dump target's long name and documentation. Notes: svn path=/stable/7/; revision=178876
* MFC: Remove the 'add_kld_command' arg from load_kld().John Baldwin2008-05-051-12/+5
| | | | Notes: svn path=/stable/7/; revision=178788
* MFC: Fix the ofs_fix handling for trapframes for i386 on remote targets.John Baldwin2008-05-011-16/+9
| | | | Notes: svn path=/stable/7/; revision=178710
* MFC of new 'arm' category.Mark Linimon2008-04-232-0/+4
| | | | Notes: svn path=/stable/7/; revision=178434
* MFC: Initialize list of kld's correctly when there are no kld's and catchJohn Baldwin2008-04-032-6/+10
| | | | | | | | errors in kgdb_parse() so it returns 0 for invalid expressions. This fixes the kld loading for 6.x and 7.x. Notes: svn path=/stable/7/; revision=177889
* MFC: rev 1.18: style.Makefile(5)David E. O'Brien2008-03-161-2/+2
| | | | Notes: svn path=/stable/7/; revision=177250
* MFC: rev 1.13: style.Makefile(5)David E. O'Brien2008-03-161-2/+2
| | | | Notes: svn path=/stable/7/; revision=177249
* MFC: Mostly sync kgdb with HEAD including the following changes:John Baldwin2008-02-256-17/+35
| | | | | | | | | | | | | | | - Add a new 'add-kld <kld>' command to locate a kld and load its symbols. - If the quiet flag is specified, don't dump the unread portion of the message buffer on startup. - Remove the warnx() from kgdb_lookup() and add it in callers where a failed lookup is warning worthy. - Add a shared library backend for kernel files that treats klds as shared libraries and auto-load symbols for klds on startup. - Build a section table from the kernel file so that 'info files' output looks sane. Notes: svn path=/stable/7/; revision=176570
* This commit was manufactured by cvs2svn to create branch 'RELENG_7'.cvs2svn2008-02-091-0/+479
| | | | Notes: svn path=/stable/7/; revision=176125
* MFC:Olivier Houchard2007-12-025-5/+43
| | | | | | | | | | | | | | | gnu/usr.bin/gdb/arch/arm/nm-fbsd.h rev 1.2 gnu/usr.bin/gdb/arch/arm/Makefile rev 1.2 gnu/usr.bin/gdb/arch/arm/armfbsd-nat.c 1.2 gnu/usr.bin/gdb/arch/arm/armfbsd-tdep.c rev 1.2 gnu/usr.bin/gdb/arch/arm/init.c rev 1.2 Allow gdb to attach live process. Thread support for arm. Approved by: re (kensmith) Notes: svn path=/stable/7/; revision=174179
* MFC: Teach kgdb how to handle double fault frames on i386.John Baldwin2007-11-213-1/+154
| | | | | | | Approved by: re (kensmith) Notes: svn path=/stable/7/; revision=173829
* MFC: Reflect the "libpthread -> libkse", "libthr is the default thredingRuslan Ermilov2007-10-231-0/+1
| | | | | | | | | library", and "libpthread is a symlink" changes in manpages. Approved by: re (gnn) Notes: svn path=/stable/7/; revision=172904
* Disable TLS for arm and sparc64 here as binutils 2.15 predate GNU TLSMarius Strobl2007-10-081-0/+2
| | | | | | | | | | | support for these. This is in line with gnu/lib/libgomp/config.h and gnu/lib/libstdc++/config.h. Reviewed by: cognet, obrien Approved by: re (kensmith) Notes: svn path=/head/; revision=172473
* FreeBSD 6.2 is now known to mdoc.Ruslan Ermilov2007-10-041-1/+0
| | | | | | | Approved by: re (kensmith) Notes: svn path=/head/; revision=172434
* Force -O1 compilation when targeted for ia64. GCC 4 generatesMarcel Moolenaar2007-09-261-0/+4
| | | | | | | | | | | | | bad code at -O2. Since this is likely caused by the low-level optimizer, testing TARGET_ARCH rather than MACHINE_ARCH should handle ia64 cross-compilation as well. With this work-around in place, we can release using the current GCC and Binutils code at the default optimization level on ia64. Approved by: re (kensmith) Notes: svn path=/head/; revision=172326
* Fix possible uninitialized variable insert due to previous commit.Edwin Groothuis2007-09-251-1/+1
| | | | | | | | | | | | | Pointy hat to: me and my absence of -Wall in my CFLAGS. MFC will happen at the same time of the earlier commit. Thanks to ru@ for spotting. Approved by: re (Ken Smith), grog@ (mentor) Notes: svn path=/head/; revision=172325
* man(1) can't handle compressed included files.Edwin Groothuis2007-09-201-0/+15
| | | | | | | | | | | | | | | | | | | | Some ports will install with compressed manpages. man handles this by looking for the .gz version of a man source file. It is also common to include other files with the .so directive where commands or functions share a man page. Traditionally ports have had to handle this by either not compressing the manpages, or using the _MLINKS macro in the port makefile to create symlinks to the actual source file, rather than using .so versions. Notably, the current version of Xorg port breaks. See ports/113096 and ports/115845. PR: bin/115850 Submitted by: Callum Gibson <callumgibson@optusnet.com.au> Approved by: re@ (ken smith), grog@ (mentor) MFC after: 1 week Notes: svn path=/head/; revision=172257
* Catch up with the demise of /usr/X11R6David E. O'Brien2007-09-191-1/+1
| | | | | | | Approved by: re(ken) Notes: svn path=/head/; revision=172244
* Reduce diff to vendor for maintance purposes.David E. O'Brien2007-09-191-5/+6
| | | | | | | Approved by: re(ken) Notes: svn path=/head/; revision=172243
* In the case of a native build, set NATIVE to yes so that the code circuitsThomas Quinot2007-09-191-1/+4
| | | | | | | | | | | | | | that need to be activated specifically for the case of a native linker actually are enabled. Specifically, this makes ld(1) look for shared libraries in LD_LIBRARY_PATH in the native case, as documented in the man page. PR: gnu/96481 Approved by: re (kensmith) MFC after: 2 weeks Notes: svn path=/head/; revision=172241
* Make gcc default to big endian when building it for a big endian target.Olivier Houchard2007-09-181-0/+4
| | | | | | | | | | This was lost while migrating to gcc4. Reported by: Michael Reifenberger <mike at Reifenberger dot com> Approved by: re (blanket) Notes: svn path=/head/; revision=172234
* NMIs now come from 'nmi_calltrap' rather than 'calltrap', so teach 'kgdb'John Baldwin2007-08-221-0/+1
| | | | | | | | | | to treat the frame under 'nmi_calltrap' as a trapframe. MFC after: 3 days Approved by: re (bmah) Notes: svn path=/head/; revision=171924
* Fix build on arm: time_t on arm is 64 bits while long isXin LI2007-06-171-3/+10
| | | | | | | | | | | | | | | 32 bits, so subsequent compile time assertion: sizeof inf->stat.st_mtime <= sizeof sec Would fail because of that. This change is suitable for general consumption as well, but fix it in our local patchset as we are near a code freeze. Submitted by: cognet Notes: svn path=/head/; revision=170857
* Update build skeleton after diffutils 2.8.7 update.Xin LI2007-06-1511-937/+164
| | | | Notes: svn path=/head/; revision=170758
* Don't lie about saved reports.Philip Paeps2007-06-021-1/+1
| | | | | | | | | PR: gnu/89777 Submitted by: edwin MFC after: 1 day Notes: svn path=/head/; revision=170209
* Fix compiles when user chooses to disable both ObjC and C++ support inAlexander Kabaev2007-05-281-1/+2
| | | | | | | | | GCC. Reported by: bz Notes: svn path=/head/; revision=170039
* Back out the addition of -static to LDFLAGS; I'm pretty confidentRuslan Ermilov2007-05-211-1/+0
| | | | | | | | | | | | | | | | | | | that the build failure was caused by a computer/sources date/time mismatch that caused GCC tools to be mistakenly rebuilt again at an inappropriate time during buildworld, re-linking them against new libraries instead of host's installed libraries and thus making them not runnable by the host. Normally they are only built in the early stage of buildworld (build-tools) that links them against shared libraries of the host, but if either the system clock or modification date/time on source files is set incorrectly, make(1) can be foolished into thinking that tools are stale and will rebuild them again, now in the "target" environment which is not suitable for building helper apps that are to be run during buildworld. OK'ed by: kan Notes: svn path=/head/; revision=169828
* Work-around for upgrading from a pre-symbol-versioned world.Scott Long2007-05-191-0/+1
| | | | | | | Blame-to: cperciva Notes: svn path=/head/; revision=169740
* Update bmake glue to build GCC 4.2.Alexander Kabaev2007-05-1930-815/+2660
| | | | | | | | | | | | | | | | | | | | | | | | Also: Switch FreeBSD to use libgcc_s.so.1. Use dl_iterate_phdr to locate shared objects' exception frame info instead of depending on older register_frame_info machinery. This allows us to avoid depending on libgcc_s.so.1 in binaries that do not use exception handling directly. As an additional benefit it breaks circular libc <=> libgcc_s.so.1 dependency too. Build newly added libgomp.so.1 library, the runtime support bits for OpenMP. Build LGPLed libssp library. Our libc provides our own BSD-licensed SSP callbacks implementation, so this library is only built to benefit applications that have hadcoded knowledge of libssp.so and libssp_nonshared.a. When linked in from command line, these libraries override libc implementation. Notes: svn path=/head/; revision=169718
* Remove extern int verbose declaration. It is declared static in theAlexander Kabaev2007-05-191-1/+0
| | | | | | | only file it is used in. Notes: svn path=/head/; revision=169714
* Fix static/extern mismatch by patching corresponding tdep filesAlexander Kabaev2007-05-192-2/+11
| | | | | | | in-place. Notes: svn path=/head/; revision=169713
* Add threading support.Marcel Moolenaar2007-05-012-1/+3
| | | | Notes: svn path=/head/; revision=169188
* Minor Makefile cleanup. Do not use Makefile variables named 'version' andAlexander Kabaev2007-03-125-9/+8
| | | | | | | | | | | | | | | | 'target'. Latter is problematic in particular as apparently FreeBSD's bsd.prog.mk re-defines it under some circumstances. This causes an unexpected failures like -dumpmachine not working for cc while working fine for c++. Do not re-define IN_GCC in multipe places, it gets inherited from Makefile.in anyway. PR: gnu/110143 Submitted by: usleepless at gmail Notes: svn path=/head/; revision=167471
* Unbreak the kgdb stepping over the special frames on i386 after rev. 1.117 ofKonstantin Belousov2007-03-011-1/+22
| | | | | | | | | i386/i386/exception.s. No objections from: marcel Notes: svn path=/head/; revision=167143
* Rename lookup() to kgdb_lookup() and make it global (for use in trgt_i386.c).Konstantin Belousov2007-03-012-7/+9
| | | | | | | No objections from: marcel Notes: svn path=/head/; revision=167142
* Avoid writing uninitialized stack data into a thread's MMX/SSE state byEd Maste2007-02-201-7/+12
| | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=166851
* Fix PowerPC-targeted cross-builds performed on 64-bit platforms.Marcel Moolenaar2007-02-112-4/+6
| | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=166638
* Remove GNU gzip left-offs, they are no longer necessary.Xin LI2007-01-3142-10979/+0
| | | | Notes: svn path=/head/; revision=166361
* Replace the GNU gzip with a slightly modified NetBSD gzip. TheXin LI2007-01-261-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | 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) Notes: svn path=/head/; revision=166255
* Try to avoid a possible infinite loop when parsing an invalid kernel dump file.Craig Rodrigues2007-01-251-2/+7
| | | | | | | | | | PR: 108229 Submitted by: Jessica Han <jessicah juniper net> Reviewed by: marcel MFC after: 1 week Notes: svn path=/head/; revision=166214
* -mdoc knows about FreeBSD 7.0 as well.Ruslan Ermilov2006-12-291-1/+0
| | | | | | | Reminded by: ceri Notes: svn path=/head/; revision=165614
* Markup revision.Ruslan Ermilov2006-12-251-16/+36
| | | | Notes: svn path=/head/; revision=165542