kan
f85d4141ea
Minor Makefile cleanup. Do not use Makefile variables named 'version' and
...
'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
2007-03-12 00:28:06 +00:00
kib
5b0899cab6
Unbreak the kgdb stepping over the special frames on i386 after rev. 1.117 of
...
i386/i386/exception.s.
No objections from: marcel
2007-03-01 13:56:08 +00:00
kib
f680330859
Rename lookup() to kgdb_lookup() and make it global (for use in trgt_i386.c).
...
No objections from: marcel
2007-03-01 13:55:15 +00:00
emaste
13b4da30e0
Avoid writing uninitialized stack data into a thread's MMX/SSE state by
...
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
2007-02-20 18:10:13 +00:00
marcel
3c925b07d6
Fix PowerPC-targeted cross-builds performed on 64-bit platforms.
...
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
2007-02-11 07:15:06 +00:00
delphij
6a5f85cc03
Remove GNU gzip left-offs, they are no longer necessary.
2007-01-31 03:44:42 +00:00
delphij
2089860135
Replace the GNU gzip with a slightly modified NetBSD gzip. The
...
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)
2007-01-26 10:19:08 +00:00
rodrigc
5ecf1e9826
Try to avoid a possible infinite loop when parsing an invalid kernel dump file.
...
PR: 108229
Submitted by: Jessica Han <jessicah juniper net>
Reviewed by: marcel
MFC after: 1 week
2007-01-25 06:39:25 +00:00
ru
f9d1382685
-mdoc knows about FreeBSD 7.0 as well.
...
Reminded by: ceri
2006-12-29 06:22:13 +00:00
ru
bdaa38dc41
Markup revision.
2006-12-25 15:09:06 +00:00
ru
0e3b49a9c1
FreeBSD 5.5 is part of official -mdoc.
2006-12-25 09:09:47 +00:00
ru
d5addbe902
Fix markup, remove a dummy BUGS section.
2006-12-24 23:07:11 +00:00
ru
fb5ffbe0ec
Add missing articles.
2006-12-23 23:26:05 +00:00
ru
6fdf8489ec
Teach mdoc(7) about FreeBSD/arm and FreeBSD 6.3; both needed by the
...
npe(4) manpage.
2006-12-05 17:01:23 +00:00
jkoshy
62913629e6
MFP4: Add an implementation of the ELF(3) and GELF(3) API set.
...
Bump __FreeBSD_version.
Reviewed by: jb
2006-11-11 17:16:35 +00:00
obrien
6e5c698f67
Remove gratuitous white space change.
2006-11-06 02:49:19 +00:00
obrien
7edb659ec4
Allow one to force with issue with 'TARGET_BIG_ENDIAN'.
2006-11-06 02:32:29 +00:00
philip
a64b469a29
Fix vim syntax highlighting. Vim complained about the (comment). The syntax
...
file is also called "sendpr", not "send-pr".
2006-11-01 12:13:08 +00:00
ru
fc876fdc9e
Bump document date for the previous change.
2006-10-21 17:39:35 +00:00
jmg
d571cf9da2
Turn on gdbserver for the arch that supports it..
2006-10-21 17:27:36 +00:00
jhb
21fce90fb9
Trim trailing whitespace.
2006-10-16 20:07:23 +00:00
jhb
a75ada9559
Restore the 'proc' and 'tid' commands which allow one to switch to the
...
first thread in a process or to a specific thread via PIDs and TIDs,
respectively.
Submitted by: kan
Approved by: marcel
2006-10-16 20:06:32 +00:00
ceri
d16480f34d
Update the FILES section which has been wrong for some time.
...
MFC after: 3 days
2006-10-15 11:50:11 +00:00
ceri
d52521898e
Add the sun4v category.
...
Reminded by: ru
MFC After: 1 re approval
2006-10-15 11:43:42 +00:00
obrien
30402bd446
Document '-w' from main.c rev. 1.11.
2006-10-11 14:42:43 +00:00
trhodes
cb84ecb15c
Add the -P option back, but with a note that it is not supported on FreeBSD.
...
Requested by: ru
2006-10-11 09:52:32 +00:00
trhodes
6bf3709af8
grep -P xxx file.txt
...
"The -P option is not supported"
Removed from the manual page via this commit.
PR: 99831
2006-10-10 01:57:25 +00:00
kmacy
8bcce69475
Temporarily add newer copy of tc-sparc.c to build to
...
support building of sun4v. This can be removed once
the binutils import happens.
Reviewed by: kan
Approved by: rwatson (mentor)
2006-10-09 04:52:14 +00:00
imp
8817afd4b7
Enable gdb on the arm. Some time ago I committed it, but had forgotten to
...
enable it here.
Noticed by: cognet
2006-10-03 00:03:30 +00:00
ru
36d936524c
Prepare to pick up manpages from their new location.
2006-09-21 07:52:41 +00:00
kan
7f7d9b2692
Bump __FreeBSD_cc_version in case someone cares for differences between
...
GCC 3.4.4 and GCC 3.4.6 on -current.
2006-09-21 03:27:07 +00:00
simon
a1f5a11feb
Correct multiple vulnerabilities in gzip(1).
...
Security: FreeBSD-SA-06:21.gzip
2006-09-19 14:06:20 +00:00
imp
3f3c42f60e
Add additional support for generating code for the arm. There's still
...
a few issues in other parts of the tree, but those will be resolved
separately.
Submitted by: cogenet@
Reviewed by: kan@, obrien@
MFC After: 5 days
2006-09-18 17:08:32 +00:00
ru
c1cc0912e1
This is not needed since src/gnu/usr.bin/cc/cc_int/Makefile,v 1.34.
2006-09-16 09:09:44 +00:00
ru
6b78b3a81d
Remove vestiges of GNU tar.
2006-09-15 08:04:23 +00:00
imp
35f71d316f
A TARGET_CPU_DEFAULT of xscale for arm results in illegal instructions
...
during buildworld. Comment it out for now.
2006-09-15 05:21:06 +00:00
imp
2ad94565b4
Remove redundant default vector
...
Submitted by: ru@
2006-09-14 08:21:20 +00:00
imp
ccf269aef7
Add cross debug support to arm.
...
Submitted by: cognet@
2006-09-14 07:51:52 +00:00
imp
b39fe59680
fix the build: add missing end of line cont character
2006-09-14 07:48:16 +00:00
imp
75f1f3b6a1
scripts for the arm port.
...
Submitted by: cognet@
Reviewed by: obrien and kan
2006-09-14 07:46:32 +00:00
imp
77431c17db
Fix the build and minor cleanup.
2006-09-14 07:44:05 +00:00
imp
0be173e15e
.end -> .endif
2006-09-14 07:02:17 +00:00
imp
01cb50b4e4
Architecture specific portions of gdb for arm.
...
Submitted by: cognet@
2006-09-14 06:49:34 +00:00
imp
9fed87cdab
Config file for arm assembler
2006-09-14 06:39:07 +00:00
imp
68381de49c
TARGET_BIG_ENDIAN isn't appropriate here. __ARMEB__ is sufficient and
...
besides, TARGET_BIG_ENDIAN isn't defined anyway.
2006-09-14 06:36:13 +00:00
kan
fe0a1dc586
Remove redundant defines alerady set by Makefile.fe
2006-09-12 21:57:28 +00:00
obrien
c0b8338231
Style sync.
2006-09-12 19:24:01 +00:00
obrien
a78f3f2302
Move to more global Makefile.tgt vs. having to define in the leaves.
2006-09-12 07:37:44 +00:00
obrien
26e5f5c59e
Default to big endian ARM if "TARGET_BIG_ENDIAN" is defined, and set an ARM
...
target default.
2006-09-12 07:37:02 +00:00
obrien
a43aa801ce
Default to big endian ARM if "TARGET_BIG_ENDIAN" is defined (& targeting ARM).
2006-09-12 07:09:45 +00:00