* early buf termination
@ 2007-07-09 2:56 s88
2007-07-09 11:42 ` Daniel Jacobowitz
0 siblings, 1 reply; 3+ messages in thread
From: s88 @ 2007-07-09 2:56 UTC (permalink / raw)
To: gdb
Hi all:
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.
Does anyone know the meaning of the "early buf termination"?
thanx!!
Dave.
--
System on Chip Design Lab.
Dept. of Computer Science and Information Engineering,
National Chung Cheng University
E-mail : s88.tw@acm.org
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: early buf termination
2007-07-09 2:56 early buf termination s88
@ 2007-07-09 11:42 ` Daniel Jacobowitz
0 siblings, 0 replies; 3+ messages in thread
From: Daniel Jacobowitz @ 2007-07-09 11:42 UTC (permalink / raw)
To: s88; +Cc: gdb
On Mon, Jul 09, 2007 at 10:56:21AM +0800, s88 wrote:
> 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.
"Each byte of data is described by two hex digits." It's bytes of
data, not a number; you need the full width of the register.
--
Daniel Jacobowitz
CodeSourcery
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: early buf termination
[not found] <1183949787.19182.ezmlm@sourceware.org>
@ 2007-07-09 5:19 ` Wenbo Yang
0 siblings, 0 replies; 3+ messages in thread
From: Wenbo Yang @ 2007-07-09 5:19 UTC (permalink / raw)
To: dave.tw; +Cc: gdb
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-07-09 11:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-09 2:56 early buf termination s88
2007-07-09 11:42 ` Daniel Jacobowitz
[not found] <1183949787.19182.ezmlm@sourceware.org>
2007-07-09 5:19 ` Wenbo Yang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox