gdb/2188: gdb 6.5 -- internal error with "-var-update *" command

Clement Chu clement.chu@infotech.monash.edu.au
Thu Jan 11 11:48:00 GMT 2007


The following reply was made to PR gdb/2188; it has been noted by GNATS.

From: Clement Chu <clement.chu@infotech.monash.edu.au>
To: Daniel Jacobowitz <drow@false.org>
Cc: gdb-gnats@sources.redhat.com, g.watson@computer.org
Subject: Re: gdb/2188: gdb 6.5 -- internal error with "-var-update *" command
Date: Thu, 11 Jan 2007 22:42:44 +1100

 Hi Daniel,
 
     Thanks for your reply.  If you suggest this problem is related to 
 gcc, would you tell me what version of gcc are you using?  My version is 
 gcc (GCC) 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5).
 
 Regards,
 Clement
 
 Daniel Jacobowitz wrote:
 > On Wed, Nov 22, 2006 at 01:59:02AM +1100, Clement Chu wrote:
 >   
 >> Hi Daniel,
 >>
 >>    The following is the message from gdb.  You can see my step and the 
 >> error message.  Please find the attached file.
 >>     
 >
 > This is caused by a bug in GCC.  The debug information claims the
 > variables are at 0(%ecx) and 4(%ecx) due to the stack realignment code
 > added to the beginning of main (not added to any other functions, just
 > main).
 >
 > As for the failure, I do not get an internal error on either gdb 6.5 or
 > gdb from CVS.  Please try building CVS.  I know that the code where you
 > are encountering an assertion was recently improved.
 >
 >   
 



More information about the Gdb-prs mailing list