This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Debugging 64bit x86 programs on Solaris


> X-Spam-Check-By: sourceware.org
> From: Alex Bennee <alexjb@transitive.com>
> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]