On Fri, Jun 13, 2008 at 06:04:53PM +0000, Daniel Jacobowitz wrote:
> 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.

  Well I really don't do anything fancy here, no linker script is
involved, just simple gcc…

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

  okay, I'm glad then.

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

  That's what I'm doing (the former) for now. Thanks

-- 
·O·  Pierre Habouzit
··O                                                [EMAIL PROTECTED]
OOO                                                http://www.madism.org

Attachment: pgpvfOmGtckP9.pgp
Description: PGP signature

Reply via email to