David E. O'Brien
b7300254ae
Discontinuation of an action that now fits on one.
2004-01-27 05:01:08 +00:00
David E. O'Brien
bd064b9335
Fix problem where kgdb misses trap frames.
...
Reported by: iedowse
2004-01-26 09:18:47 +00:00
David E. O'Brien
014256a1e7
Use proper name.
2004-01-26 09:17:26 +00:00
David E. O'Brien
a7376656a5
style.Makefile(5)
2004-01-26 06:10:26 +00:00
David E. O'Brien
74483bd440
Follow existing GDB style for frame_info vars.
2004-01-26 06:07:33 +00:00
David E. O'Brien
1099ecff4c
Remove trailing white space.
2004-01-26 06:05:04 +00:00
David E. O'Brien
febc611cfa
FBSDID style nit.
2003-11-12 08:33:18 +00:00
Hidetoshi Shimokawa
3c0173a666
Implement gdb_solib_create_inferior_hook().
...
This function is used for autoloading kld module symbols for remote kgdb.
We still need a patch(*) for src/contrib/gdb/gdb/solib-svr4.c to enable
this function.
(*) http://people.freebsd.org/~simokawa/gdb/patch-solib-svr4.c
2003-10-29 14:40:59 +00:00
David E. O'Brien
5abd21e1e6
Enable '--interpreter=mi' support.
...
Submitted by: Rui Lopes <rui@ruilopes.com>
2003-09-07 20:38:23 +00:00
David E. O'Brien
f230755006
s/x86-64/amd64/
2003-09-07 20:21:14 +00:00
David E. O'Brien
c234256ec5
style.Makefile(5)
2003-09-07 20:19:32 +00:00
Ian Dowse
ea0d04f36e
Attempt to automatically read in kernel module symbols when a live
...
or dead kernel core is loaded into gdb. This extends gdb's existing
shared library support, so the "info sharedlibrary", "sharedlibrary"
and "nosharedlibrary" commands can be used to view and change the
list of loaded symbol files.
The current implementation is more than a kludge however, and it
will not always manage to find the .ko.debug file corresponding to
the loaded module. In particular, for modules whose build directory
cannot be easily guessed from the module name such as all the
netgraph modules, the debug version of the .ko will not be found
automatically.
The logic for finding the module file first attempts to guess at
the module build directory by parsing the version[] string. Then
using that directory ($DIR), it tries the following paths in turn:
./<module>.ko.debug ./<module>.ko
$DIR/<module>.ko.debug $DIR/<module>.ko
/boot/kernel/<module>.ko.debug /boot/kernel/<module>.ko
Approved by: obrien, mp
2003-03-21 00:30:53 +00:00
David E. O'Brien
ceb0f624bc
Reformat.
2003-01-04 17:51:59 +00:00
David E. O'Brien
bff2d4022e
Add the ability to debug C++ programs using v2 and v3 of the G++ ABI.
...
Submitted by: Peter Edwards <pmedwards@eircom.net>
2003-01-04 17:51:48 +00:00
Max Khon
6fd1035190
GC 'char sigmap[]' (it is no longer used)
...
Approved by: obrien
MFC after: 3 days
2003-01-04 17:35:54 +00:00
Mark Peek
e059894828
Add support for sparc64 kernel debugging.
...
Submitted by: tmm
2002-10-21 21:36:36 +00:00
David E. O'Brien
597e16e012
We HAVE_STPCPY now.
2002-10-20 07:50:20 +00:00
Mark Peek
ef78d1474b
Remove dependency on version.in for version information.
...
Submitted by: obrien
2002-10-12 21:23:53 +00:00
Mark Peek
884a2981a4
Fix function parameter lists to be correct and eliminate compiler warnings.
2002-10-12 18:08:44 +00:00
David E. O'Brien
c5c7175bd5
Use the new FreeBSD vectors from Binutils 2.13.1.
2002-10-11 19:39:18 +00:00
David E. O'Brien
9ceffc28f3
Fix GNU coding violations.
2002-09-18 16:20:49 +00:00
David E. O'Brien
71791a1d60
Stop using 3 distinct and far varied coding styles in a single file.
...
Pretend to actually adhere to the GNU coding standards.
2002-09-18 16:14:36 +00:00
Peter Wemm
0f258b75d3
Recognize frames for lcall_syscall and int0x80_syscall.
...
Reminded by: bde
2002-07-28 18:46:49 +00:00
David E. O'Brien
e2a86a90af
Make our i386 hacks in a less vendor file disturbing manner.
2002-07-10 07:48:45 +00:00
David E. O'Brien
2b1f5a4271
Stop trying to reimplement libkvm on i386. Instead use it directly and
...
consistently on all platforms.
Submitted by: gallatin
2002-07-10 06:58:25 +00:00
David E. O'Brien
bad0e574ca
Target specific FreeBSD kgdb hacks.
2002-07-10 06:40:03 +00:00
David E. O'Brien
68464ed689
Dike out bits specific to i386. This pretty much means no kgdb for
...
non-i386 platforms.
I would however like to see a shared file here. If a function or two cannot
be shared we should create ${TARGET_ARCH}/kvm-fbsd-${TARGET_ARCH}.c.
2002-06-30 04:47:43 +00:00
David E. O'Brien
a9b6be3e9e
Bmake bits for GDB 5.2.
2002-06-30 03:24:05 +00:00
David E. O'Brien
c4819db060
I don't see any reason to conditionalize this.
2002-06-29 17:55:17 +00:00
David E. O'Brien
cc5dcb202c
Bmake bits for GDB 5.2.
2002-06-29 16:52:15 +00:00
David E. O'Brien
b73f3861c3
Best guess at configurations for our other arches. (totally untested)
2002-06-29 03:18:28 +00:00
David E. O'Brien
2587e03b72
Allow to compile and at least startup on sparc64.
2002-06-29 03:16:40 +00:00
David E. O'Brien
7b726fea14
Bmake bits for GDB 5.2.
2002-06-29 01:16:01 +00:00
David E. O'Brien
b1ae3e66e6
NO! We DON'T wany any libintl action here.
2002-06-28 01:33:53 +00:00
David E. O'Brien
99c8489d5b
Things Gdb 5.2 wants to know about us.
2002-06-28 00:34:05 +00:00
David E. O'Brien
22cb25a945
When linking staticaly libtermcap is a postrequisite of libreadline.
...
Otherwise `tgoto' (only used by libreadline) isn't resolved.
Submitted by: bde
2002-06-22 17:07:45 +00:00
David E. O'Brien
457170e99c
We need to link with libiberty.a before libreadline.so. Both supply
...
xmalloc() and xrealloc() and the mixed usage of xmalloc in some .c's from
libiberty.a and other .c's from libreadline.so produces an unusable binary
on the Alpha.
While I am here, preventatively move other libs in the link order.
Submitted by: gallatin
2002-06-21 19:05:20 +00:00
Bruce Evans
6c37e4212e
phsyical -> physical
...
Submitted by: Andre Guibert de Bruet <andy@siliconlandmark.com>
2002-05-27 13:08:08 +00:00
David E. O'Brien
ecdd3d1cab
This is only WARNS=0 clean now.
2002-05-19 18:25:41 +00:00
David E. O'Brien
4728018172
This is enough to get thru a cross-build.
2002-05-18 18:27:09 +00:00
David E. O'Brien
3ce5798474
Segregate MD weirdness a little bit more. Improve cross buildability.
2002-05-18 04:59:57 +00:00
Mark Peek
117af193f6
Make our version tag unique due to our local changes.
...
PR: 19733
Submitted by: sheldonh
MFC after: 3 days
2002-05-14 18:17:59 +00:00
David E. O'Brien
596d4501ed
Use PTRACE_ARG3_TYPE of caddr_t.
...
Obtained from: gdb 5.2
2002-04-11 20:42:13 +00:00
David E. O'Brien
6fc7b42212
Enhance GDB's abillity WRT stack traces where signal handlers are involved.
...
Correct backtrace was made more complex when the new signal trampoline
was introduced to support more than 32 signals, while keeping a modified
version of the old signal trampoline.
The 'where' command will now show:
#2 <signal handler called>
where appropiate.
Submitted by: Tor.Egge@fast.no
2002-03-27 04:55:43 +00:00
David E. O'Brien
194788fafc
GDB 4.18 does not use the mmalloc library by default. So GC a little.
2002-03-23 17:15:49 +00:00
David E. O'Brien
8c157f6041
Fix setting of CLEANFILES.
2002-03-23 04:52:02 +00:00
David E. O'Brien
d27504cd28
Fix unaligned access in the GDB binary on Alpha.
...
Submitted by: gallatin
2002-03-16 19:33:23 +00:00
David E. O'Brien
2cadc0a98e
Turn up WARNS as high as possible.
...
Tested by: gcc31, gcc32, /usr/bin/cc
2002-03-13 05:14:31 +00:00
Daniel Eischen
68ace64ebe
Sync this up to recent changes to our (userland) thread structure.
2002-02-23 19:28:01 +00:00
Andrew Gallatin
c48944beea
Fix kgdb in the face of the last round of KSE commits.
...
The alpha world may actually build now..
2002-02-18 14:13:59 +00:00