freebsd-nq/gnu/usr.bin/gdb/kgdb
Marcel Moolenaar c67d07416a Add a kluge to allow kgdb(1) to inject its own frame sniffer in the
list of frame sniffers so that trapframes can be detected. The kluge
is needed because this version of gdb only supports appending a
sniffer to the list of sniffers and the moment kgdb gets a chance to
add its own frame sniffer, the target's default frame sniffer is
already in the list. Since the default frame sniffer claims any
frame thrown at it, kgdb's frame sniffer never gets to smell (a
process much akin to tasting, but with lesser chance of hurling :-)

This commit adds dummy frame sniffers that never claim a frame and
as such don't fix anything yet. However, we now have frame sniffers
and they are being called, so it's just a matter of adding meat to
the bones and we'll be able to properly unwind across trapframes.

MFC after: 1 week
2005-09-10 18:25:53 +00:00
..
kgdb.1 Spell "currently" correctly. 2005-07-28 15:59:52 +00:00
kgdb.h Add a kluge to allow kgdb(1) to inject its own frame sniffer in the 2005-09-10 18:25:53 +00:00
kthr.c Add a kluge to allow kgdb(1) to inject its own frame sniffer in the 2005-09-10 18:25:53 +00:00
main.c Add a kluge to allow kgdb(1) to inject its own frame sniffer in the 2005-09-10 18:25:53 +00:00
Makefile Restore r1.2 change to use TARGET_ARCH. 2005-02-20 23:06:03 +00:00
trgt_alpha.c Add a kluge to allow kgdb(1) to inject its own frame sniffer in the 2005-09-10 18:25:53 +00:00
trgt_amd64.c Add a kluge to allow kgdb(1) to inject its own frame sniffer in the 2005-09-10 18:25:53 +00:00
trgt_i386.c Add a kluge to allow kgdb(1) to inject its own frame sniffer in the 2005-09-10 18:25:53 +00:00
trgt_ia64.c Add a kluge to allow kgdb(1) to inject its own frame sniffer in the 2005-09-10 18:25:53 +00:00
trgt_sparc64.c Add a kluge to allow kgdb(1) to inject its own frame sniffer in the 2005-09-10 18:25:53 +00:00
trgt.c Add a kluge to allow kgdb(1) to inject its own frame sniffer in the 2005-09-10 18:25:53 +00:00