Commit Graph

44 Commits

Author SHA1 Message Date
rgrimes
2ad6f3dee6 Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
rgrimes
0b1bcecfed Submitted by: gj
Delete suspicious looking chunk of code that was partially commented out.
1995-05-09 13:59:22 +00:00
rgrimes
7156cd0fdd Fix nested comments for -Wcomment warnings. 1995-05-09 12:58:53 +00:00
jkh
81c312becc Gary J's patches to make gdb -w work properly.
Submitted by:	gj
1995-04-26 01:01:20 +00:00
joerg
50062c9a78 Fix for the ``gdb -k /nonexistent /dev/mem'' core dump.
Submitted by:	gj@freebsd.org (Gary Jennejohn)
1995-04-19 22:59:33 +00:00
nate
3a0ebdefb7 as Thomas Graichen recently wrote in private mail:
> * the gdb-4.13 of current (compiled and used under 2.0R) can not attach to my
> own processes (it works only then i'm root - else i get open failed - for my
> own processes)

how embarassing ! This turns out to be a bug in infptrace.c. Below
is a patch. Could some kind soul apply it ?

Submitted by:	"Gary J." <garyj@rks32.pcs.dec.com>
1995-04-10 00:01:01 +00:00
nate
ed48c16092 Because -lcompat defines the same symbols as -lgnuregex and the weakness
of the linker to enforce linking of modules in command line order it is
not possible to link gdb shared with -lcompat.

*HACK ALERT*
Removed -lcompat from LDADD and bring in the necessary functions out of
libcompat as a source module until the linker can be fixed.
1995-04-07 05:13:26 +00:00
bde
7a22eb0731 Fix reading of stack addresses from core files. USRSTACK now really is
the (top of the) user stack.
1995-01-31 18:07:36 +00:00
jkh
17a20d2fac Here's a patch to gdb-4.13 to add dyadic frames, as per J"org Wunsch.
Could somebody apply it?
Submitted by:	gj
1995-01-17 13:52:39 +00:00
jkh
20b24b646b Good grammar and good taste, from Gary Jennejohn.
Submitted by:	gj
1995-01-12 11:47:02 +00:00
ache
7f6bcdf38b doc added 1995-01-11 16:40:08 +00:00
ache
08af9bd264 Add annotate target 1995-01-11 16:38:10 +00:00
ache
3ccbbe3731 Install infopages 1995-01-11 16:29:45 +00:00
ache
1d4a5e0d56 Remove regex code, use -lgnuregex instead 1995-01-06 21:26:39 +00:00
bde
a256f19b8f Handle segment registers (except %fs and %gs). 1995-01-06 14:52:06 +00:00
bde
f664103d12 Add more segment registers to list of registers (fake for %fs and %gs).
This might be useful for debugging applications that use a special LDT.
However, printing of all segment registers is currently broken.

Don't print "last exception: " before the FPU opcode and pc, etc.  The
opcode and pc, etc., are for the last FPU _instruction_.

Pass the saved exception status word to print_387_status() so that the
exception(s) that caused or will cause a trap can be seen.  The kernel
has supported this since 1.1 or before.  The kernel still clobbers the
tag word if a trap occurs.

Remove unused null function clear_regs().
1994-12-31 17:00:09 +00:00
bde
44f160fc00 Fix declaration of i386_float_info(). 1994-12-31 16:56:43 +00:00
bde
11ea2ab944 Restore our local changes which were clobbered by the previous commit.
cvs is not being used effectively for gdb.  Our old changes get clobbered
and our new changes are mixed with "vendor" changes in the same updates
so they will be difficult to untangle for the next release of gdb.  The
revision logs get spammed for each release of gdb.
1994-12-31 16:34:59 +00:00
bde
6f9416cde6 Hide yet another redefinition of PAGE_SIZE. Cosmetic. 1994-12-31 16:16:27 +00:00
bde
5089dca4db Restore our (cosmetic) local changes which were clobbered by the previous
commit (do them slightly differently).
1994-12-31 16:14:13 +00:00
jkh
2517028602 Bring in the files added by Gary Jennejohn's gdb update.
Submitted by:	gj
1994-12-30 23:33:10 +00:00
jkh
cbfab23866 Hurrah! Let the champagne flow, the olive oil barrel be opened and
the wild, slippery orgy commence!

Gary Jennejohn, too studly for his own good, has finally come through with
the new, improved gdb 4.13.  This gdb features:

o	kgdb support - if this works (and I urge folks to test it), we can
	finally purge the old and hateful version of kgdb from our source
	tree.

