From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13285 invoked by alias); 18 Dec 2002 17:59:50 -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 13243 invoked from network); 18 Dec 2002 17:59:48 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by 209.249.29.67 with SMTP; 18 Dec 2002 17:59:48 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id gBIHXNg22053 for ; Wed, 18 Dec 2002 12:33:23 -0500 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id gBIHxa202862; Wed, 18 Dec 2002 12:59:36 -0500 Received: from localhost.localdomain (vpn50-3.rdu.redhat.com [172.16.50.3]) by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id gBIHxZL10434; Wed, 18 Dec 2002 12:59:36 -0500 Received: (from kev@localhost) by localhost.localdomain (8.11.6/8.11.6) id gBIHxQN07344; Wed, 18 Dec 2002 10:59:26 -0700 Date: Wed, 18 Dec 2002 09:59:00 -0000 From: Kevin Buettner Message-Id: <1021218175925.ZM7343@localhost.localdomain> In-Reply-To: "Hillel (Sabba) Markowitz" "64-bit debug on Solaris" (Dec 17, 10:45am) References: <3E17A2DC@webmail.bcpl.net> To: "Hillel (Sabba) Markowitz" , gdb@sources.redhat.com Subject: Re: 64-bit debug on Solaris MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-12/txt/msg00276.txt.bz2 On Dec 17, 10:45am, Hillel (Sabba) Markowitz wrote: > I am attempting to debug a program compiled in 64 bit mode using gcc on > Solaris 7 or Solaris 8. Any sample program can be used such as a "hellow > world". > > gcc -m64 -g testit.c -o testit > > gdb testit > > break "testit.c":43 > run > procfs:4235 -- process not stopped > procfs: ...giving up > > The same program compiled in 32 bit mode debugs properly. Has gdb itself been built in 64-bit mode? As I recall, this is necessary in order to debug 64-bit programs. Kevin