This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: [Patch,AVR] Add xmega support


On 02/14/2012 10:52 AM, Georg-Johann Lay wrote:
> It might be easier for the compiler if crucial SFRs are not modelled by
> MEM but as REG instead, but for that change I don't know enough
> about debugging formats and impact on gdb.
> 
> Maybe Richard can comment on that?

It's almost certainly going to be easier for the compiler to model
the cpu internal registers as registers.  The fact that they're 
actually accessed via memory-map is implementation detail that
should almost certainly *not* be exposed.

Dunno what to do about gdb.  Probably update the cpu model in a
similar fashion.


r~


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