This is the mail archive of the gdb-patches@sourceware.org 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]

[RFC] h8300 "info registers" fix


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>

Attachment: h8300-tdep.diff
Description: Binary data


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