This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] mips: Fix bracktrace result for signal frames


On Mon, 17 Feb 2020, Adhemerval Zanella wrote:

> MIPS fallback code handle a frame where its FDE can not be obtained
> (for instance a signal frame) by reading the kernel allocated signal frame
> and adding '2' to the value of 'sc_pc' [1].  The added value is used to
> recognize an end of an EH region on mips16 [2].
> 
> The fix adjust the obtained signal frame value and remove the libgcc added
> value by checking if the previous frame is a signal frame one.
> 
> Checked with backtrace and tst-sigcontext-get_pc tests on mips-linux-gnu
> and mips64-linux-gnu.

OK.

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]