Re: gdb-stub question (m packets)

Daniel Jacobowitz
2002-07-23T12:29:18Z

On Tue, Jul 23, 2002 at 01:05:36AM -0700, Alexei Minayev wrote:
> Dear gdb oracles,
>
> I'm still fighting with my gdb-h8-stub, and getting funny yet evil errors.
> The gdb happens to attempt reading a memory location. The content of the
> memory location is something that starts with 0xE, say 0xE500.
> The conversation looks kinda like this:
>
> m200042,2...Ack
> Packet received: E500
> Unable to access memory location 200042.
>
> The gdb understands the numeric hex value of 0xE500 as an error response.
> So my question would be simple... am I supposed to prefix all my numeric
> packets with "0x"? Please help, this is confusing...

GDBserver uses lowercase hex numbers. That seems to work fine.

--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer