This is the mail archive of the
mailing list for the elfutils project.
Re: [PATCH] tests: run-backtrace-demangle.sh check exitcode and max number of frames.
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Sat, 18 Jan 2014 19:27:50 +0100
- Subject: Re: [PATCH] tests: run-backtrace-demangle.sh check exitcode and max number of frames.
On Thu, 16 Jan 2014 09:45:51 +0100, Mark Wielaard wrote:
> There can be more than 3 frames, but depending on the system/installed
> glibc we might not be able to unwind fully till the end.
> cxxfunc -> f -> main
> Expect to see the top two and a warning that there are more frames
> (exit code 1)
I agree there should be something like ' || true' but which system cannot
unwind 'main'? IIUC the 2 frames (and not 3 frames).