From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2373 invoked by alias); 30 Mar 2007 22:42:36 -0000 Received: (qmail 2353 invoked by uid 22791); 30 Mar 2007 22:42:35 -0000 X-Spam-Check-By: sourceware.org Received: from sibelius.xs4all.nl (HELO brahms.sibelius.xs4all.nl) (82.92.89.47) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 30 Mar 2007 23:42:30 +0100 Received: from brahms.sibelius.xs4all.nl (kettenis@localhost.sibelius.xs4all.nl [127.0.0.1]) by brahms.sibelius.xs4all.nl (8.14.0/8.14.0) with ESMTP id l2UMgQ5g026647; Sat, 31 Mar 2007 00:42:26 +0200 (CEST) Received: (from kettenis@localhost) by brahms.sibelius.xs4all.nl (8.14.0/8.14.0/Submit) id l2UMgPcc025150; Sat, 31 Mar 2007 00:42:25 +0200 (CEST) Date: Fri, 30 Mar 2007 22:42:00 -0000 Message-Id: <200703302242.l2UMgPcc025150@brahms.sibelius.xs4all.nl> From: Mark Kettenis To: alexjb@transitive.com CC: gdb@sourceware.org In-reply-to: <1174938072.27206.99.camel@okra.transitives.com> (message from Alex Bennee on Mon, 26 Mar 2007 20:41:10 +0100) Subject: Re: Debugging 64bit x86 programs on Solaris References: <1174937257.27206.97.camel@okra.transitives.com> <1174938072.27206.99.camel@okra.transitives.com> Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-03/txt/msg00346.txt.bz2 > X-Spam-Check-By: sourceware.org > From: Alex Bennee > Date: Mon, 26 Mar 2007 20:41:10 +0100 > Mailing-List: contact gdb-help@sourceware.org; run by ezmlm > Sender: gdb-owner@sourceware.org > X-UTwente-MailScanner-Information: Scanned by MailScanner. Contact helpdesk@ITBE.utwente.nl for more information. > X-UTwente-MailScanner: Found to be clean > X-UTwente-MailScanner-From: gdb-return-28238-m.m.kettenis=alumnus.utwente.nl@sourceware.org > X-Spam-Status: No > X-XS4ALL-DNSBL-Checked: mxdrop34.xs4all.nl checked 130.89.2.13 against DNS blacklists > X-Virus-Scanned: by XS4ALL Virus Scanner > X-XS4ALL-Spam-Score: -2.0 () DK_POLICY_SIGNSOME,RCVD_IN_NLWHITE > X-XS4ALL-Spam: NO > Envelope-To: mark.kettenis@xs4all.nl > X-UIDL: 1174938103._smtp.mxdrop34.16308,S=3049 > > On Mon, 2007-03-26 at 20:27 +0100, Alex Bennee wrote: > > Hi, > > > > Is 64 bit debugging on x86 Solaris broken? I've built the latest gdb > > from CVS but it seems to have real trouble with 64bit programs or > > reading core files: > > Just found it defaults to compiling a 32 bit app. Maybe the autoconf > magic should default to 64bit for Solaris/x86? We cannot do that; there are 32-bit Solaris/x86 systems out there. That said, in principle it should be possible to support debugging 64-bit executables with a 32-bit GDB on Solaris (which isn't possible on Linux). This might need some changes in the code though. Mark