Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [Problem] gnu-v3 abi loaded wronly.
@ 2002-09-18  3:06 Pierre Muller
  2002-09-18  6:17 ` Daniel Jacobowitz
  0 siblings, 1 reply; 6+ messages in thread
From: Pierre Muller @ 2002-09-18  3:06 UTC (permalink / raw)
  To: gdb-patches



   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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-09-18 15:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-18  3:06 [Problem] gnu-v3 abi loaded wronly Pierre Muller
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox