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] MSR and System regs for RedBoot target


Andrew Cagney <ac131313@ges.redhat.com> writes:

> Hello,
> 
> The attached (a patch against my sysregs branch) based mostly by code 
> previously written by Fernando Nasser, adds MSR and system register 
> support for an i386 RedBoot target.  They each get their own group. 
> That way:
> 	info registers msr
> and 
> info registers system
> works (but MSR and SYSTEM registers are not displayed by ``info 
> registers''.).

Those system registers seem like a good idea to me.  I'm not so sure
about those MSRs.

> The patch (apart from demonstrating that reggroups really do work :-) 
> identifies a number of issues:
> 
> - The patch makes RedBoot the default i386 abi -- if nothing else hits, 
> this gets to be it.  Its done by brute force.  This goes back to the 
> default discussed earlier for the ``set osabi'' command.  Better re-read 
> the thread ...

Does the OS/ABI have to be named "RedBoot"?  I think most of this
stuff could just as well be added to the generic i386 target.

> I'll park this in my sysregs branch.  RedBoot is available at 
> http://sources.redhat.com/redboot/
> 
> comments?

Is there consensus yet on how we should create the types for those
flag bits?  If we choose Michael Ludvigs approach, this code should be
converted before we check it in.

Mark


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