Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Sat, 12 Nov 2016 21:46:14 -0500
From: Rich Felker <>
Subject: Re: [PATCH v2] fix x86_64 sigreturn trampoline so gdb
 recognizes it

On Sun, Nov 13, 2016 at 01:12:05AM +0100, Szabolcs Nagy wrote:
> gdb can only unwind across signal handlers if it recognizes the trampoline.
> on x86_64 this means the pc must be in a function called __restore_rt or
> if gdb cannot determine the symbol name the instruction sequence must match
> to what gdb expects.
> a nop is added before __restore_rt, the __restore alias is removed and
> size annotation is added to make sure gdb maps any pc value within
> __restore_rt unambigously to the __restore_rt symbol name.
> and the instruction sequence got fixed to match what gdb expects.

Thanks! Committed a patch based on this as discussed on irc.


Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.