This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gdb-stub question (m packets)



On Tue, 23 Jul 2002, 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...

You have to use lower case for number strings.


>
> Thanks
> Regards -- Alexei
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Health - Feel better, live better
> http://health.yahoo.com
>

Thanks,

Aleksey



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]