From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25141 invoked by alias); 19 Nov 2007 14:18:02 -0000 Received: (qmail 25132 invoked by uid 22791); 19 Nov 2007 14:18:01 -0000 X-Spam-Check-By: sourceware.org Received: from bluesmobile.specifix.com (HELO bluesmobile.specifix.com) (216.129.118.140) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 19 Nov 2007 14:17:59 +0000 Received: from [127.0.0.1] (bluesmobile.specifix.com [216.129.118.140]) by bluesmobile.specifix.com (Postfix) with ESMTP id C5D023BD21; Mon, 19 Nov 2007 05:58:02 -0800 (PST) Subject: Re: Single Step command From: Michael Snyder To: Guillaume MENANT Cc: gdb@sourceware.org In-Reply-To: <474195FA.1000605@geensys.com> References: <474195FA.1000605@geensys.com> Content-Type: text/plain Date: Mon, 19 Nov 2007 14:18:00 -0000 Message-Id: <1195481244.23780.4.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 (2.10.3-4.fc7) Content-Transfer-Encoding: 7bit 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: 2007-11/txt/msg00187.txt.bz2 On Mon, 2007-11-19 at 14:56 +0100, Guillaume MENANT wrote: > 2 - What is the reply for an "s" (Single Step) command for an error ? I > haven't seen a "E" reply in the Stop Reply Packets. The final authority is the code. remote.c/remote_wait: switch (buf[0]) { case 'E': /* Error of some sort. */ warning (_("Remote failure reply: %s"), buf); continue; The norm for an error reply is "Exy" where x and y are decimal digits. gdb does not really pay attention to the value in most cases (including this one).