[Bug backtrace/25239] gdb crashes when setting $rip in inline_frame_this_id()

avi@cloudius-systems.com sourceware-bugzilla@sourceware.org
Sun Dec 1 13:48:00 GMT 2019


--- Comment #3 from Avi Kivity <avi@cloudius-systems.com> ---
My code has this:

    // There is no caller of main() in this context. We need to annotate this
frame like this so that
    // unwinders don't try to trace back past this frame.
    // See https://github.com/scylladb/scylla/issues/1909.
    asm(".cfi_undefined rip");

Should I use some other annotation to terminate the frame unwinding

You are receiving this mail because:
You are on the CC list for the bug.

More information about the Gdb-prs mailing list