This is the mail archive of the gdb-patches@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: [RFC/patch 5.1] change NUM_REALREGS to NUM_REGS



Elena,

> You should also eliminate the definitions of the NUM_REALREGS macro.
> 

Certainly. I already remove NUM_REALREGS in h8300 part, but since
multiarching 
in progress, I send this changes with first version of multiarching h8300. 

> One definition of that macro is in config/h8300/tm-h8300.h (defined to
> 10). Hmm, h8300-tdep.c defines NUM_REGS to 11, instead. Oh, 
> and look(!)
> config/tm-h8300.h defines NUM_REGS to 13.

Yea, and h8300-simulator using self regnums :).

> 
> You also compile remote-e7000.c when the target triplet is one of
> sh-*-hms, sh-*-coff*, sh-*-elf*, sh-*-linux*. The definition of
> NUM_REALREGS then comes from config/sh/tm-sh.h (in this case is 59).
> 

Therefore I send copy to you personally, as maintaner of SH. Could you
remove 
this obsolete definition from tm-sh.h?


Anrey Volkov


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