This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]