From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32502 invoked by alias); 6 Feb 2003 15:58:54 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 32492 invoked from network); 6 Feb 2003 15:58:54 -0000 Received: from unknown (HELO Cantor.suse.de) (213.95.15.193) by 172.16.49.205 with SMTP; 6 Feb 2003 15:58:54 -0000 Received: from Hermes.suse.de (Hermes.suse.de [213.95.15.136]) by Cantor.suse.de (Postfix) with ESMTP id 530C2146DF; Thu, 6 Feb 2003 16:58:53 +0100 (MET) To: Miroslav Novy Cc: gdb@sources.redhat.com Subject: Re: How to debug a 64bits application? X-Yow: Yow! Are we in the perfect mood? From: Andreas Schwab Date: Thu, 06 Feb 2003 15:58:00 -0000 In-Reply-To: <3E42841B.3090602@ales.cz> (Miroslav Novy's message of "Thu, 06 Feb 2003 15:49:47 +0000") Message-ID: User-Agent: Gnus/5.090014 (Oort Gnus v0.14) Emacs/21.3.50 (ia64-suse-linux) References: <3E42841B.3090602@ales.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-SW-Source: 2003-02/txt/msg00130.txt.bz2 Miroslav Novy 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 |> |> 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."