summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorPhilip Guenthe <guenther@cvs.openbsd.org>2011-09-03 01:24:22 +0000
committerPhilip Guenthe <guenther@cvs.openbsd.org>2011-09-03 01:24:22 +0000
commit20b725fa81b43bb7d41b419ff6951882e2dfd72c (patch)
tree7297e688115e51a4fbe35400930806ced7b4d375 /gnu
parentf37d0845e6a0e4bd5c52058450e4de7ed9df374f (diff)
Fix backtrace across signals on amd64
ok kettenis@
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/binutils/gdb/amd64obsd-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils/gdb/amd64obsd-tdep.c b/gnu/usr.bin/binutils/gdb/amd64obsd-tdep.c
index e47203172fd..8011f9e6d69 100644
--- a/gnu/usr.bin/binutils/gdb/amd64obsd-tdep.c
+++ b/gnu/usr.bin/binutils/gdb/amd64obsd-tdep.c
@@ -92,7 +92,7 @@ amd64obsd_sigtramp_p (struct frame_info *next_frame)
{
0x48, 0xc7, 0xc0,
0x67, 0x00, 0x00, 0x00, /* movq $SYS_sigreturn, %rax */
- 0xcd, 0x80 /* int $0x80 */
+ 0x0f, 0x05 /* syscall */
};
size_t buflen = (sizeof sigreturn) + 1;
char *name, *buf;