This is the mail archive of the
elfutils-devel@sourceware.org
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 22:04:42 +0100
- Subject: Re: [PATCH] tests: run-backtrace-demangle.sh check exitcode and max number of frames.
On Sat, 18 Jan 2014 21:29:40 +0100, Mark Wielaard wrote:
> On Sat, Jan 18, 2014 at 07:27:50PM +0100, Jan Kratochvil wrote:
> > I agree there should be something like ' || true' but which system cannot
> > unwind 'main'? IIUC the 2 frames (and not 3 frames).
>
> You are right. 3 frames would also work since they all come from the
> main executable. I just picked 2 because the test only needs and checks
> the top two, "cxxfunc" and "f", but it can also be 3.
OK, yes, I agree with the patch now.
Thanks,
Jan