diff options
author | Mark Kettenis <kettenis@gnu.org> | 2004-02-22 00:11:29 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2004-02-22 00:11:29 +0000 |
commit | 84d044650f83da76b21798ffd79321c2f187142d (patch) | |
tree | 3d8497d273ed65f80565eb6b2921f9ca684bc0d4 /gdb | |
parent | 41aa2d9ebb66cecc9ee6f1c66bd4071cc286a790 (diff) | |
download | gdb-84d044650f83da76b21798ffd79321c2f187142d.zip gdb-84d044650f83da76b21798ffd79321c2f187142d.tar.gz gdb-84d044650f83da76b21798ffd79321c2f187142d.tar.bz2 |
* amd64obsd-tdep.c (amd64obsd_pc_in_sigtramp): Adjust for signal
trampoline change in OpenBSD kernel.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 3 | ||||
-rw-r--r-- | gdb/amd64obsd-tdep.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 13d25a3..826deba 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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. diff --git a/gdb/amd64obsd-tdep.c b/gdb/amd64obsd-tdep.c index be263d8..f96eb5d 100644 --- a/gdb/amd64obsd-tdep.c +++ b/gdb/amd64obsd-tdep.c @@ -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; |