Option to disable frame checking
Jan Kratochvil
jan.kratochvil@redhat.com
Mon Oct 1 17:26:00 GMT 2012
On Mon, 01 Oct 2012 19:21:17 +0200, Joel Brobecker wrote:
> > Is it acceptable to make a patch that allows this check to be turned
> > off (i.e. "set frame-inner-check off" or similar), or is there another
> > method that is more acceptable?
>
> Knowing that the Go language makes extensive use of alternate stacks,
> I think it's just better to remove the check altogether.
I do not know about Go alternate stacks but the checks for example already
supports gcc -fsplit-stack. More such features should be rather implemented
than to drop UNWIND_INNER_ID. Could not be GDB taught about thue alternate
stack?
Looping backtraces are a pain for both interactive and automatic bugreporting,
it is already a TODO item GDB should better handle f() { f(); } type stack
overflows as it proven less GDB-savvy users fail to debug such issue in GDB.
Thanks,
Jan
More information about the Gdb
mailing list