From b228a7026bfc5df457aa958202416b8bb1317beb Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sun, 26 Feb 2006 14:47:57 +0000 Subject: Handle soft interrupt frames too. --- gnu/usr.bin/binutils/gdb/i386obsd-tdep.c | 7 ++++--- 1 file 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 = { -- cgit v1.2.3