Commit Graph

1150 Commits

Author SHA1 Message Date
bde
8efe1426a0 Support 4MB pages. 1997-07-27 18:29:04 +00:00
itojun
245797ff55 small change to prevent "modules" to be modified twice, on the following
execution sequences:
	% easy-import -n foobaa
	% easy-import foobaa

Reviewed by:	joerg_wunsch@uriah.heep.sax.de
1997-07-15 16:48:01 +00:00
dyson
f2a897ade1 Add some Pentium and PentiumPro opcodes and registers. 1997-07-15 07:56:53 +00:00
bde
829ef63654 Don't define HOST_DATA_START_ADDR, since gdb works without it the
previous definition doesn't work on BSD4.4Lite[2] derived systems
without the changes in rev.1.27 of kern_proc.c.
1997-07-13 14:31:54 +00:00
jkh
9ede654e00 Allow ldconfig to accept files (containing directory paths) as well as
directory paths.
Reviewed by:	jkh & jdp
Submitted by:	Hans Zuidam <hans@brandinnovators.com>
1997-07-11 14:45:41 +00:00
wosch
eaa9fd68f5 Better section guessing for manual pages without suffix. The
plan9 manual pages dont have a suffix.
1997-07-04 22:32:59 +00:00
bde
037db6bca4 Removed -I path to gdb's readline. This didn't do much in -current
because the -I path to config/libreadline had precedence, but in
2.2 it help hide the bug that the -I path to the non-contrib
libreadline was garbage.
1997-06-30 23:10:54 +00:00
bde
793e761486 gdb.info still needs a near-copy of hsuser.texinfo to avoid the
reference to the programming manual.  Use this near-copy of the version
of hsuser.texinfo in contrib/libreadline instead of the stale near-copy
in contrib/gdb.
1997-06-30 12:57:58 +00:00
bde
cac50f2497 Configure static linkage in the normal way (default to -static using
NOSHARED?= yes).
1997-06-29 21:40:54 +00:00
bde
e610502b1e Configure static linkage in the normal way (default to -static using
NOSHARED?= yes).

Split long lines.
1997-06-29 21:36:33 +00:00
pst
1b991716a4 NOSHARED takes a yes/YES no/NO value, not "true, false, hey mon!".
NOPIC is used to not generate a shared library, not NOSHARED.
Make NOSHARED advisory where appropriate.
Remove bogus NOSHARED (kbdio).
1997-06-29 06:03:42 +00:00
tegge
62169ef6d3 Don't depend upon the user structure having been aligned on a 8 KB boundary.
Reviewed by:	Peter Wemm <peter@spinner.dialix.com.au>
1997-06-27 15:48:22 +00:00
peter
f8783d31d5 Zap some unused debugging printfs that I accidently left in. 1997-06-27 13:39:31 +00:00
steve
f8049f60d8 Fix a minor nit in the .Dd macro invocation so that
the revision date is displayed correctly.
1997-06-23 04:52:13 +00:00
phk
711f7235a1 BYOC - Bring Your Own Calloc(3)
Someday I'm going to face the music and dispose of this private malloc copy.
1997-06-22 17:48:35 +00:00
jmg
2d544ac5cd support remote imports (you must have a local cvs with same path as
remote for this to work)

