From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32526 invoked by alias); 9 Jun 2008 18:43:32 -0000 Received: (qmail 32518 invoked by uid 22791); 9 Jun 2008 18:43:32 -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; Mon, 09 Jun 2008 18:43:13 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 4995C98402; Mon, 9 Jun 2008 18:43:11 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 2DA2D98401; Mon, 9 Jun 2008 18:43:11 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1K5mKk-0000Mu-3u; Mon, 09 Jun 2008 14:43:10 -0400 Date: Mon, 09 Jun 2008 19:12:00 -0000 From: Daniel Jacobowitz To: Doug Evans Cc: gdb-patches@sourceware.org Subject: Re: [RFA] fix minor bug in malformed packet error message Message-ID: <20080609184310.GA1378@caradoc.them.org> Mail-Followup-To: Doug Evans , gdb-patches@sourceware.org References: <20080609183337.91FDE1C7640@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080609183337.91FDE1C7640@localhost> User-Agent: Mutt/1.5.17 (2008-05-11) X-IsSubscribed: yes 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: 2008-06/txt/msg00169.txt.bz2 On Mon, Jun 09, 2008 at 11:33:37AM -0700, Doug Evans wrote: > This patch fixes a minor bug in malformed packet error messages. > The error message tries to print the start of where things go bad, > but due to the `*p++ != mumble' test the ++ causes the first character > character to be missed. > > ok to check in? > > 2008-06-09 Doug Evans > > * remote.c (remote_wait): Include beginning of malformed packet > in error output. OK, thanks. -- Daniel Jacobowitz CodeSourcery