This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
[patch] Detect infinite backtraces
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Fri, 03 Jan 2014 22:18:09 +0100
- Subject: [patch] Detect infinite backtraces
Hi Mark,
as discussed in
[PATCH] stack: Add new '-n MAXFRAMES' option. Resolve addresses after unwind.
I have found I forgot to implement what GDB has as
gdb.dwarf2/dw2-dup-frame.exp
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
I find it easier in the case of elfutils as all supported unwinding archs have
grows-down kind of stack.
It breaks support for -fsplit-stack (GDB gdb.base/morestack.exp) but that is
IMO an add-on extension which just coincidentally worked with current
checked-in elfutils unwinder (I did not test it).
Thanks,
Jan
--- Begin Message ---
[<email.message.Message instance at 0x1539cf8>]
--- End Message ---