From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12711 invoked by alias); 7 Jun 2006 20:47:33 -0000 Received: (qmail 12686 invoked by uid 22791); 7 Jun 2006 20:47:30 -0000 X-Spam-Check-By: sourceware.org Received: from wx-out-0102.google.com (HELO wx-out-0102.google.com) (66.249.82.205) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 07 Jun 2006 20:47:27 +0000 Received: by wx-out-0102.google.com with SMTP id s7so207669wxc for ; Wed, 07 Jun 2006 13:47:22 -0700 (PDT) Received: by 10.70.25.1 with SMTP id 1mr1188197wxy; Wed, 07 Jun 2006 13:47:21 -0700 (PDT) Received: by 10.70.42.9 with HTTP; Wed, 7 Jun 2006 13:47:21 -0700 (PDT) Message-ID: Date: Wed, 07 Jun 2006 22:52:00 -0000 From: "Mitchell Fang" To: gdb@sourceware.org Subject: Re: Remote monitor 'qCmd' command response In-Reply-To: <20060607190707.GB16788@nevyn.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20060607190707.GB16788@nevyn.them.org> 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/msg00046.txt.bz2 Aye...silly me. I don't know why I was so so intent on encoding the O. Thanks for the help Daniel. For future reference here's the correct response: View for log: c monitor load bin 888.bin w $qRcmd,6c6f61642062696e203838382e62696e#a9 r +$O4c6f6164696e672e2e2e0a#20 now it responds "Loading..." On 6/7/06, Daniel Jacobowitz wrote: > 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 >