BUG: Re: gdb semi-broken in ydl4?

Albrecht Dreß albrecht.dress at arcor.de
Mon Dec 20 04:45:07 MST 2004


Am 13.12.04 22:22 schrieb(en) Joseph E. Sacco, Ph.D.:
> Is it really a bug, or did the optimizer eliminate "r" completely? [I am
> too lazy to dumb the assembler code :-)].
> 
> I have never had much success debugging optimized code for exactly this
> reason.  The optimizer eliminates and moves things.
> 
> Without "-O" gdb works as expected.

I meanwhile could reproduce the problem on Intel FC2. As the gdb info file  
clearly states that it should work with gcc -O compiled stuff, I think I  
should file a bugzilla...

As a related problem, the ddd and gdb rpm's coming with YDL4 sometimes  
apparently interact badly - they complain about inaccessible memory and  
refuse to run the application to be tested. Upgrading to self-compiled  
versions of gdb 6.3 and ddd 3.3.10 fixes the problem.

Cheers, Albrecht.



-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Albrecht Dreß  -  Johanna-Kirchner-Straße 13  -  D-53123 Bonn (Germany)
       Phone (+49) 228 6199571  -  mailto:albrecht.dress at arcor.de
_________________________________________________________________________

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.terrasoftsolutions.com/pipermail/yellowdog-general/attachments/20041220/8dbb4d7d/attachment.bin


More information about the yellowdog-general mailing list