[RFA] minsyms.c: Fix switching to GNU v3 ABI

Ian Lance Taylor ian@wasabisystems.com
Wed Mar 10 18:30:00 GMT 2004


Corinna Vinschen <vinschen@redhat.com> writes:

> On Mar 10 11:37, Daniel Jacobowitz wrote:
> > What's the one symbol with just one underscore?
> 
>     _ZZN9__gnu_cxx27__verbose_terminate_handlerEvE11terminating

That should be investigated further, as it probably indicates a gcc
bug.

Consider this source code:

void __verbose_terminate_handler()
{
  static int terminating = 0;
  if (terminating)
    {
      return;
    }
  terminating = 1;
}

If you compile it as a C file, do you see the initial underscore on
"terminating".  If you compile it as a C++ file, do you see two
initial underscores before the 'Z'?  It should be consistent.

Ian



More information about the Gdb-patches mailing list