This is the mail archive of the archer@sourceware.org mailing list for the Archer 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: "long" vs. "long int" (what a mess!)


On Fri, Nov 7, 2008 at 9:34 AM, Daniel Jacobowitz <drow@false.org> wrote:

> On Fri, Nov 07, 2008 at 10:21:57AM -0700, Tom Tromey wrote:

>> It seems like in the long term it would be useful to have GCC emit
>> canonicalized names and then set a flag so that the gdb dwarf reader
>> could skip the canonicalization step.  Or am I missing something?
>
> This sounds awfully fragile, because it means that GCC and GDB must be
> completely in sync about the meaning of canonicalization at all times.

We can have GCC emit a "canonicalization version" instead of a
binary flag. If version matches that of GDB, they are in sync;
if it does not, GDB re-canonicalizes.

-- 
Paul Pluzhnikov


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