-----Original Message-----
From: Simon Marchi [mailto:simon.marchi@ericsson.com]
Sent: Thursday, October 6, 2016 4:32 PM
To: Metzger, Markus T <markus.t.metzger@intel.com>; gdb-
patches@sourceware.org
Subject: Re: [PATCH] gdb.btrace/*.exp: Make test names unique
Hi Simon,
>> This patch makes the btrace test names unique. I was trying to
>> understand why rn-dl-bind.exp fails on my machine, and saw that it
>> failed at test "next". Given that there are multiple "next" in that
>> test, it's hard to know which one doesn't work.
[...]
Here's the gdb.log, if it can help you.
http://paste.ubuntu.com/23284745/
Thanks for sharing the log. It does help.
You don't have debug information installed, which makes things more
difficult for GDB. The current tail-call detection heuristic is too
aggressive
if there are no symbols available.
I posted a patch some time ago to make it less aggressive in this case:
https://sourceware.org/ml/gdb-patches/2016-07/msg00277.html
This fixes (or hides, if you prefer) the issue you're seeing. I don't
want to
rule out that there might be other cases where we get the call stack
wrong
if we don't have symbols available.
Let me ping again for this patch series.