On Thu, Jun 12, 2008 at 06:19:35PM +0200, Pierre Habouzit wrote:
> > Is a shared library involved?
> 
>   No, the symbol is local, visibility hidden.

Normally, when this happens, there is a symbol in the ELF symbol
table (.symtab) for the hidden symbol.  That symbol is missing in your
case.

I don't know why it worked pre-6.7, but this is not a well-supported
case in GDB.  It expects there to be ELF symbols for all functions.
Fortunately, an optimized code improvement added to GDB HEAD after 6.8
fixes your testcase again.

In the mean time, I suggest you use 6.7, use HEAD, or arrange not to
strip a subset of ELF symbols.

-- 
Daniel Jacobowitz
CodeSourcery



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to