From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15608 invoked by alias); 25 Oct 2007 19:08:02 -0000 Received: (qmail 15584 invoked by uid 71); 25 Oct 2007 19:08:01 -0000 Date: Thu, 25 Oct 2007 19:08:00 -0000 Message-ID: <20071025190801.15583.qmail@sourceware.org> To: nobody@sources.redhat.com Cc: gdb-prs@sources.redhat.com, From: Daniel Jacobowitz Subject: Re: gdb/2347: gdb 6.7 can't attach to process Reply-To: Daniel Jacobowitz Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org X-SW-Source: 2007-q4/txt/msg00085.txt.bz2 The following reply was made to PR gdb/2347; it has been noted by GNATS. From: Daniel Jacobowitz 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