How to debug a 64bits application?
Andreas Schwab
schwab@suse.de
Thu Feb 6 15:58:00 GMT 2003
Miroslav Novy <mnovy@ales.cz> writes:
|> I used gcc 3.2.1 (downloaded as a package from Sun freeware) with parameter -m64 (generated
|> code for 64-bit environment) on OS Solaris 2.8 on UltraSPARC-IIe cpu (SunBlade 150) and I can't
|> debug it.
|>
|> Example:
|>
|> #include <stdio.h>
|>
|> int main (int argc, char *argv[])
|> {
|> printf ("program: %s\n", argv[0]);
|>
|> return 1;
|> }
|>
|> bash-2.03$ gcc -g -m64 -Wall foo.c -o foo
|>
|> bash-2.03$ ./foo
|> program: ./foo
|>
|> bash-2.03$ gdb foo
|> GNU gdb 5.0
Your gdb is too old. Please upgrade.
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 Gdb
mailing list