Commit Graph

1456 Commits

Author SHA1 Message Date
peter
eb6140a55b 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
a5d05735c9 Fix include of <sys/dir.h> to <dirent.h> - it hits a #warning 1997-05-01 13:36:35 +00:00
pst
0086a0b342 Fix up a spurious '@' I added at the last second 1997-05-01 00:26:43 +00:00
pst
87f13a3d94 Merge from 2.2: auto-gen init.c and add ser-tcp.c 1997-05-01 00:18:51 +00:00
bde
b6edebc4ce 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
615fb6d211 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
edd3f7efb9 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
d4040e3121 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
ac4f7897a7 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
3eceb30fbf Activate gdbserver and gdbreplay 1997-04-26 17:34:05 +00:00
pst
7ffcb1eb1a 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
2e250ec07d 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
9063026ad1 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
507b33f76a Initial import of gdbreplay build structure 1997-04-25 22:25:22 +00:00
bde
6bb159dc4a 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
378ad598cb 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
3e6ac8c157 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
c1c2a85dd6 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
8076d74711 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
bde
4d371f008f Fixed synopsis. There was a missing arg, 3 args with the wrong type,
and many apparent dependendcies on <sys/types.h> from use of u_char.
<dialog.h> avoids u_char, so avoid it here too.
1997-04-13 12:36:42 +00:00
joerg
73565c7b84 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
251a3fcd5d Close PR#3118 1997-04-13 06:38:56 +00:00
peter
2aedad3f26 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
c8fd00c1a1 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
c6c961ec27 Make depend rely on config.h 1997-04-11 05:17:25 +00:00
bde
23a7b41ae4 Fixed bogus existence test related to searching for a nearby obj
directory.  The object (= current) directory always exists, so
don't search for it.

Use ${.TARGET} instead of deprecated $@.
1997-04-10 16:33:32 +00:00
bde
02c359f56a 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
601a8cc61b 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
c6251a85aa 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
peter
ab5f5a2fd2 Oops. Missed the Complex number add case of code generation.. :-]
Fixes PR#3239.

Submitted by: Takeshi WATANABE <watanabe@crayon.earth.s.kobe-u.ac.jp>
1997-04-09 16:00:07 +00:00
bde
bbc0013140 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
ab4e35c1d5 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
58e18c9e7e 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
b99191b1a6 Bmake Makefile for building info files for GNU cpio. 1997-04-03 11:20:39 +00:00
obrien
23d9912150 Bmake Makefiles for GNU cpio. 1997-04-03 11:20:09 +00:00
obrien
4bdf70deb5 Make way for FreeBSD files with CPIO bits in src/contrib/cpio 1997-04-03 11:16:57 +00:00
mpp
0ca4e16272 Remove a doubled word. Closes PR# 3163.
Submitted by:	 Kazuo Horikawa <horikawa@jp.freebsd.org>
1997-04-01 18:28:25 +00:00
peter
c17ed2265a Toast dummy lchown(), it's in libc now. 1997-03-31 12:56:00 +00:00
jkh
0356b94e47 YAMF22 1997-03-29 19:51:48 +00:00
peter
3fc68d1a5d 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
43c14e6541 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
9541e82ae6 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
0db31a9b3c Change a "=" to "?=" to make it easier to override the binary format
from the environment.
1997-03-28 04:45:30 +00:00
obrien
48c2bd39df FreeBSD modifications and notes for GNU cpio. 1997-03-26 20:01:24 +00:00
jdp
c41c8f61d1 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
2625e3aaa8 Make makewhatis(1) happy. 1997-03-21 20:59:44 +00:00
ache
64d1339e4f Fix initstate() cast to match Lite2 1997-03-17 16:32:14 +00:00
jmg
c9cebc7413 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