Re: gdb for 64 bit intel solaris 10?

Mark Kettenis
2005-11-07T21:37:39Z

> Date: Mon, 7 Nov 2005 15:58:48 -0500
> From: Daniel Jacobowitz <drow@false.org>
>
> On Mon, Nov 07, 2005 at 03:53:31PM -0500, Mark Woollard wrote:
> > Am trying to get gdb configured and built for intel solaris 10 to
> > work on 64 bit images but am not getting anywhere. Is this a
> > supported platform?
>
> No, nobody has expressed interest in porting GDB to this platform yet
> as far as I know.

On the contrary. Support for Solaris 10 x86, including support for
debugging 64-bit applications was contributed some time ago, and will
be in GDB 6.4. Incidentally now would be a good time to check whether
it works correctly. You can grab a snapshot at:

ftp://sources.redhat.com/pub/gdb/snapshots/current/gdb-6.3.50.20051107.tar.bz2

Please make sure that you configure and build it using a 64-bit
compiler. Setting:

$ export CC="gcc -m64"

before running configure should do the trick.

Mark