This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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 ---

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]