Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Miroslav Novy <mnovy@ales.cz>
To: gdb@sources.redhat.com
Subject: How to debug a 64bits application?
Date: Thu, 06 Feb 2003 14:50:00 -0000	[thread overview]
Message-ID: <3E42841B.3090602@ales.cz> (raw)

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




             reply	other threads:[~2003-02-06 14:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-06 14:50 Miroslav Novy [this message]
2003-02-06 15:42 ` Kevin Buettner
2003-02-06 15:55   ` Christian Jönsson
2003-02-06 15:58 ` Andreas Schwab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3E42841B.3090602@ales.cz \
    --to=mnovy@ales.cz \
    --cc=gdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox