[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to backtrace an separate stack?
From: |
Florian Weimer |
Subject: |
Re: How to backtrace an separate stack? |
Date: |
Wed, 09 Mar 2022 11:06:19 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
* Tom Tromey:
> Florian> I'm a bit surprised by this. Conceptually, why would GDB need to
> know
> Florian> about stack boundaries? Is there some heuristic to detect broken
> Florian> frames?
>
> Yes, the infamous "previous frame inner to this frame" error message. I
> think this is primarily intended to detect stack trashing, but maybe it
> also serves to work around bad debuginfo or bugs in the unwinders.
>
> This error was disabled for cases where the GCC split stack feature is
> used. There's been requests to disable it in other cases as well, I
> think.
Is there a user-level command to disable the check manually?
Thanks,
Florian