[PATCH]: Fix fetching 1 byte register in HC11/HC12 simulator
Stephane Carrez
stcarrez@nerim.fr
Sat Mar 1 16:04:00 GMT 2003
Hi!
I committed this patch to fix fetching 1 byte registers from gdb. I was storing them
as 2 bytes in big-endian and gdb is using only the upper value (thus always getting 0).
It didn't bless debugging (too much) because these registers never appear in debug info
(no vars allocated in them).
Stephane
2003-03-01 Stephane Carrez <stcarrez@nerim.fr>
* interp.c (sim_fetch_register): Only store a single byte for
1 byte registers.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: interp.c.diffs
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20030301/d915fc34/attachment.ksh>
More information about the Gdb-patches
mailing list