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

Daniel Jacobowitz
Thu Jan 11 02:08:00 GMT 2007

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

From: Daniel Jacobowitz <>
To: Clement Chu <>
Subject: Re: gdb/2188: gdb 6.5 -- internal error with "-var-update *" command
Date: Wed, 10 Jan 2007 21:00:33 -0500

 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
 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.
 Daniel Jacobowitz

More information about the Gdb-prs mailing list