diff options
Diffstat (limited to 'gdb/alpha-linux-tdep.c')
-rw-r--r-- | gdb/alpha-linux-tdep.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gdb/alpha-linux-tdep.c b/gdb/alpha-linux-tdep.c index 15111c9..9548ba7 100644 --- a/gdb/alpha-linux-tdep.c +++ b/gdb/alpha-linux-tdep.c @@ -41,8 +41,7 @@ (2) the kernel has changed from using "addq" to "lda" to load the syscall number, (3) there is a "normal" sigreturn and an "rt" sigreturn which - has a different stack layout. -*/ + has a different stack layout. */ static long alpha_linux_sigtramp_offset_1 (struct gdbarch *gdbarch, CORE_ADDR pc) @@ -120,8 +119,8 @@ alpha_linux_sigcontext_addr (struct frame_info *this_frame) struct ucontext uc; }; - offsetof (struct rt_sigframe, uc.uc_mcontext); - */ + offsetof (struct rt_sigframe, uc.uc_mcontext); */ + if (alpha_read_insn (gdbarch, pc - off + 4) == 0x201f015f) return sp + 176; |