This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
Re: gdb/2347: gdb 6.7 can't attach to process
- From: Daniel Jacobowitz <drow at false dot org>
- To: nobody at sources dot redhat dot com
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 25 Oct 2007 19:08:01 -0000
- Subject: Re: gdb/2347: gdb 6.7 can't attach to process
- Reply-to: Daniel Jacobowitz <drow at false dot org>
The following reply was made to PR gdb/2347; it has been noted by GNATS.
From: Daniel Jacobowitz <drow@false.org>
To: pdubuc@cas.org
Cc: gdb-gnats@sources.redhat.com
Subject: Re: gdb/2347: gdb 6.7 can't attach to process
Date: Thu, 25 Oct 2007 15:03:48 -0400
On Thu, Oct 25, 2007 at 06:43:37PM -0000, pdubuc@cas.org wrote:
> gdb32 --version
Item 1: A 32-bit GDB executable will not work well under your kernel.
There are kernel emulation bugs which were not fixed until later. I
do not remember exactly when, but some time around 2.6.21.
> This GDB was configured as "--host=x86_64-unknown-linux-gnu --target=i686-redhat-linux".
Item 2: That means this is a cross debugger. Don't do that if you
want something that can "run" or "attach"; just use
--host=i686-redhat-linux and --host=x86_64-redhat-linux.
That should fix it.
--
Daniel Jacobowitz
CodeSourcery