Hi Serhei, On Thu, Oct 17, 2024 at 02:54:34PM -0400, Serhei Makarov wrote: > Since we obtain diagnostics about unwind method, another logical place > to show them is in eu-stack. > > * src/stack.c (show_unwound_source): New global variable. > (struct frame): Add unwound_source field. > (frame_callback): Copy over unwound_source from Dwfl_Frame. > (print_frame): Take unwound_source string and print it. > (print_inline_frames): Take unwound_source argument and pass it on, > except for subsequent frames where we pass the string "inline". > (print_frames): Take unwound_source field from struct frame and pass > it on. > (parse_opt): Add --cfi-type,-c option to set show_unwound_source. > (main): Ditto. > * tests/run-stack-i-test.sh: Add testcase for --cfi-type.
I like this version. Thanks, Mark