Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Wenbo Yang <wenbo.yang@simplnano.com>
To: dave.tw@gmail.com
Cc: gdb@sourceware.org
Subject: Re: early buf termination
Date: Mon, 09 Jul 2007 05:19:00 -0000	[thread overview]
Message-ID: <4691C53B.8070903@simplnano.com> (raw)
In-Reply-To: <1183949787.19182.ezmlm@sourceware.org>

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


       reply	other threads:[~2007-07-09  5:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1183949787.19182.ezmlm@sourceware.org>
2007-07-09  5:19 ` Wenbo Yang [this message]
2007-07-11  7:50   ` RSP handling Wenbo Yang
2007-07-11 19:11     ` Jim Blandy
2007-07-09  2:56 early buf termination s88
2007-07-09 11:42 ` Daniel Jacobowitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4691C53B.8070903@simplnano.com \
    --to=wenbo.yang@simplnano.com \
    --cc=dave.tw@gmail.com \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox