This is the mail archive of the gdb-prs@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: gdb/2347: gdb 6.7 can't attach to process


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


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