This is the mail archive of the
insight@sourceware.org
mailing list for the Insight project.
RE: endless loop if the stack is broken
On 24 July 2007 17:33, Dave Korn wrote:
> On 24 July 2007 16:34, Matthieu CASTET wrote:
>
>> I don't know how it could be fixed, but it will be nice if there is a
>> way to limit the stack depth ie insight try to dump only first X
>> functions from the stack.
>
>
> There is, and it's documented right there in the very very most obvious
> place to look for it: the chapter about backtraces in the manual.
Well, won't keep you in suspense any longer. You've probably found it by
now, but for the sake of anyone who stumbles across this thread in the
archives in future:
http://sourceware.org/gdb/current/onlinedocs/gdb_7.html#SEC48
Look for "set backtrace limit".
cheers,
DaveK
--
Can't think of a witty .sigline today....