o	attach/detach support.  See comments in README.FreeBSD for more
	details.

o	Well, it's newer.  Our previous version was 4.11.

Comments and flames to gj, of course! :-)

Thanks, Gary.  Much appreciated.  The previous state of gdb/kgdb has been a
thorn in all of our sides for some time..
Submitted by:	gj
1994-12-30 23:27:33 +00:00
ats
b904f4fb3d Add the automatically generated files: y.tab.h c-exp.tab.c ch-exp.tab.c and
m2-exp.tab.c to the CLEANFILES target.
1994-11-28 17:19:52 +00:00
bde
91436a2279 Include <sys/types.h> early. This will be required when <stdio.h> and/or
<signal.h> are fixed to not include it.

Bruce
1994-11-14 05:16:46 +00:00
ache
c91854d629 #define HAVE_TERMIOS added for proper terminal handling
Submitted by: smcarey@mailbox.syr.edu
1994-10-02 11:12:40 +00:00
bde
29f8ee7cc7 Add dependency for -lcompat. 1994-09-20 05:17:50 +00:00
swallace
63f357dd4f Added ${DESTDIR} in the line
CFLAGS+= -I$(.CURDIR)/. -I${DESTDIR}/usr/include/readline -I$(.CURDIR)/../bfd
1994-09-15 05:17:59 +00:00
rgrimes
8e5d951531 Change all references to LIBTERM and -ltermlib to LIBTERMCAP and -ltermcap 1994-09-11 21:41:41 +00:00
wollman
263f601c86 Need -lcompat to link under 2.0. 1994-08-05 22:04:02 +00:00
adam
8fb1077425 correct location of corefile data segment 1994-06-15 08:24:25 +00:00
ache
148d11b9e3 Add LIBREADLINE and LIBTERM to DPADD 1994-06-14 11:00:35 +00:00
ache
ff94b16f25 Remove PAGE_SIZE redifinition (from param.h) 1994-06-13 08:03:32 +00:00
paul
7fcf8d6de3 Moved -DTRAD_CORE from gdb/Makefile to bfd/Makefile 1994-06-11 16:20:42 +00:00
paul
68e5644760 Modev -DTRAD_CORE for gdb/Makefile to bfd/Makefile 1994-06-11 16:20:07 +00:00
paul
984626bb63 Two files I "lost" the first time.
GDB4:
1994-06-10 15:57:46 +00:00
paul
38cc378c61 GDB-4.12 from ports with support for shlibs but not the kernel.
This is a greatly pared down version of the full gdb-4.12, all the
config stuff has been removed and the supporting libraries have
been stripped to a minimum. This is a 1.1.5 only port, I'll do a
more complete port for 2.0 which will have all the config stuff
and will install the gnu support libraries as system libraries like
we do for readline.

There wasn't much point for 1.1.5 since only gdb would use them so I
went for saving space instead. For 2.0 I'll config all the
other gnu tools to use them as well.
1994-06-10 13:42:18 +00:00
ache
4217405d77 Remove readline copy, now gdb use gnu lib tree libreadline 1994-05-09 18:13:54 +00:00
adam
fce7f94ba7 Use correct stack segment with corefiles. 1994-05-04 01:22:07 +00:00
dg
7d2bd6aedc Only use syscallmap if FM_TRAP or EX_TRAPSTK are defined. 1994-01-03 08:10:47 +00:00
ats
1b23c6f734 deleted all references to rindex and included string.h instead. 1993-12-01 16:45:42 +00:00
ats
3749e58064 changed the order of the includes and deleted a reference to index
nd added an include to string.h instead
1993-12-01 16:44:43 +00:00
paul
ec7795be06 Added Charles changes for GCC@ symbols. 1993-07-26 22:40:41 +00:00
nate
d35a5142fa Bruce Evans:
The enclosed diffs implement printing of the floating point state for
the version of gdb-3.5 in 386BSD-0.0.  I don't have gdb for 386BSD-0.1
but I've been told that it is also missing this feature.

The changes are small.  Code to read the FP state from the kernel was
#ifdef'ed out, but it essentially works.  Code to change the FP regs
is still #ifdef'ed out.  It is close to working too.  Printing of the
FP regs was broken because hard reg numbers were confused with stack
offsets.

4. The emulator does not handle FP errors right, and it does not
   communicate the emulated FP state to the rest of the kernel, so
   "info float" shows garbage.
1993-07-01 00:17:55 +00:00
nate
3d05155a65 Added GNU gdb to src/gnu 1993-06-29 09:48:26 +00:00