Commit Graph

2535 Commits

Author SHA1 Message Date
obrien
16a030e71f - kernel core debugging for i386 (Mark Peek)
- thread debugging for i386 (Mark Peek) and alpha (Doug Rabson)

Submitted by:	mp,dfr
2002-06-29 00:42:52 +00:00
obrien
83ffbdce19 Note that this is a modified version of GDB. 2002-06-29 00:41:02 +00:00
obrien
0f9cb1113e Use the stock source. 2002-06-29 00:38:44 +00:00
obrien
48c467e54d Best that I can tell, we've never used these files. 2002-06-29 00:36:19 +00:00
obrien
85855d9a26 Vendor import of GDB 5.2.
These bits are taken from the FSF gdb_5_2-branch anoncvs repo
on 27-June-2002 12:01:00 EDT.
2002-06-28 03:29:27 +00:00
obrien
9247bfd639 This commit was generated by cvs2svn to compensate for changes in r98954,
which included commits to RCS files with non-trunk default branches.
2002-06-28 03:29:27 +00:00
obrien
4ac0047e0f Actually rev 1.3 (don't declare tilde_expand()) is needed with GDB 5.2. 2002-06-28 01:13:52 +00:00
obrien
0dcb205f46 Our FreeBSD custom changes are OBE. Return to using the stock vendor sources. 2002-06-28 00:14:03 +00:00
obrien
f458c59c23 Vendor import of GDB 5.2.
These bits are taken from the FSF gdb_5_2-branch anoncvs repo
on 27-June-2002 12:01:00 EDT.
2002-06-27 23:04:23 +00:00
obrien
24c014fcd5 This commit was generated by cvs2svn to compensate for changes in r98944,
which included commits to RCS files with non-trunk default branches.
2002-06-27 23:04:23 +00:00
markm
741591a6b4 Warnings fixes. Sort out some variable types. 2002-06-26 17:06:14 +00:00
markm
d999cc9a29 Help fix warnings by marking an argument as unused. 2002-06-26 17:05:08 +00:00
gshapiro
cb61166b90 Update for the sendmail 8.12.5 import 2002-06-26 02:52:59 +00:00
gshapiro
010f348bc9 Resolve conflicts from import of sendmail 8.12.5 2002-06-26 02:50:37 +00:00
gshapiro
ccc8f9377a This commit was generated by cvs2svn to compensate for changes in r98841,
which included commits to RCS files with non-trunk default branches.
2002-06-26 02:48:44 +00:00
gshapiro
fc4e7b69e3 Import sendmail 8.12.5 2002-06-26 02:48:44 +00:00
fenner
27ceacd9e9 Remove cruft. 2002-06-26 01:35:00 +00:00
robert
594ec288d5 Allocate and clear the correct number of bytes for a
struct fd_set that should be able to hold sock + 1 bits.
Before, it was apparently assumed that an fd_mask has
the same size as type char.

PR:		bin/39617
Reported by:	Peter N Lewis <peter@stairways.com.au>
2002-06-23 21:54:18 +00:00
obrien
29fd0bf33a Tweaks to make these files live beside our hacked config. 2002-06-21 22:54:24 +00:00
obrien
fd6a0fada4 Tweaks for the 64-bit compiler. 2002-06-21 22:53:03 +00:00
obrien
a0b51ec56f cc -O0 and -O1 didn't do the easy optimization of alignment for space.
Instead it attempted to do the easy optimization of alignment for time,
which should be to 1-byte alignment on i386's.

Submitted by:	bde
2002-06-21 18:21:30 +00:00
obrien
bf953252b2 BDE prefers this organization.
Submitted by:	bde
2002-06-21 18:11:22 +00:00
fenner
1982c98f74 Merge libpcap 0.7.1
MFC after:	2 weeks
2002-06-21 01:38:14 +00:00
fenner
b8f074bf7d This commit was generated by cvs2svn to compensate for changes in r98530,
which included commits to RCS files with non-trunk default branches.
2002-06-21 01:36:27 +00:00
fenner
1e8ea46779 Import libpcap 0.7.1, from
http://www.tcpdump.org/release/libpcap-0.7.1.tar.gz
2002-06-21 01:36:27 +00:00
fenner
6d9538de20 Merge tcpdump 3.7.1
MFC after:	2 weeks
2002-06-21 00:49:02 +00:00
fenner
d832be42ce This commit was generated by cvs2svn to compensate for changes in r98524,
which included commits to RCS files with non-trunk default branches.
2002-06-21 00:43:23 +00:00
fenner
91fc581e38 Import tcpdump 3.7.1, from
http://www.tcpdump.org/release/tcpdump-3.7.1.tar.gz
2002-06-21 00:43:23 +00:00
obrien
b3f1347661 Remove GAWK. I removed it from the build 2 weeks ago and the world
did not end.  So finish the deed.
2002-06-20 20:54:54 +00:00
peter
dad4058441 Merge ncurses 5.2-20020615 changes onto mainline. 2002-06-20 19:44:40 +00:00
peter
c23eb42da9 This commit was generated by cvs2svn to compensate for changes in r98503,
which included commits to RCS files with non-trunk default branches.
2002-06-20 19:42:51 +00:00
peter
bbe3056185 Import ncurses 5.2-20020615 to fix a first-column display bug. 2002-06-20 19:42:51 +00:00
obrien
85a92e54f0 FreeBSD is one of the OS's that does not require the use of libio with Gcc 3.1. 2002-06-18 18:13:14 +00:00
dougb
8a805cf640 Teach mdoc about the 4.6 release 2002-06-18 00:41:47 +00:00
fenner
cd52de85f6 In TTEST2(), check to make sure the "l" argument isn't so large that
"snapend - l" underflows; this fixes a buffer overflow with malformed
NFS packets, and may fix other buffer overflows with malformed packets.

Obtained from:	tcpdump.org CVS
2002-06-17 15:26:56 +00:00
sobomax
8c4cde6179 Our strerror_r(3) returns int, not char *. This fixes bogus error messages
like "Cannot stat: (null)"

Reported by:    bde, kris
2002-06-16 12:35:17 +00:00
mikeh
2712fbd627 This commit was generated by cvs2svn to compensate for changes in r98247,
which included commits to RCS files with non-trunk default branches.
2002-06-15 09:40:37 +00:00
mikeh
500352886b Import lukemftp-1.6-beta2. 2002-06-15 09:40:37 +00:00
gshapiro
e92f1f4694 sendmail 8.12.4 has been imported 2002-06-11 21:17:35 +00:00
gshapiro
3c674fdc70 Resolve conflicts from sendmail 8.12.4 import 2002-06-11 21:16:51 +00:00
gshapiro
faacdfb2c2 Import sendmail 8.12.4 2002-06-11 21:12:04 +00:00
gshapiro
4c57fa1987 This commit was generated by cvs2svn to compensate for changes in r98121,
which included commits to RCS files with non-trunk default branches.
2002-06-11 21:12:04 +00:00
obrien
b7ea29f504 cvs -j -j gave me two copies of TARGET_VERSION and I didn't notice
it before committing.
2002-06-10 15:48:23 +00:00
mike
c1a6b37593 Don't depend on <pwd.h> to bogusly include <sys/types.h>. 2002-06-09 19:29:55 +00:00
obrien
016feefa33 Allow one to profile FORTRAN77 programs. 2002-06-09 00:03:56 +00:00
ache
b2e7ac17af Use easy way to sense C and POSIX locales, like in GLIBC 2002-06-08 08:16:22 +00:00
ache
13406799dd Some upgrade instructions 2002-06-08 07:51:53 +00:00
ache
3987f3b9a6 This commit was generated by cvs2svn to compensate for changes in r98038,
which included commits to RCS files with non-trunk default branches.
2002-06-08 07:47:23 +00:00
ache
0ec16ad8f3 Virgin import (trimmed) of GNU Sort, textutils 2.0.21 2002-06-08 07:47:23 +00:00
darrenr
9765382011 Commit changes that happened in IPFilter versions 3.4.27 - 3.4.28 2002-06-07 09:01:41 +00:00
darrenr
221a9f73d4 This commit was generated by cvs2svn to compensate for changes in r98008,
which included commits to RCS files with non-trunk default branches.
2002-06-07 08:58:26 +00:00
darrenr
29738d8f27 Import IPFilter 3.4.28 2002-06-07 08:58:26 +00:00
darrenr
05bc20a37a This commit was generated by cvs2svn to compensate for changes in r98005,
which included commits to RCS files with non-trunk default branches.
2002-06-07 08:58:22 +00:00
darrenr
18c772ae03 Import IPFilter 3.4.28 2002-06-07 08:58:22 +00:00
sobomax
4d905c83a4 Disabling automatic --same-owner option when running as uid 0 along with
the --same-permissions was an overkill, so put it back. This is consistent
with what our old tar did.

Suggested by:	dillon
2002-06-07 06:02:35 +00:00
sobomax
87323b540c IMO it was a quite ugly idea that if we are running as uid 0 then we can
safely ignore current umask(2) and assume that permissions should be set
right like in the archive. Not only it violates POLA, but introduces
huge potential security vulnerability, particularly for ports, where
many popular archives come with 777 files and dirs.
2002-06-07 00:03:23 +00:00
obrien
8fe5b86833 Match the DBX_OUTPUT_MAIN_SOURCE_FILE_END definition in dbxelf.h.
Bug found by:	bde
2002-06-06 18:00:58 +00:00
obrien
7dfe2c583e Allow the specification of LONG_TYPE_SIZE on the command line.
Submitted by:	bde
2002-06-06 03:39:03 +00:00
obrien
28b73f7a82 Implement "-mno-align-long-strings" which prevents pessimization of strings
for space.  -Os could do this, but it was easy to hack an MD version.
This saves a whole 32 bytes in boot2, so I think it is worth using it.
(keep how much worse gcc 3.2 will compile boot2...)

Submitted by:	bde (minus gcc 3.2 commentary)
2002-06-06 03:36:32 +00:00
obrien
4699cf5d0b Didn't get them all in revision 1.50. 2002-06-06 03:30:40 +00:00
obrien
616a2ae30e Fix excessive alignment for the aout case, and unbreak genassym for that case.
Our aout linker has alignment hacks and doesn't need gcc to do anything special.

Tested for a year by:	bde :-)
2002-06-06 03:28:49 +00:00
obrien
52aeefcdd8 Tidy do-while.
Requested by:	bde
2002-06-06 03:26:36 +00:00
obrien
8d32f3a19b Read specs from /usr/libdata/gcc/specs if it exists. 2002-06-06 00:49:58 +00:00
obrien
6e1cb4b9ca The brokenness in ix86_expand_clrstr is quite visible when you
compare the function with ix86_expand_movstr.

Submitted by:	Tor Egge
2002-06-04 18:06:12 +00:00
obrien
d047bea9fd Gcc 3.1 (-O) now generates broken inline code for memset in some cases.
This broke newfs (newfs left some garbage in a bitmap).

The ASM for:

	#include <string.h>
	int x, foo[100];
	main()
	{
		memset(&foo[0], 0, x);
	}

is (at least if you have fixed function alignment):

	.file	"z.c"
	.text
	.p2align 2,,3
.globl main
	.type	main,@function
main:
	pushl	%ebp
	movl	%esp, %ebp
	pushl	%edi
	pushl	%eax
	movl	x, %ecx
	xorl	%eax, %eax
	shrl	$2, %ecx
	movl	$foo, %edi
	cld
	rep
	stosl
	andl	$-16, %esp
				<-- the lower bits of `len' should be loaded
				    near here
	testl	$2, %edi	<-- this seems to be meant to test the 2^1
				    bit in `len' (not alignment of the pointer
				    like it actually does).  %edi is the wrong
				    register for holding the bits, since it is
				    still needed for the pointer.
	je	.L2
	stosw
.L2:
	testl	$1, %edi	<-- similarly for the 2^0 bit.
	je	.L3
	stosb
.L3:
	movl	-4(%ebp), %edi
	leave
	ret
.Lfe1:
	.size	main,.Lfe1-main
	.comm	foo,400,32
	.comm	x,4,4
	.ident	"GCC: (GNU) 3.1 [FreeBSD] 20020509 (prerelease)"

This seems to only result in (len % 3) bytes not being cleared, since gcc
doesn't seem to use the builtin memset unless it knows that the pointer is
aligned.  If %edi could be misaligned, then too many bytes would be set.

Submitted by:	BDE
2002-06-04 18:04:27 +00:00
sobomax
64e4db8698 Move patches into the src/contrib/tar.
Requested by:   ps
Reviewed by:    md5(1)
2002-06-04 17:31:16 +00:00
sobomax
f93378aa52 Add importing/upgrading instructions. 2002-06-04 11:08:12 +00:00
sobomax
b6cf54e6ae Add razor used for shaving out GNU Tar. 2002-06-04 10:40:50 +00:00
sobomax
a62cd9c5ce This commit was generated by cvs2svn to compensate for changes in r97805,
which included commits to RCS files with non-trunk default branches.
2002-06-04 10:37:47 +00:00
sobomax
0f70d6636c Virgin import (trimmed) of GNU Tar version 1.13.25. 2002-06-04 10:37:47 +00:00
obrien
c2beebb55b Seems we are not ready for revision 1.8. 2002-05-30 06:04:14 +00:00
obrien
f3e84ff8bd Make our default predefines ANSI clean. 2002-05-30 00:58:35 +00:00
obrien
578c61196a This commit was generated by cvs2svn to compensate for changes in r97403,
which included commits to RCS files with non-trunk default branches.
2002-05-28 16:16:03 +00:00
obrien
0895e1acb6 Gcc 3.1.0 pre-release's C++ support bits from the FSF anoncvs repo
on 9-May-2002 15:57:15 EDT.
2002-05-28 16:16:03 +00:00
jmallett
afc38d0730 Don't risk catching a signal while handling a signal for a dying child, as we
can then end up not properly clearing wtmp/utmp entries.

