This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: linux 64bits support
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: denis dot pilat at st dot com
- Cc: gdb at sourceware dot org
- Date: Sat, 12 Aug 2006 13:39:11 +0200 (CEST)
- Subject: Re: linux 64bits support
- References: <44D9FD1E.9020809@st.com>
> Date: Wed, 09 Aug 2006 17:19:58 +0200
> From: Denis PILAT <denis.pilat@st.com>
>
> Hi guys,
>
> Is 64bits native linux target supported with gdb6.5 ?
It sure is.
> I get a lot of error in gdb.base testsuite.
You probably are using a Linux distribution that has a 64-bit kernel,
but 32-bit userland, where the toolchain produces 32-bit binaries by
default. Whack away your build tree and start afresh, configuring
with CFLAGS=-m64.
It's a real mess since there are other 64-bit Linux distributions that
do have a fully 64-bit userland, yet the canonical for both variants
is the same :(.
Mark