summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/gdb
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2007-08-21 18:44:22 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2007-08-21 18:44:22 +0000
commit667af34ccaf159be37a41d213961b17647630a52 (patch)
tree75c788cd2819eecfa21d6e264464148e0ec1e4a2 /gnu/usr.bin/binutils/gdb
parent0abff963fd619c037c4aa2c1b99d5cf9dd985bec (diff)
Treat Ldatafault_internal as having a trap frame.
Diffstat (limited to 'gnu/usr.bin/binutils/gdb')
-rw-r--r--gnu/usr.bin/binutils/gdb/sparc64obsd-tdep.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils/gdb/sparc64obsd-tdep.c b/gnu/usr.bin/binutils/gdb/sparc64obsd-tdep.c
index eb3e66fb965..ea1b438da23 100644
--- a/gnu/usr.bin/binutils/gdb/sparc64obsd-tdep.c
+++ b/gnu/usr.bin/binutils/gdb/sparc64obsd-tdep.c
@@ -263,7 +263,8 @@ sparc64obsd_trapframe_sniffer (struct frame_info *next_frame)
return NULL;
find_pc_partial_function (frame_pc_unwind (next_frame), &name, NULL, NULL);
- if (name && strcmp (name, "Lslowtrap_reenter") == 0)
+ if (name && ((strcmp (name, "Lslowtrap_reenter") == 0)
+ || (strcmp (name, "Ldatafault_internal") == 0)))
return &sparc64obsd_trapframe_unwind;
return NULL;