gdb and invalid lvalue in assignment
Michael N. Moran
mike@mnmoran.org
Wed Nov 16 14:03:00 GMT 2005
Steven Scholz wrote:
> Hi all,
>
> I am trying to build a arm cross tool chain on a SuSE 10.0 system.
>
> Host gcc is gcc (GCC) 4.0.2 20050901
>
> Building the gdb bails out with:
>
> /opt/sandkasten/crosstool-0.38/build/arm-softfloat-linux-gnu/gcc-3.4.4-glibc-2.3.5-linux-2.6.12/gdb-6.3/sim/arm/iwmmxt.c:
> In function 'WMAC':
> /opt/sandkasten/crosstool-0.38/build/arm-softfloat-linux-gnu/gcc-3.4.4-glibc-2.3.5-linux-2.6.12/gdb-6.3/sim/arm/iwmmxt.c:2117:
> error: invalid lvalue in assignment
> /opt/sandkasten/crosstool-0.38/build/arm-softfloat-linux-gnu/gcc-3.4.4-glibc-2.3.5-linux-2.6.12/gdb-6.3/sim/arm/iwmmxt.c:2133:
> error: invalid lvalue in assignment
>
> Are there any patches for the gdb to fix that?
Not that I am aware of, however, you should report this to
the GDB people:
http://sources.redhat.com/cgi-bin/gnatsweb.pl
As you probably know, this is a problem with the GDB
source code exposed by GCC 4.0.x adhearing more strictly
to languge standards.
Not that I understand the issue enough to fix the
iwmmxt.c file myself. As I'm not sure what is intended,
having never used lvalues on the lhs (left-hand-side) of
an expresssion. But since I lurk on the gcc development
mailing list, I have seen discussion related
to this issue over the last several months.
--
Michael N. Moran (h) 770 516 7918
5009 Old Field Ct. (c) 678 521 5460
Kennesaw, GA, USA 30144 http://mnmoran.org
"So often times it happens, that we live our lives in chains
and we never even know we have the key."
The Eagles, "Already Gone"
The Beatles were wrong: 1 & 1 & 1 is 1
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list