This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: arm-elf: wrong size for "long long" - types
- From: Andreas Schwab <schwab at suse dot de>
- To: Bernd Geiser <bernd at berndgeiser dot de>
- Cc: <gcc-bugs at gcc dot gnu dot org>
- Date: Mon, 27 Oct 2003 16:57:11 +0100
- Subject: Re: arm-elf: wrong size for "long long" - types
- References: <Pine.LNX.4.33.0310271648450.4018-100000@kackfaass.local>
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."