gdb/2034: gdb does not compile with gcc-4.0

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

gdb/2034: gdb does not compile with gcc-4.0

Steven Scholz

>Number:         2034
>Category:       gdb
>Synopsis:       gdb does not compile with gcc-4.0
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 16 14:08:01 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     [hidden email]
>Release:        gdb-6.3
>Organization:
>Environment:
gcc (GCC) 4.0.2 20050901 (prerelease) (SUSE Linux)
SuSE 10.0
>Description:
gdb does not compile with gcc-4.0.
GCC 4 is picky about "lvalue in assignment".

For instance:

gdb-6.3/sim/arm/iwmmxt.c: In function 'WMAC': gdb-6.3/sim/arm/iwmmxt.c:2117: error: invalid lvalue in assignment gdb-6.3/sim/arm/iwmmxt.c:2133: error: invalid lvalue in assignment

Thanks,

Steven

>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
Reply | Threaded
Open this post in threaded view
|

Re: gdb/2034: gdb does not compile with gcc-4.0

Daniel Jacobowitz-2
The following reply was made to PR gdb/2034; it has been noted by GNATS.

From: Daniel Jacobowitz <[hidden email]>
To: [hidden email]
Cc: [hidden email]
Subject: Re: gdb/2034: gdb does not compile with gcc-4.0
Date: Wed, 16 Nov 2005 16:32:57 -0500

 On Wed, Nov 16, 2005 at 01:59:37PM -0000, [hidden email] wrote:
 > gdb does not compile with gcc-4.0.
 > GCC 4 is picky about "lvalue in assignment".
 >
 > For instance:
 >
 > gdb-6.3/sim/arm/iwmmxt.c: In function 'WMAC': gdb-6.3/sim/arm/iwmmxt.c:2117: error: invalid lvalue in assignment gdb-6.3/sim/arm/iwmmxt.c:2133: error: invalid lvalue in assignment
 
 This is fixed in GDB 6.4, to be released soon.  There will not be
 another release of GDB 6.3.
 
 --
 Daniel Jacobowitz
 CodeSourcery, LLC
Reply | Threaded
Open this post in threaded view
|

Re: gdb/2034: gdb does not compile with gcc-4.0

Steven Scholz
In reply to this post by Steven Scholz
The following reply was made to PR gdb/2034; it has been noted by GNATS.

From: Steven Scholz <[hidden email]>
To: Daniel Jacobowitz <[hidden email]>
Cc: [hidden email]
Subject: Re: gdb/2034: gdb does not compile with gcc-4.0
Date: Thu, 17 Nov 2005 08:58:41 +0100

 Daniel Jacobowitz wrote:
 > On Wed, Nov 16, 2005 at 01:59:37PM -0000, [hidden email] wrote:
 >
 >>gdb does not compile with gcc-4.0.
 >>GCC 4 is picky about "lvalue in assignment".
 >>
 >>For instance:
 >>
 >>gdb-6.3/sim/arm/iwmmxt.c: In function 'WMAC': gdb-6.3/sim/arm/iwmmxt.c:2117: error: invalid lvalue in assignment gdb-6.3/sim/arm/iwmmxt.c:2133: error: invalid lvalue in assignment
 >
 
 Thanks for your reply!
 
 
 > This is fixed in GDB 6.4, to be released soon.  There will not be
 > another release of GDB 6.3.
 
 Are these changes in the current CVS?
 
 --
 Steven
Reply | Threaded
Open this post in threaded view
|

Re: gdb/2034: gdb does not compile with gcc-4.0

Daniel Jacobowitz-2
In reply to this post by Steven Scholz
The following reply was made to PR gdb/2034; it has been noted by GNATS.

From: Daniel Jacobowitz <[hidden email]>
To: Steven Scholz <[hidden email]>
Cc: [hidden email]
Subject: Re: gdb/2034: gdb does not compile with gcc-4.0
Date: Sat, 19 Nov 2005 01:39:02 -0500

 On Thu, Nov 17, 2005 at 08:58:41AM +0100, Steven Scholz wrote:
 > Daniel Jacobowitz wrote:
 > > On Wed, Nov 16, 2005 at 01:59:37PM -0000, [hidden email] wrote:
 > >
 > >>gdb does not compile with gcc-4.0.
 > >>GCC 4 is picky about "lvalue in assignment".
 > >>
 > >>For instance:
 > >>
 > >>gdb-6.3/sim/arm/iwmmxt.c: In function 'WMAC': gdb-6.3/sim/arm/iwmmxt.c:2117: error: invalid lvalue in assignment gdb-6.3/sim/arm/iwmmxt.c:2133: error: invalid lvalue in assignment
 > >
 >
 > Thanks for your reply!
 >
 >
 > > This is fixed in GDB 6.4, to be released soon.  There will not be
 > > another release of GDB 6.3.
 >
 > Are these changes in the current CVS?
 
 Yes, they are (both HEAD and 6.4 branch).
 
 --
 Daniel Jacobowitz
 CodeSourcery, LLC