GNU Binutils with patches for OS216
Révision | 3597fb8298b9e2b43c4ac35010f3bddce3a5cb94 (tree) |
---|---|
l'heure | 2006-02-26 22:03:33 |
Auteur | Mark Kettenis <kettenis@gnu....> |
Commiter | Mark Kettenis |
* i386obsd-tdep.c (i386obsd_trapframe_sniffer): Also recognize
"soft" interrupts.
@@ -1,3 +1,8 @@ | ||
1 | +2006-02-26 Mark Kettenis <kettenis@gnu.org> | |
2 | + | |
3 | + * i386obsd-tdep.c (i386obsd_trapframe_sniffer): Also recognize | |
4 | + "soft" interrupts. | |
5 | + | |
1 | 6 | 2006-02-24 Charles Wilson <cygwin@cwilson.fastmail.fm> |
2 | 7 | |
3 | 8 | * gdb/defs.h: unconditionally include <fcntl.h>, and |
@@ -1,7 +1,7 @@ | ||
1 | 1 | /* Target-dependent code for OpenBSD/i386. |
2 | 2 | |
3 | 3 | Copyright (C) 1988, 1989, 1991, 1992, 1994, 1996, 2000, 2001, 2002, |
4 | - 2003, 2004, 2005 | |
4 | + 2003, 2004, 2005, 2006 | |
5 | 5 | Free Software Foundation, Inc. |
6 | 6 | |
7 | 7 | This file is part of GDB. |
@@ -423,9 +423,10 @@ i386obsd_trapframe_sniffer (const struct frame_unwind *self, | ||
423 | 423 | return 0; |
424 | 424 | |
425 | 425 | find_pc_partial_function (frame_pc_unwind (next_frame), &name, NULL, NULL); |
426 | - return (name && ((strcmp (name, "calltrap") == 0) | |
427 | - || (strcmp (name, "syscall1") == 0) | |
428 | - || (strncmp (name, "Xintr", 5) == 0))); | |
426 | + return (name && (strcmp (name, "calltrap") == 0 | |
427 | + || strcmp (name, "syscall1") == 0 | |
428 | + || strncmp (name, "Xintr", 5) == 0 | |
429 | + || strncmp (name, "Xsoft", 5) == 0)); | |
429 | 430 | } |
430 | 431 | |
431 | 432 | static const struct frame_unwind i386obsd_trapframe_unwind = { |