diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2006-02-26 14:47:57 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2006-02-26 14:47:57 +0000 |
commit | b228a7026bfc5df457aa958202416b8bb1317beb (patch) | |
tree | 989d6c9367cd58d950e4524852fdcf7cd10b7ef6 /gnu/usr.bin | |
parent | 43b62418a3f3069f6bf41571aedf73fc0d9720ce (diff) |
Handle soft interrupt frames too.
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r-- | gnu/usr.bin/binutils/gdb/i386obsd-tdep.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gnu/usr.bin/binutils/gdb/i386obsd-tdep.c b/gnu/usr.bin/binutils/gdb/i386obsd-tdep.c index d6e93cbee15..4fe941ebd89 100644 --- a/gnu/usr.bin/binutils/gdb/i386obsd-tdep.c +++ b/gnu/usr.bin/binutils/gdb/i386obsd-tdep.c @@ -416,9 +416,10 @@ i386obsd_trapframe_sniffer (const struct frame_unwind *self, return 0; find_pc_partial_function (frame_pc_unwind (next_frame), &name, NULL, NULL); - return (name && ((strcmp (name, "calltrap") == 0) - || (strcmp (name, "syscall1") == 0) - || (strncmp (name, "Xintr", 5) == 0))); + return (name && (strcmp (name, "calltrap") == 0 + || strcmp (name, "syscall1") == 0 + || strncmp (name, "Xintr", 5) == 0 + || strncmp (name, "Xsoft", 5) == 0)); } static const struct frame_unwind i386obsd_trapframe_unwind = { |