Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* How to debug a 64bits application?
@ 2003-02-06 14:50 Miroslav Novy
  2003-02-06 15:42 ` Kevin Buettner
  2003-02-06 15:58 ` Andreas Schwab
  0 siblings, 2 replies; 4+ messages in thread
From: Miroslav Novy @ 2003-02-06 14:50 UTC (permalink / raw)
  To: gdb

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
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.
(gdb) r
Starting program: /Users/mnovy/work/Testy/compute2/foo
procfs:4036 -- process not stopped.
procfs: ...giving up...

						Thank you very much for the help

												Mira




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-02-06 15:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-06 14:50 How to debug a 64bits application? Miroslav Novy
2003-02-06 15:42 ` Kevin Buettner
2003-02-06 15:55   ` Christian Jönsson
2003-02-06 15:58 ` Andreas Schwab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox