Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Pierre Muller <muller@ics.u-strasbg.fr>
To: gdb-patches@sources.redhat.com
Subject: [Problem] gnu-v3 abi loaded wronly.
Date: Wed, 18 Sep 2002 03:06:00 -0000	[thread overview]
Message-ID: <4.2.0.58.20020918115440.015557e8@ics.u-strasbg.fr> (raw)



   The code for loading gnu-v3-abi is symply to
look if there is a minimal symbol starting with 
  _Z
underscore followed by a capital Z:

Why is this test so imprecise?
To what symbol generated by GCC
v3 does it correspond?
Why is it not a full name test?

Currently this creates a problem for me when
I mix GCC 2.95.X code with Free Pascal generated
code on linux, because Free Pascal defines
a minimal symbol _ZONE_NAMES
that is recognized as a GCC v3 marker...

if you create a c code with a static variable 
called _Zzzz
you will probably get the same error...

I consider this to be a bug in GDB, but 
I would like to get the arguments of the 
interested people.





Pierre Muller
Institut Charles Sadron
6,rue Boussingault
F 67083 STRASBOURG CEDEX (France)
mailto:muller@ics.u-strasbg.fr
Phone : (33)-3-88-41-40-07  Fax : (33)-3-88-41-40-99


             reply	other threads:[~2002-09-18 10:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-18  3:06 Pierre Muller [this message]
2002-09-18  6:17 ` Daniel Jacobowitz
2002-09-18  6:41   ` Pierre Muller
2002-09-18  7:51     ` Daniel Jacobowitz
2002-09-18  7:58       ` Pierre Muller
2002-09-18  8:28         ` Daniel Jacobowitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4.2.0.58.20020918115440.015557e8@ics.u-strasbg.fr \
    --to=muller@ics.u-strasbg.fr \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox