List Info

Thread: early buf termination




early buf termination
user name
2007-07-08 21:56:21
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.twacm.org

Re: early buf termination
country flaguser name
United States
2007-07-09 06:42:49
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

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )