[RFC] h8300 "info registers" fix

Yoshinori Sato ysato@users.sourceforge.jp
Tue Sep 12 15:05:00 GMT 2006


A result of ccr and exr mistakes by a "info registers" of h8300 target.
There was two faults.

- A name of E_CCR_REGNUM is not defined with h8300_register_name.
  Accordingly regcache_raw_read of h8300_pseudo_regitser_read fails.
- Assume size of E_PSEUDO_CCR_REGNUM by 1 byte with h8300_register_type.
  But assume 4 bytes from a remote target.
  Accordingly cannot take response of remote side to be really.

I correct an issue of a thing of the patch box which I attached.
The issue was corrected, but not know you whether this is good technique.

-- 
Yoshinori Sato
<ysato@users.sourceforge.jp>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: h8300-tdep.diff
Type: application/octet-stream
Size: 2248 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20060912/a42befe6/attachment.obj>


More information about the Gdb-patches mailing list