From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1280 invoked by alias); 27 Sep 2007 09:58:38 -0000 Received: (qmail 1269 invoked by uid 22791); 27 Sep 2007 09:58:37 -0000 X-Spam-Check-By: sourceware.org Received: from dmz.mips-uk.com (HELO dmz.mips-uk.com) (194.74.144.194) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 27 Sep 2007 09:58:34 +0000 Received: from internal-mx1 ([192.168.192.240] helo=ukservices1.mips.com) by dmz.mips-uk.com with esmtp (Exim 3.35 #1 (Debian)) id 1Iaq8b-0007pL-00; Thu, 27 Sep 2007 10:58:29 +0100 Received: from perivale.mips.com ([192.168.192.200]) by ukservices1.mips.com with esmtp (Exim 3.36 #1 (Debian)) id 1Iaq8T-0003A6-00; Thu, 27 Sep 2007 10:58:21 +0100 Received: from macro (helo=localhost) by perivale.mips.com with local-esmtp (Exim 4.63) (envelope-from ) id 1Iaq8T-00074C-R5; Thu, 27 Sep 2007 10:58:21 +0100 Date: Thu, 27 Sep 2007 09:58:00 -0000 From: "Maciej W. Rozycki" To: Daniel Jacobowitz cc: gdb-patches@sourceware.org, "Maciej W. Rozycki" Subject: Re: hbreak.exp: Test hardware breakpoints In-Reply-To: <20070926155114.GA1306@caradoc.them.org> Message-ID: References: <20070921230133.GB28500@caradoc.them.org> <20070924113241.GA7618@caradoc.them.org> <20070926142137.GA29702@caradoc.them.org> <4053daab0709260729r4a419defs5f95d4b84c44bcc3@mail.gmail.com> <20070926155114.GA1306@caradoc.them.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-MIPS-Technologies-UK-MailScanner: Found to be clean X-MIPS-Technologies-UK-MailScanner-From: macro@mips.com Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-09/txt/msg00402.txt.bz2 On Wed, 26 Sep 2007, Daniel Jacobowitz wrote: > > Continuing. > > Couldn't write debug register: No such process. > > (gdb) FAIL: gdb.base/hbreak.exp: run until function breakpoint > > Sorry, I forgot to warn you about this :-( You can't use a native > i686-linux debugger to do this test, because the i686 native debugger > defines target_insert_watchpoint et cetera; that message is coming > from GDB trying to use ptrace, even though it's connected to target > remote. Which is obviously a bug -- you should be able to debug a remote i386-linux-gnu target with an i386-linux-gnu host using an i386-linux-gnu native debugger if the "target remote" command is at all available, shouldn't you? > I'll build a cross debugger and give it a try tonight. Thanks. Maciej