This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: [BUG]Something wrong with evaluate
On Sun, May 22, 2011 at 00:31, Jan Kratochvil <jan.kratochvil@redhat.com> wrote:
> On Sat, 21 May 2011 18:26:10 +0200, Hui Zhu wrote:
>> That is a gcc bug?
>
> Yes, at least I got this message due to a GCC Bug already fixed some time ago,
> one can find it in the Bugs. ?Unaware if the GCC Bug is gets exploited by
> every GDB version or just by some specific GDB versions.
>
> Do you have the problem reproducible if you (re)build that GDB with -O0?
>
> Sure it can be also a completely different problem but I doubt so.
>
>
> Regards,
> Jan
>
Hi Jan,
My part -O0 gdb is OK. This is a gcc bug. I just update my gcc to
4.5. I will report it to ubuntu.
Thanks for your help.
Best,
Hui