From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12309 invoked by alias); 25 Jan 2008 14:22:35 -0000 Received: (qmail 12301 invoked by uid 22791); 25 Jan 2008 14:22:34 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 25 Jan 2008 14:22:08 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 3E0D798376; Fri, 25 Jan 2008 14:22:06 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 28AB898375; Fri, 25 Jan 2008 14:22:05 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.68) (envelope-from ) id 1JIPRU-0001jF-Em; Fri, 25 Jan 2008 09:22:04 -0500 Date: Fri, 25 Jan 2008 14:22:00 -0000 From: Daniel Jacobowitz To: Guillaume MENANT Cc: gdb@sourceware.org Subject: Re: Stop reply packet behaviour Message-ID: <20080125142204.GA6629@caradoc.them.org> Mail-Followup-To: Guillaume MENANT , gdb@sourceware.org References: <15088448.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <15088448.post@talk.nabble.com> User-Agent: Mutt/1.5.17 (2007-12-11) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-01/txt/msg00257.txt.bz2 On Fri, Jan 25, 2008 at 06:10:02AM -0800, Guillaume MENANT wrote: > > Hello, > > I'm wondering what should be the stop reply packet content when my software > breaks on a software breakpoint. > > Does the stop reply reason has to be "watch" followed by the current PC or > something else ? A breakpoint isn't a watchpoint; just report SIGTRAP. I suggest you run gdbserver on a Windows or Linux system to see a valid log of the remote protocol conversation. -- Daniel Jacobowitz CodeSourcery