* amd64obsd-tdep.c (amd64obsd_pc_in_sigtramp): Adjust for signal
authorMark Kettenis <kettenis@gnu.org>
Sun, 22 Feb 2004 00:11:29 +0000 (00:11 +0000)
committerMark Kettenis <kettenis@gnu.org>
Sun, 22 Feb 2004 00:11:29 +0000 (00:11 +0000)
trampoline change in OpenBSD kernel.

gdb/ChangeLog
gdb/amd64obsd-tdep.c

index 13d25a3ff3eea12caffffc2c0cd0a5e0e4cb66e7..826deba07e2145e0fb7d1dc8576d6d0fb792f6c2 100644 (file)
@@ -1,5 +1,8 @@
 2004-02-22  Mark Kettenis  <kettenis@gnu.org>
 
+       * amd64obsd-tdep.c (amd64obsd_pc_in_sigtramp): Adjust for signal
+       trampoline change in OpenBSD kernel.
+
        * amd64-nat.c: Update copyright year.
        (amd64_supply_native_gregset, amd64_collect_native_gregset): Use
        architecture from REGCACHE.
index be263d8a77b9dfa31097b56156fd70be75076557..f96eb5d28142e79bcaa66a3875dab147e4418a3e 100644 (file)
@@ -84,7 +84,7 @@ amd64obsd_pc_in_sigtramp (CORE_ADDR pc, char *name)
   {
     0x48, 0xc7, 0xc0,
     0x67, 0x00, 0x00, 0x00,    /* movq $SYS_sigreturn, %rax */
-    0x0f, 0x05                 /* syscall */
+    0xcd, 0x80                 /* int $0x80 */
   };
   char *buf;