From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5409 invoked by alias); 18 Sep 2002 10:06:08 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 5400 invoked from network); 18 Sep 2002 10:06:06 -0000 Received: from unknown (HELO cerbere.u-strasbg.fr) (130.79.112.250) by sources.redhat.com with SMTP; 18 Sep 2002 10:06:06 -0000 Received: from laocoon (laocoon.u-strasbg.fr [130.79.112.72]) by cerbere.u-strasbg.fr (Postfix) with ESMTP id B2A5857D for ; Wed, 18 Sep 2002 12:07:16 +0200 (CEST) Message-Id: <4.2.0.58.20020918115440.015557e8@ics.u-strasbg.fr> X-Sender: muller@ics.u-strasbg.fr Date: Wed, 18 Sep 2002 03:06:00 -0000 To: gdb-patches@sources.redhat.com From: Pierre Muller Subject: [Problem] gnu-v3 abi loaded wronly. Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-SW-Source: 2002-09/txt/msg00381.txt.bz2 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