diff options
author | Mark Kettenis <kettenis@gnu.org> | 2006-02-26 13:03:33 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2006-02-26 13:03:33 +0000 |
commit | 936b1b962d347f9955ca2da1e4963c672b2c6b50 (patch) | |
tree | 266a316b44ce1259d7bd727ec9471d1083160db1 /gdb/i386obsd-tdep.c | |
parent | 5a46cca7bd4548f5b63901aeee31a99e2307ec8d (diff) | |
download | gdb-936b1b962d347f9955ca2da1e4963c672b2c6b50.tar.gz |
* i386obsd-tdep.c (i386obsd_trapframe_sniffer): Also recognizegdb-csl-20060226-branchpoint
"soft" interrupts.
Diffstat (limited to 'gdb/i386obsd-tdep.c')
-rw-r--r-- | gdb/i386obsd-tdep.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gdb/i386obsd-tdep.c b/gdb/i386obsd-tdep.c index 5902374e264..f1ce0477d35 100644 --- a/gdb/i386obsd-tdep.c +++ b/gdb/i386obsd-tdep.c @@ -1,7 +1,7 @@ /* Target-dependent code for OpenBSD/i386. Copyright (C) 1988, 1989, 1991, 1992, 1994, 1996, 2000, 2001, 2002, - 2003, 2004, 2005 + 2003, 2004, 2005, 2006 Free Software Foundation, Inc. This file is part of GDB. @@ -423,9 +423,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 = { |