This is the mail archive of the
mailing list for the GDB project.
How to debug a 64bits application?
- From: Miroslav Novy <mnovy at ales dot cz>
- To: gdb at sources dot redhat dot com
- Date: Thu, 06 Feb 2003 15:49:47 +0000
- Subject: How to debug a 64bits application?
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
int main (int argc, char *argv)
printf ("program: %s\n", argv);
bash-2.03$ gcc -g -m64 -Wall foo.c -o foo
bash-2.03$ gdb foo
GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.8"...Dwarf Error: Cannot handle DW_FORM _strp in DWARF reader.
Starting program: /Users/mnovy/work/Testy/compute2/foo
procfs:4036 -- process not stopped.
procfs: ...giving up...
Thank you very much for the help