summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2005-09-11 06:52:14 +0000
committermarcel <marcel@FreeBSD.org>2005-09-11 06:52:14 +0000
commit95c333b2198c09899258ffbdf950d1cbb4470e59 (patch)
tree59fc849f833eb1963c42dfd7d1bcd1c7d90e76e5 /gnu
parentafc227eedb726879e091d998c7327fc5734e6069 (diff)
downloadFreeBSD-src-95c333b2198c09899258ffbdf950d1cbb4470e59.zip
FreeBSD-src-95c333b2198c09899258ffbdf950d1cbb4470e59.tar.gz
Claim frames corresponding to tl(0|1)_intr and tl0_trap as well. I
think that's the lot, but it's hard to understand the exception code by mere glancing at it. MFC after: 1 week
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/gdb/kgdb/trgt_sparc64.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/usr.bin/gdb/kgdb/trgt_sparc64.c b/gnu/usr.bin/gdb/kgdb/trgt_sparc64.c
index 8a0d929..3e4a41a 100644
--- a/gnu/usr.bin/gdb/kgdb/trgt_sparc64.c
+++ b/gnu/usr.bin/gdb/kgdb/trgt_sparc64.c
@@ -184,7 +184,10 @@ kgdb_trgt_trapframe_sniffer(struct frame_info *next_frame)
find_pc_partial_function(pc, &pname, NULL, NULL);
if (pname == NULL)
return (NULL);
- if (strcmp(pname, "tl1_trap") == 0)
+ if (strcmp(pname, "tl0_intr") == 0 ||
+ strcmp(pname, "tl0_trap") == 0 ||
+ strcmp(pname, "tl1_intr") == 0 ||
+ strcmp(pname, "tl1_trap") == 0)
return (&kgdb_trgt_trapframe_unwind);
/* printf("%s: %lx =%s\n", __func__, pc, pname); */
return (NULL);
OpenPOWER on IntegriCloud