[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: symbols of global classes
From: |
Ian Lance Taylor |
Subject: |
Re: symbols of global classes |
Date: |
11 Feb 2004 14:49:01 -0500 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
gian paolo catenazzi <address@hidden> writes:
> With this build it is not possible, with gdb, to browse global classes
> and the member variables with a type derived from an enum are seen
> always as 0 (and if I check the value in the memory I see that is
> different of 0).
>
> Could this be a linker problem? I saw that the debug information
> generated with the old toolchain is a little bit different from the
> information generated with the new one.
It is possible that it is a linker problem. However, it is rather
more likely to be a problem with either the compiler or the debugger,
or some mismatch between the two of them. Without any more
information, I would start by looking at the compiler and/or debugger.
Ian