* amd64obsd-tdep.c (amd64obsd_pc_in_sigtramp): Adjust for signal

trampoline change in OpenBSD kernel.
This commit is contained in:
Mark Kettenis 2004-02-22 00:11:29 +00:00
parent 41aa2d9ebb
commit 84d044650f
2 changed files with 4 additions and 1 deletions

View 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.

View 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;