From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5500 invoked by alias); 7 Jun 2006 19:07:14 -0000 Received: (qmail 5392 invoked by uid 22791); 7 Jun 2006 19:07:13 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Wed, 07 Jun 2006 19:07:09 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1Fo3Mx-0004P9-Gy; Wed, 07 Jun 2006 15:07:07 -0400 Date: Wed, 07 Jun 2006 20:47:00 -0000 From: Daniel Jacobowitz To: Mitchell Fang Cc: gdb@sourceware.org Subject: Re: Remote monitor 'qCmd' command response Message-ID: <20060607190707.GB16788@nevyn.them.org> Mail-Followup-To: Mitchell Fang , gdb@sourceware.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.11+cvs20060403 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-06/txt/msg00045.txt.bz2 On Wed, Jun 07, 2006 at 12:01:41PM -0700, Mitchell Fang wrote: > What happens right now is that I send 'OLoading...' and then gdb > doesn't accept the other responses cause it thinks its the final > result packet. > > Here's what is shows on the console: > > (gdb) monitor load > 0Loading... > (gdb) > > Here is the log: > > w $qRcmd,6c6f61642062696e203838382e62696e#a9 > r + > w - > r > w - > r $4f4c6f6164696e672e2e2e0a#6b > w + That's not "OLoading...". The _data_ for the packet is supposed to be hex escaped, not the packet itself. It should start with an "O". -- Daniel Jacobowitz CodeSourcery