[PATCH] Add PT_GNU_SFRAME segment
Mark Wielaard
mark@klomp.org
Tue Jan 24 11:13:44 GMT 2023
Hi Indu,
On Mon, 2023-01-23 at 11:56 -0800, Indu Bhagat via Gnu-gabi wrote:
> As I submit this patch, I am reminded of my ongoing unease with using the
> keyword "unwind information" with SFrame format. SFrame format, is the Simple
> Frame format, which represents the minimal necessary information for
> backtracing:
> - Canonical Frame Address (CFA)
> - Frame Pointer (FP)
> - Return Address (RA)
> As such, one can argue that there is a clear distinction between "backtrace"
> (=simple call trace) and "unwind"(=stack walk + recover state/regs).
>
> What do you think will the "correct" terminology here (if there is one) ?
> Simple Frame format is for backtracing only, but calling it a "backtrace
> format" also sounds off. May be "backtracing format" ? Simple Frame, SFrame,
> backtracing format...
>
> Thoughts?
What about calling it a "call trace"?
Although technically it is a "return trace".
Cheers,
Mark
More information about the Gnu-gabi
mailing list