Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@suse.de>
To: Miroslav Novy <mnovy@ales.cz>
Cc: gdb@sources.redhat.com
Subject: Re: How to debug a 64bits application?
Date: Thu, 06 Feb 2003 15:58:00 -0000	[thread overview]
Message-ID: <jen0l9h03n.fsf@sykes.suse.de> (raw)
In-Reply-To: <3E42841B.3090602@ales.cz> (Miroslav Novy's message of "Thu, 06 Feb 2003 15:49:47 +0000")

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


      parent reply	other threads:[~2003-02-06 15:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-06 14:50 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 message]

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=jen0l9h03n.fsf@sykes.suse.de \
    --to=schwab@suse.de \
    --cc=gdb@sources.redhat.com \
    --cc=mnovy@ales.cz \
    /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