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]

[Problem] gnu-v3 abi loaded wronly.



   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


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