Approved/Improved by: joerg
1997-06-09 10:08:07 +00:00
paul
c0b9da2663 Remove "support" class since we don't provide support services to users. 1997-06-07 23:46:48 +00:00
bde
e77a525556 Support reading and writing of %fs and %gs (except from core files). 1997-06-07 04:50:43 +00:00
max
e6108ea0c5 Typo fix in the EXAMPLES section. 1997-06-05 23:12:13 +00:00
jdp
c908673478 Fix some old typos and misspellings. 1997-05-31 04:28:53 +00:00
dfr
fb90c2a222 Document new -Bforcedynamic flag and -assert pure-text.
Reviewed by:	jdp
1997-05-29 15:34:34 +00:00
max
233b3efa62 Typo fix.
PR:		3693
Submitted by:	Kazuo Horikawa <k-horik@yk.rim.or.jp>
1997-05-27 13:46:40 +00:00
charnier
ba4e69c079 Add -fno-for-scope to CFLAGS, required by gcc (see NEWS).
PR:	gnu/3585
1997-05-23 06:17:21 +00:00
imp
b830d50b01 Fix buffer overload that might lead to root. 1997-05-22 21:40:08 +00:00
charnier
2c7eb9ab35 replace obsolete @ctrl{A} with @kbd{C-A}. Suppress compilation warning. 1997-05-21 06:12:22 +00:00
eivind
7a1932b397 it's'' -> its'' where appropriate and typo fixes in time2posix.3.
Closes PR docs/3612.

Submitted by:	Josh Gilliam <soil@quick.net>
1997-05-19 16:33:27 +00:00
peter
e13905b82e Update to build the new cvs version 1997-05-15 23:00:07 +00:00
dfr
b0fdd73677 Changes to support the kernel linker:
Add a -Bforcedynamic option which generates a dynamic object even
	if no shared libraries were given in the link.

	Make RRS in text section warnings conditional on "-assert pure-text"
	so that I can link non-PIC kernel modules without tons of link
	errors.  Changes to bsd.lib.mk to follow.

	Fix a couple of bugs exposed by the fact that the kernel is not
	linked at zero.

Reviewed by:	jdp
1997-05-13 10:23:47 +00:00
peter
5998a776b1 After looking around at what the other *BSD's do for their $xxxBSD$ tags,
take the easy way out and implement the beginnings of something similar.
Don't worry, the code here is *dormant* so far, some "help" from cvs is
required.  This is going in now so that jdp can see what I'm working on.
This is an extension of the previous existing skeleton $FreeBSD$ code.
1997-05-11 05:33:08 +00:00
gj
1d7bb525cf delete kcorelow.c, it didn't produce any code and broke init.c
because 2 references to _initialize_kcorelow (the other one
from kvm-fbsd.c) resulted. This prevented gdb from working correectly.

