This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]