Skip to content
Snippets Groups Projects
Commit 84d04465 authored by Mark Kettenis's avatar Mark Kettenis
Browse files

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

trampoline change in OpenBSD kernel.
parent 41aa2d9e
No related branches found
No related tags found
No related merge requests found
2004-02-22 Mark Kettenis <kettenis@gnu.org> 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-nat.c: Update copyright year.
(amd64_supply_native_gregset, amd64_collect_native_gregset): Use (amd64_supply_native_gregset, amd64_collect_native_gregset): Use
architecture from REGCACHE. architecture from REGCACHE.
......
...@@ -84,7 +84,7 @@ amd64obsd_pc_in_sigtramp (CORE_ADDR pc, char *name) ...@@ -84,7 +84,7 @@ amd64obsd_pc_in_sigtramp (CORE_ADDR pc, char *name)
{ {
0x48, 0xc7, 0xc0, 0x48, 0xc7, 0xc0,
0x67, 0x00, 0x00, 0x00, /* movq $SYS_sigreturn, %rax */ 0x67, 0x00, 0x00, 0x00, /* movq $SYS_sigreturn, %rax */
0x0f, 0x05 /* syscall */ 0xcd, 0x80 /* int $0x80 */
}; };
char *buf; char *buf;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment