aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* 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
* FreeBSD 5.5 is part of official -mdoc.Ruslan Ermilov2006-12-251-1/+0
| | | | Notes: svn path=/head/; revision=165541
* Fix markup, remove a dummy BUGS section.Ruslan Ermilov2006-12-241-9/+10
| | | | Notes: svn path=/head/; revision=165532
* Add missing articles.Ruslan Ermilov2006-12-231-0/+5
| | | | Notes: svn path=/head/; revision=165509
* Teach mdoc(7) about FreeBSD/arm and FreeBSD 6.3; both needed by theRuslan Ermilov2006-12-051-0/+4
| | | | | | | npe(4) manpage. Notes: svn path=/head/; revision=164917
* MFP4: Add an implementation of the ELF(3) and GELF(3) API set.Joseph Koshy2006-11-111-0/+1
| | | | | | | | | Bump __FreeBSD_version. Reviewed by: jb Notes: svn path=/head/; revision=164190
* Remove gratuitous white space change.David E. O'Brien2006-11-061-12/+5
| | | | Notes: svn path=/head/; revision=164019
* Allow one to force with issue with 'TARGET_BIG_ENDIAN'.David E. O'Brien2006-11-061-2/+2
| | | | Notes: svn path=/head/; revision=164018
* Fix vim syntax highlighting. Vim complained about the (comment). The syntaxPhilip Paeps2006-11-011-1/+1
| | | | | | | file is also called "sendpr", not "send-pr". Notes: svn path=/head/; revision=163867
* Bump document date for the previous change.Ruslan Ermilov2006-10-211-1/+2
| | | | Notes: svn path=/head/; revision=163583
* Turn on gdbserver for the arch that supports it..John-Mark Gurney2006-10-211-0/+4
| | | | Notes: svn path=/head/; revision=163582
* Trim trailing whitespace.John Baldwin2006-10-163-7/+7
| | | | Notes: svn path=/head/; revision=163440
* Restore the 'proc' and 'tid' commands which allow one to switch to theJohn Baldwin2006-10-161-0/+89
| | | | | | | | | | | first thread in a process or to a specific thread via PIDs and TIDs, respectively. Submitted by: kan Approved by: marcel Notes: svn path=/head/; revision=163439
* Update the FILES section which has been wrong for some time.Ceri Davies2006-10-151-4/+6
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=163366
* Add the sun4v category.Ceri Davies2006-10-151-1/+4
| | | | | | | | Reminded by: ru MFC After: 1 re approval Notes: svn path=/head/; revision=163365
* Document '-w' from main.c rev. 1.11.David E. O'Brien2006-10-111-0/+8
| | | | Notes: svn path=/head/; revision=163245
* Add the -P option back, but with a note that it is not supported on FreeBSD.Tom Rhodes2006-10-111-0/+6
| | | | | | | Requested by: ru Notes: svn path=/head/; revision=163231
* grep -P xxx file.txtTom Rhodes2006-10-101-5/+0
| | | | | | | | | | "The -P option is not supported" Removed from the manual page via this commit. PR: 99831 Notes: svn path=/head/; revision=163188