From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32005 invoked by alias); 9 Jul 2007 05:19:06 -0000 Received: (qmail 31995 invoked by uid 22791); 9 Jul 2007 05:19:06 -0000 X-Spam-Check-By: sourceware.org Received: from smtp108.biz.mail.mud.yahoo.com (HELO smtp108.biz.mail.mud.yahoo.com) (68.142.201.177) by sourceware.org (qpsmtpd/0.31) with SMTP; Mon, 09 Jul 2007 05:19:03 +0000 Received: (qmail 72636 invoked from network); 9 Jul 2007 05:19:02 -0000 Received: from unknown (HELO ?192.168.1.132?) (wenbo.yang@simplnano.com@211.101.21.42 with plain) by smtp108.biz.mail.mud.yahoo.com with SMTP; 9 Jul 2007 05:19:01 -0000 X-YMail-OSG: oqzKy54VM1miTS.yII3IGzB3ixpCTEFvMzNK.qwtGsUF6tp3TGRhdUoVtnDw3hCIRQQ5BhxCEBPWx2j3bKiEv.c0aOVJ7CIrx48bYSwz8Y1bmCE7m7Fqm2A- Message-ID: <4691C53B.8070903@simplnano.com> Date: Mon, 09 Jul 2007 05:19:00 -0000 From: Wenbo Yang User-Agent: Thunderbird 1.5.0.12 (X11/20070604) MIME-Version: 1.0 To: dave.tw@gmail.com CC: gdb@sourceware.org Subject: Re: early buf termination References: <1183949787.19182.ezmlm@sourceware.org> In-Reply-To: <1183949787.19182.ezmlm@sourceware.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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-07/txt/msg00059.txt.bz2 s88 wrote: > I'm implementing a gdb stub for my ARM simulator with TCP connection. > As I query the registers information from gdb, I got > "fetch_register_using_p: early buf termination" msg. > > (gdb) info registers > r0 fetch_register_using_p: early buf termination > (gdb) > > the gdb client send the packet which contains "$p0#a0" to my gdb server. > The gdb server reply 0 (should be $0#something) to the gdb client. You can read remote.c:3419 for more information. I think the meaning is: unexpected message end. It should be more characters but your message terminated. You should give GDB the standard RSP response. Regards, Wenbo -- Wenbo Yang The State Key Lab. of Information Security Graduate School of CAS, 19A Yuquan Road, Beijing, China Homepage: http://solrex.cn SimpLight Nanoelectronics Ltd. 6 Zhichun Road, 10th Floor, Beijing, China Phone: +86-10-5126-6989 --- Email: wenbo.yang@simplnano.com