arm-elf: wrong size for "long long" - types

Andreas Schwab schwab@suse.de
Mon Oct 27 16:21:00 GMT 2003


Bernd Geiser <bernd@berndgeiser.de> writes:

> Hi.
> When compiling a program with a "long long" variable for an arm-elf target
> with gcc 3.3, I can't print these with gdb 5.3.
> A quick look at the stabs shows this:
>
> 	.stabs	"long long int:t(0,6)=r(0,6);0;-1;",128,0,0,0
>
> So, no size info or a value range is given. Putting sth. like
>
> 	.stabs	"long long int:t(0,6)=r(0,6);
>
> 001000000000000000000000;000777777777777777777777;",
> 			128,0,0,0
>
> by hand into the assembly file works, however.

Try compiling with "-gstabs+".

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Gcc-bugs mailing list