delete kcorelow.c from XSRCS in the Makefile.
1997-05-02 11:22:51 +00:00
pst
dded68c16d Clean up merge from 2.2 (without spamming peter's changes) 1997-05-01 16:24:37 +00:00
peter
ddcb5c598e Patch up init.c generation so that it works in -current.. It was trying
to use files that do not exist here.  Also, fix(?) ${.OBJDIR}/init.c hack.
1997-05-01 13:40:57 +00:00
peter
b50d8a1bfa Fix include of <sys/dir.h> to <dirent.h> - it hits a #warning 1997-05-01 13:36:35 +00:00
pst
c72be2a590 Fix up a spurious '@' I added at the last second 1997-05-01 00:26:43 +00:00
pst
efe87a3276 Merge from 2.2: auto-gen init.c and add ser-tcp.c 1997-05-01 00:18:51 +00:00
bde
d6d51045f3 Fetch the registers from struct members in the pcb instead of
punning the pcb to an array of ints and using magic indices to
access values in it.  This should prevent silent breakage from
changes in the pcb.

Supply 0 for unavailable registers instead of punning the tss to
an array of ints and using magic indices to access garbage values
in it.  (The registers are in the pcb; there is nothing interesting
in the tss.  This should change someday.  At least for dumps, all
the registers should be saved, and common_tss is a good place to
put them.)

Removed ancient wrong (disabled) method for reading eip.
1997-04-30 15:33:56 +00:00
bde
0fc596203b Backed out previous change. It just gave a more verbose Makefile by
repeating the default for MAN1.
1997-04-30 15:23:02 +00:00
jdp
08224caae1 Fix a bug that caused the relocs for linker set members in shared
libraries to come out as 1-byte relocations instead of 4-byte
relocations.

Submitted by:	Doug Rabson <dfr@nlsystems.com>
1997-04-30 05:18:08 +00:00
jdp
b06d78ec57 Set the N_EXT (external) flag for all weak symbols. It makes no
sense to have a weak symbol that is not externally visible.  This
fixes many of the "relocation burb" warnings produced when compiling
C++ code with "-fpic".  Beyond eliminating warnings, it also makes
some things work that didn't work before.
1997-04-29 02:11:48 +00:00
gj
feaedb83b1 change kvm-fbsd.c so that kernel debugging works again.
document the -k and -wcore options in the manpage.

change Makefile to use a local copy of the manpage.
1997-04-27 21:36:49 +00:00
pst
c434eced23 Activate gdbserver and gdbreplay 1997-04-26 17:34:05 +00:00
pst
5d48e9bea2 This commit was generated by cvs2svn to compensate for changes in r25149,
which included commits to RCS files with non-trunk default branches.
1997-04-25 22:25:50 +00:00
pst
8f80b72f50 Initial import of gdbserver FreeBSD support 1997-04-25 22:25:50 +00:00
pst
003551adee Initial import of gdbserver FreeBSD support 1997-04-25 22:25:50 +00:00
pst
42958a4686 This commit was generated by cvs2svn to compensate for changes in r25147,
which included commits to RCS files with non-trunk default branches.
1997-04-25 22:25:22 +00:00
pst
83f35e5f1f Initial import of gdbreplay build structure 1997-04-25 22:25:22 +00:00
pst
f0089b6cfb Initial import of gdbreplay build structure 1997-04-25 22:25:22 +00:00
bde
7b872f2073 Fixed `make depend'. The previous change reduced it to making only
config.h (which isn't used directly).  Added a comment about the
indirect use of config.h.
1997-04-25 20:20:21 +00:00
bde
624b69d11f Don't complain about no input files for `ld -f'. This fixes spurious
(ignored :-() errors for `make depend' in /sys/i386/boot/*.  It's
natural for there to be no libraries there and inconvenient to check
for this in bsd.prog.mk.
1997-04-25 19:43:19 +00:00
jdp
71dc5f6276 Fill the padding at the end of the runtime strings with zeros,
instead of leaving random data there.  This makes the linker's
output files more deterministic -- an important property for
regression tests.
1997-04-25 15:26:12 +00:00
wosch
2e387c4923 Understand `--' to end processing of command options.
This means one search for a string starting with a dash.
Fix also filenames starting with a dash. Close PR #3349
1997-04-19 20:06:57 +00:00
bde
ea4c076a10 Fixed `make depend' and related bogons. LDFLAGS was used for
ld-specific flags.  LDFLAGS is really for ld-related flags for cc,
not for ld, and some flags, e.g., -Bshareable, mean completely
different things to cc and ld.  Having the wrong things in LDFLAGS
also broke the standard ${PROG} target.  This was kludged around
by using a special rule that depended on LDFLAGS being bogus.
Fixing `make depend' broke the special rule but fixed the standard
rule (except in the DESTDIR case, which was handled more strictly
here than elsewhere).
1997-04-16 11:31:32 +00:00
joerg
eefd272abd Don't create anything on the disk if -O (aka --to-stdout) was given.
PR:		gnu/3247: tar -O creates directories...
1997-04-13 08:39:38 +00:00
jkh
623fd91a30 Close PR#3118 1997-04-13 06:38:56 +00:00
peter
17b78c41d7 Don't descend into the perl directory if it isn't there (eg: cvsup
refuse file), or if NOPERL is defined (eg: in /etc/make.conf)
1997-04-12 07:19:09 +00:00
bde
f160e6fb7e Don't print nonexistent library names for `ld -f [-Lfoo] -lbar'. A
dependency on `bar' is very unlikely to be correct.

This is a quick fix for broken dependencies in gdb and many other
places.  The dependencies on internal libraries are now missing
instead of wrong when `make depend' is run before the libraries
are created.
1997-04-11 17:08:56 +00:00
jkh
6a4df2f578 Make depend rely on config.h 1997-04-11 05:17:25 +00:00
bde
06e128ab00 Fixed bogus existence test related to searching for a nearby obj
directory.  manpath.1 is always in the current (= object) directory,
so don't search for it.
1997-04-10 16:14:09 +00:00
bde
3f56145d23 Fixed bogus existence test related to searching for a nearby obj
directory.  man.1 is always in the current (= object) directory,
so don't search for it.
1997-04-10 16:13:17 +00:00
bde
3d7da76d79 Fixed bogus existence test related to searching for a nearby obj
directory.  config.h is always in the current (= object) directory,
so don't search for it.

config.h is not a source for the library, so don't put it in SRCS and
don't make the library depend on it.

Don't put unused flags in CFLAGS.

Simplify using INTERNALLIB*.
1997-04-10 16:04:43 +00:00
bde
506312bdd0 Fixed bugs involving paths:
- LDADD was wrong for non-uniform obj trees.
- DPADD was wrong for separate obj tres.

Cleaned up nearby messes, mostly ones invoving paths:
- ../libtxi was useless.
- there were too many redefinitions and too many different names for the
  same paths.
- use INTERNALLIB* to simplify libtxi/Makefile.
1997-04-07 17:21:19 +00:00
bde
7e4f8a5504 Fixed bugs involving paths:
- LDADD was wrong for non-uniform obj trees.
- DPADD was wrong for separate obj tres.

Cleaned up nearby messes, mostly ones invoving paths:
- -I../libtxi was useless.
- there were too many redefinitions and too many different names for the
  same paths.
- use INTERNALLIB* to simplify libtxi/Makefile.
1997-04-07 16:52:53 +00:00
peter
a31720765f Attempt to patch up gdb so that it has a chance of working with the new
UPAGES layout.. it was entirely too comfortable with reading and writing
the U area before.  I've changed it to use PT_GETREGS/PT_PUTREGS
ptrace ops instead of READ_U etc.  The code to read the registers from
core dumps is a bandaid at best.  It seems to have problems reading
core dumps from dynamic linked executables still, but at least static
dumps work.

I desperately need help from a gdb/bfd expert. :-)  HELP!!
1997-04-07 08:08:20 +00:00
obrien
53af8e0438 Bmake Makefile for building info files for GNU cpio. 1997-04-03 11:20:39 +00:00
obrien
9058d2928c Bmake Makefiles for GNU cpio. 1997-04-03 11:20:09 +00:00
obrien
6a670141fd Make way for FreeBSD files with CPIO bits in src/contrib/cpio 1997-04-03 11:16:57 +00:00
mpp
94774977e0 Remove a doubled word. Closes PR# 3163.
Submitted by:	 Kazuo Horikawa <horikawa@jp.freebsd.org>
1997-04-01 18:28:25 +00:00
peter
c4807cce90 Toast dummy lchown(), it's in libc now. 1997-03-31 12:56:00 +00:00
peter
2dffd9b51d generate c-exp.c, f-exp.c and m2-exp.c with yacc rather than using
the generated ones in the gdb dist.
1997-03-29 10:33:13 +00:00
peter
34b7382753 Protect against multiple inclusion (All the CFLAGS+= items make the cc
command lines get rather long).  (bsd.lib.mk is particularly bad at this)
1997-03-29 10:29:40 +00:00
jdp
a58153ffe1 Support the ".p2align" directive, which is standard in newer versions
of binutils.  For all architectures and object file formats,
".p2align n" aligns to the next multiple of 2**n.  Thus for FreeBSD,
it does exactly the same thing as the traditional ".align".

The old ".align" directive has different meanings in different
object formats, and even in different variants of a.out.  Sometimes
is aligns to a multiple of n, and other times it aligns to a multiple
of 2**n.  ".p2align" is preferable for use in assembly language
sources, since it makes them more portable to object formats other
than a.out.
1997-03-29 02:16:44 +00:00
jdp
a310835bda Change a "=" to "?=" to make it easier to override the binary format
from the environment.
1997-03-28 04:45:30 +00:00
obrien
a58719acdf FreeBSD modifications and notes for GNU cpio. 1997-03-26 20:01:24 +00:00
jdp
d25562909d Add a new "-f" option to the linker, to print the resolved paths
of all the files and libraries in the command line.

Submitted by:	bde (Bruce Evans)
1997-03-22 02:59:40 +00:00
wosch
e2d1047d6f Make makewhatis(1) happy. 1997-03-21 20:59:44 +00:00
ache
d6d561981e Fix initstate() cast to match Lite2 1997-03-17 16:32:14 +00:00
jmg
5a9515e418 fix compilation warnings in patch... (with slight modification)
also remove -Wall that I acidentally committed last time I was here...

Submitted-by: Philippe Charnier

Closes PR#2998
1997-03-17 01:44:43 +00:00
guido
808b31cbd8 Remove unnecessary chmod()'s. This should likely go in other branches.
Obtained from: aleph1@UNDERGROUND.ORG on Bugtraq
1997-03-15 22:43:58 +00:00
gj
794901ee27 delete the LINKS line (link gdb to kgdb) by popular demand. 1997-03-15 20:59:59 +00:00
wosch
c0e6c9a0af Support german mdoc man pages (currently no german mdoc man page exists).
Support japanese FreeBSD man pages, Jpman Project.
1997-03-14 21:58:43 +00:00
wosch
463d2ef961 Support german Linux/GNU man pages. 1997-03-13 17:56:01 +00:00
gj
615261b3c2 add LINKS line to Makefile to automatically produce a link to kgdb
define START_PROGRESS in nm.h to check whether gdb was invoked as kgdb
and set the kernel_debugging flag in that case.

2.2 candidate ?
1997-03-12 22:34:09 +00:00
peter
4126130238 Oops.. Missed this one too. getopt is in unistd.h now, not stdlib.h 1997-03-11 17:57:26 +00:00
peter
77939b5758 Fix the getopt() prototype to match the system one. 1997-03-11 17:14:37 +00:00
peter
f26ffa5920 Build under Lite2 includes 1997-03-11 17:13:31 +00:00
ache
f9536bd341 Fix srandom arg type according to Lite2 1997-03-11 14:25:10 +00:00
bde
7e5a42e799 Fixed style bugs in install rule (afterinstall -> beforeinstall, etc).
Removed stale comment.
1997-03-09 07:27:18 +00:00
mpp
6c3dd051db Fix a number of typos, one of which is part of PR# 2917. 1997-03-09 00:33:19 +00:00
bde
34f9a2152a Don't use a dot in the chown commands. In fact, don't use any commands
except `install'.  Changed $() to ${}.  Don't use the afterinstall target
(it is only for things that must be done after the install target is
built).
1997-03-08 19:28:07 +00:00
bde
5983c79b17 Fixed substitution of @TMAC_S_PREFIX@ and @TMAC_M_PREFIX@. 1997-03-08 19:06:23 +00:00
wosch
39b10ebf20 Bugfix for man pages created by perlpod(1).
Submitted by: Slaven Reziæ (Tomiæ) <eserte@cs.tu-berlin.de>
1997-03-01 15:20:50 +00:00
joerg
cef9419ed3 Plug an old security hole: suidperl didn't honor MNT_NOSUID.
Strong 2.2 and 2.1.x candidate.  Someone should review the patch before,
however.

The maintainer of the Perl5 port should probably introduce a similar patch
there.
1997-03-01 12:58:49 +00:00
mpp
136fab770c Don't set the umask until after we have processed the arguments
and opened the archive file.  This allows "cpio -o -O output_file"
to create the output file with the callers proper umask.
Closes PR# 1391.
1997-02-25 06:11:19 +00:00
peter
245ba20d12 Revert $FreeBSD$ to $Id$ 1997-02-22 15:48:31 +00:00
bde
425611c5c7 Oops, the last commit shouldn't have removed floatformat.c. 1997-02-15 16:24:41 +00:00
bde
421db166e7 Don't use the private version of vasprintf(). It doesn't understand
"%%" in format strings and tends to dump core for "%%st".  I needed
"%%st" to fix the new gdb ...

Don't use the private version of strerror() either.

Use INTERNALLIB and INTERNALSTATICLIB instead of a private install
rules NOPROFILE and NOPIC.  This is only slightly cleaner.
INTERNALLIB was previously only used in compatibility libraries
(libgnumalloc etc.) and INTERNALSTATICLIB was previously unused.
INTERNAL*LIB probably should be replaced by something like NOSTATICO
together with NO{STATICO,PROFILE,PIC}INSTALL.
1997-02-15 16:14:52 +00:00
jmg
fddb79c0af Fix a problem with patch in that is will always default, even when the
controlling terminal is closed.  Now the function ask() will return 1 when th
input is known to come from a file or terminal, or it will return 0 when ther
was a read error.

Modified the question "Skip patch?" so that on an error from ask it will skip
the patch instead of looping.

Closes PR#777

2.2 candidate
1997-02-13 21:10:45 +00:00
joerg
6b544b7e1a Reorder the default man sections.
2.2 candidate?
1997-02-09 14:10:31 +00:00
wosch
865b89e27e Check return value from system() function.
Pointed out some months ago by: Bruce
1997-02-08 22:36:11 +00:00
jdp
b93e66c284 Correct the recommended option for "find" from "-depth" to "-d". 1997-02-08 21:47:55 +00:00
mpp
ab620d2c10 Don't force postscript output when "man -t" is specified.
Closes PR# 2661.

Submitted by:	 John-Mark Gurney <gurney_j@efn.org>
1997-02-05 14:22:13 +00:00
jdp
4aa42acf80 Fix a bug involving alias (N_INDR) symbols. When building a shared
library with a shared object dependency that contained alias symbols,
the linker incorrectly counted the number of symbols that would be
written, resulting in a fatal internal error.  Since our libc now
contains some alias symbols (in "net/res_stubs.c"), this was
sufficient to tickle the bug:  "ld -Bshareable foo.so -lc".  To
fix it, I moved the accounting of alias symbols to a later point
in the processing, where it is possible to count only those symbols
that will actually be written to the output file.

This fix is well-confined to affect alias symbols only.  I have
tested it with a full "make world".  I am going to merge it into
-2.2 after a few more days of living with it in -current.
1997-02-01 20:28:38 +00:00
jdp
d7912405bd Use xmalloc instead of malloc in two places, so that out-of-memory
conditions will be detected.

Submitted by:	Philippe Charnier <charnier@xp11.frmug.org>
1997-01-24 00:07:03 +00:00
jkh
acb5565ffe Remove incorrect use of double-negative since it means the same thing
to make but perhaps not to the human reading it.
1997-01-21 18:16:02 +00:00
jdp
282d267078 Pay attention to the environment variable "LD_IGNORE_MISSING_OBJECTS".
If it is set to a nonempty string, then simply skip any missing
shared libraries.  This came up in a discussion long ago as a
potentially useful feature at sysinstall time.  For example, an
X11 utility could be used without the X libraries being present,
provided the utility had a mode in which no X functions were actually
called.
1997-01-17 20:22:18 +00:00
jdp
7b0000acf9 Add back the description of the "-v" option. It seems to have been
lost in the conflict resolution leading up to revision 1.4.
2.2 candidate.
1997-01-17 17:36:22 +00:00
jkh
d4412390b5 Remove -lmalloc; it's no longer relevant.
Pointed-Out-By: jdp, dima and others.
1997-01-17 06:32:35 +00:00
ache
dd4737bbd6 Use SRCDIR instead of PATH 1997-01-16 18:14:44 +00:00
ache
c9b547eabb Simplify using SRCDIR 1997-01-16 18:11:49 +00:00
ache
d516d6f312 Use SRCDIR instead of PATH 1997-01-16 18:05:28 +00:00
ache
4980dadaa5 Simplify it using SRCDIR 1997-01-16 17:58:14 +00:00
gj
df43ee97ee Remove mmalloc since we're now using phkmalloc. This is made possible
by the -DNO_MMALLOC flag in gdb/Makefile.

The one thing we lose by doing this, AFAIK, is the possibility of using
mmap. Does anyone use that feature at all ?

2.2 candidate ?
1997-01-15 22:47:36 +00:00
gj
91c9d08b20 Changes required in directory libiberty to make gdb from the sources in
/usr/src/contrib/gdb.

This is based on /usr/ports/devel/gdb.

2.2 candidate ?
1997-01-15 22:43:15 +00:00
gj
26dd6730dc The files in gdb/elf are now grabbed from /usr/src/contrib/gdb/include/elf.
This also applies to the last 2 commits for aout and coff. Oops !

This is based on /usr/ports/devel/gdb.

2.2 candidate ?
1997-01-15 22:41:13 +00:00
gj
35a540ce1d The files in gdb/coff are now grabbed from /usr/src/contrib/gdb/coff.
This is based on /usr/ports/devel/gdb.

2.2 candidate ?
1997-01-15 22:39:08 +00:00
gj
18f7dd2b5c The files in gdb/aout are now grabbed from /usr/src/contrib/gdb/aout.
This is based on /usr/ports/devel/gdb.

2.2 candidate ?
1997-01-15 22:38:29 +00:00
gj
87b8aecea4 changes required in the gdb directory for making gdb
using the sources in /usr/src/contrib/gdb.

This is based on /usr/ports/devel/gdb.

2.2 candidate ?
1997-01-15 22:37:09 +00:00
gj
b4283751de changes required in the doc directory for making the gdb info
files using the texi sources in /usr/src/contrib/gdb/gdb/doc.

I put a pointer to /usr/src/contrib/libreadline/doc into
Makefile.inc in the hope that the appropriate files would be
picked up.

This is based on /usr/ports/devel/gdb.

2.2 candidate ?
1997-01-15 22:33:16 +00:00
gj
5a3eeda46b changes required in the bfd directory for making gdb
using the sources in /usr/src/contrib/gdb.

This is based on /usr/ports/devel/gdb.

2.2 candidate ?
1997-01-15 22:28:25 +00:00
gj
d79ac17aa7 changes required in the top-level directory for making gdb
using the sources in /usr/src/contrib/gdb.

This is based on /usr/ports/devel/gdb.

2.2 candidate ?
1997-01-15 22:26:11 +00:00
jdp
dcd41564c5 If a library is found in the hints file, but the library doesn't exist,
ignore the hint.

This is a straightforward fix, and it should go into 2.2 after a burn-in
period of a few days.

Noticed by:	bde
1997-01-14 17:53:55 +00:00
jkh
808a36ef65 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
jkh
fbded31544 Back out previous fix. It was bogus. 1997-01-13 10:55:49 +00:00
jkh
6f001ae28e Install a dir file if one doesn't exist. This seems the most likely
place to do it, I guess, and it's the utility which falls over without one.
1997-01-13 09:54:38 +00:00
wosch
71f5160702 Sort cross references. 1997-01-13 00:25:51 +00:00
jdp
75efa0b561 Use the RTLD_NOW symbol, now that it is defined in <dlfcn.h>. 1997-01-12 19:59:26 +00:00
peter
d6c696eb1a Don't conflict with INFODIR?=${SHAREDIR}/info from the system Makefiles 1997-01-12 07:36:43 +00:00
peter
cff7a604f0 Make this (hopefully) build now. There was no dir entry. 1997-01-12 07:18:05 +00:00
peter
b1ad1fd1a7 Fix path to readline docs, since it's now in contrib 1997-01-12 06:33:27 +00:00
jdp
222e4ec967 Correct typos and spelling errors. 1997-01-12 00:19:14 +00:00
jdp
04703241ef Add support for the LD_BIND_NOW environment variable. If it is set to a
nonempty string, then function calls are relocated at program start-up
rather than lazily.  This variable is standard on Sun and SVR4 systems.

The dlopen() function now supports both lazy and immediate binding, as
determined by its "mode" argument, which can be either 1 (RTLD_LAZY) or
2 (RTLD_NOW).  I will add defines of these symbols to <dlfcn.h> as soon
as I've done a little more checking to make sure they won't cause
collisions or bootstrapping problems that would break "make world".

The "LD_*" environment variables which alter dynamic linker behavior are
now treated as unset if they are set to the empty string.  This agrees
with the standard SVR4 conventions for the dynamic linker.

Add a work-around for programs compiled with certain buggy versions of
crt0.o.  The buggy versions failed to set the "crt_ldso" member of the
interface structure.  This caused certain error messages from the
dynamic linker to begin with "(null)" instead of the pathname of the
dynamic linker.
1997-01-12 00:16:36 +00:00
jdp
cda6305fe1 Set LD_TRACE_LOADED_OBJECTS to "1" instead of to "". The dynamic linker
now treats empty "LD_*" environment variables as if they were unset, per
the standard SVR4 conventions.
1997-01-12 00:10:57 +00:00
jdp
2c25ac3d92 Add support for the LD_BIND_NOW environment variable. If it is set to a
nonempty string, then function calls are relocated at program start-up
rather than lazily.  This variable is standard on Sun and SVR4 systems.

The dlopen() function now supports both lazy and immediate binding, as
determined by its "mode" argument, which can be either 1 (RTLD_LAZY) or
2 (RTLD_NOW).  I will add defines of these symbols to <dlfcn.h> as soon
as I've done a little more checking to make sure they won't cause
collisions or bootstrapping problems that would break "make world".
1997-01-12 00:09:11 +00:00
jmacd
34f7e2327f Changes to make ld demangle C++ symbol names before printing
error messages containing them.

Reviewed by:	Peter Wemm
1997-01-11 05:51:03 +00:00
jmacd
ddb6e87fe3 Same. This wasn't installed before either. 1997-01-11 04:07:35 +00:00
jmacd
e8ba000b3a Same. 1997-01-11 04:03:05 +00:00
jmacd
fae6e24a92 Same. This wasn't even in the old dir file. 1997-01-11 03:58:39 +00:00
jmacd
e51ec0e772 Same. 1997-01-11 03:52:45 +00:00
jmacd
b0838c430a Same deal. 1997-01-11 03:50:21 +00:00
jmacd
20e59b0f9d Same deal. 1997-01-11 03:41:14 +00:00
jmacd
ff70d27174 Same thing. 1997-01-11 03:32:01 +00:00
jmacd
aebb973fe7 Forgot a TAB. 1997-01-11 03:31:08 +00:00
jmacd
736054abb1 Same thing. 1997-01-11 03:26:53 +00:00
jmacd
d1944753d1 Getting tired of writing same thing. 1997-01-11 03:24:24 +00:00
jmacd
76a0431f96 Add the missing annotations. 1997-01-11 02:59:52 +00:00
jmacd
9f2cebccb1 Clearing out the old stuff, its all in contrib now. 1997-01-11 02:32:23 +00:00
jdp
511c6ad118 For "ldd -v", print shared object dependencies that were specified as
pathnames (rather than as "-lfoo") correctly.
Closes PR bin/2404.
1997-01-10 02:51:00 +00:00
mpp
cbe97b6291 Fix some file descriptor leaks. Closes PR# 2392.
2.2 candidate.
1997-01-09 14:50:42 +00:00
asami
ccf2644e90 Typo, "%d" -> "%s". This caused tar to print things like
tar: Can't change to directory 282656 : No such file or directory
1997-01-07 10:43:40 +00:00
jkh
727acdc37b Remove bogus redeclaration of setenv().
Fixes make world failure #3 for today (part of an ongoing series).
1997-01-07 06:26:19 +00:00