[SH] PATCH: Define the register groups

Andrew STUBBS andrew.stubbs@st.com
Fri Oct 28 18:03:00 GMT 2005


Hi all,

The SH port does not currently define any register groups. Instead, it 
just relies on the default in reggroup.c. This is not quite adequate as 
it is not always clear from the type where a register should naturally 
sit. In particular the 'fv' vector registers are classified as general, 
not float or vector.

The attached patch adds a function to do the register classification.

It does not know about all the registers of sh2a or any of the dsp 
variants (because I don't), but should not make the situation any worse 
for those.

Andrew Stubbs
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: sh_regroups.patch
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20051028/60f92757/attachment.ksh>


More information about the Gdb-patches mailing list