PR:		bin/37934
Submitted by:	Sandeep Kumar <skumar@juniper.net>
Reviewed by:	markm
MFC after:	2 weeks
2002-05-27 08:10:24 +00:00
obrien
c63b7df4ec The special checks for %b and %D in rev 1.1 were done before skipping over
any characters between the % and the [bD], so only plain %b and %B worked.
This may un-1/2ass our -fformat-extensions support.

Submitted by:	bde
2002-05-26 16:04:37 +00:00
des
658709f5bc Vendor import of OpenPAM Cinquefoil. 2002-05-24 13:18:43 +00:00
des
86052d5cf6 This commit was generated by cvs2svn to compensate for changes in r97241,
which included commits to RCS files with non-trunk default branches.
2002-05-24 13:18:43 +00:00
obrien
25711d6191 1/2assed reimplementation of c-common.c revs 1.2 (-fformat-extensions)
and 1.3 (printf0) for GCC 3.1.
2002-05-22 16:37:09 +00:00
nectar
821e80e4ba Repair a bug where type AAAA answer records were not displayed.
Reference ISC BIND issue:
``1279.   [bug]           nslookup: partial coversion to similar style outputs
                          for both -type=aaaa and -type=a.''

Reported by:	ume
2002-05-22 14:27:35 +00:00
nectar
b8aa530e78 Do not attempt to free static memory.
Reference ISC BIND issue:
``1278.   [bug]           free() of non-malloced memory in nslookup.''

Reported by:	phkmalloc, Mike Tancsa <mike@sentex.net>
2002-05-22 14:24:44 +00:00
peter
61222aa523 Removed in latest import 2002-05-21 06:52:47 +00:00
peter
fac83c44d2 This commit was generated by cvs2svn to compensate for changes in r97055,
which included commits to RCS files with non-trunk default branches.
2002-05-21 06:52:47 +00:00
peter
05c632666c Merge ncurses-5.2-20010512 -> ncurses-5.2-20020518 changes onto mainline. 2002-05-21 05:38:04 +00:00
peter
9a7523d4b2 Import ncurses-5.2-20020518 onto the vendor branch.
Obtained from: ftp://dickey.his.com/ncurses/
2002-05-21 05:30:25 +00:00
peter
3af3b9c011 This commit was generated by cvs2svn to compensate for changes in r97049,
which included commits to RCS files with non-trunk default branches.
2002-05-21 05:30:25 +00:00
ache
6992c205d1 Fix essential typo in usage
Submitted by:	Cyrille Lefevre <cyrille.lefevre@laposte.net>
2002-05-19 10:40:15 +00:00
cvs2svn
efbfe7b228 This commit was manufactured by cvs2svn to create branch 'VENDOR-gcc'. 2002-05-17 19:47:49 +00:00
obrien
80b0d5d606 the processed hash file 2002-05-17 19:47:48 +00:00
ru
af2650e805 MD_EXEC_PREFIX doesn't work for the cross-arch compiler.
The change also makes the `cc -print-search-dirs' output
sane (the pre-3.1 way) in the non-cross case.

Draft reviewed by:	obrien
2002-05-16 15:22:58 +00:00
markm
f56e05005c Perl is no longer in base. Long live the port! 2002-05-16 10:09:28 +00:00
obrien
069c7c8d3a Merge c-common.c rev 1.10 into GCC 3.1
Clarify that the "yields only last 2 digits of year in some locales" warning
does not apply to BSD.

Submitted by:	ache
2002-05-14 01:53:53 +00:00
obrien
7d64ac0ab2 If you want to not warn on K&R main(); this is how it should be implemented. 2002-05-14 01:44:02 +00:00
obrien
b028831d22 Merge choose-temp.c rev 1.2 (use /tmp 1st, and then /var/tmp) into GCC 3.1. 2002-05-14 00:33:44 +00:00
obrien
1e93bf0871 Add framework for our kernel printf enhancements. 2002-05-14 00:30:25 +00:00
nectar
85aae18cf4 Resolve conflicts after import of ISC BIND 8.3.2-T1B documentation. 2002-05-13 19:35:44 +00:00
nectar
52cf506b39 Import of ISC BIND 8.3.2-T1B documentation. 2002-05-13 19:33:58 +00:00
nectar
f061e44989 This commit was generated by cvs2svn to compensate for changes in r96539,
which included commits to RCS files with non-trunk default branches.
2002-05-13 19:33:58 +00:00
nectar
242c4ff5b2 Resolve conflicts after import of ISC BIND 8.3.2-T1B. 2002-05-13 19:33:23 +00:00
nectar
e044c1fb92 Import of ISC BIND 8.3.2-T1B. 2002-05-13 19:31:58 +00:00