[patch] Detect infinite backtraces

Jan Kratochvil jan.kratochvil at redhat.com
Fri Jan 3 21:18:09 UTC 2014

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
	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).

-------------- next part --------------
An embedded message was scrubbed...
From: Jan Kratochvil <jan.kratochvil at redhat.com>
Subject: [PATCH] Detect infinite backtraces.
Date: Fri, 3 Jan 2014 22:06:12 +0100
Size: 22438
URL: <https://lists.fedorahosted.org/pipermail/elfutils-devel/attachments/20140103/0c11a10b/attachment-0001.mht>

More information about the elfutils-devel mailing list