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]

Re: [Patch, microblaze]: Add slr and shr regs


On 05/27/2014 08:46 AM, Ajit Kumar Agarwal wrote:

> Update the problem description and here it is.
> 
>     [Patch, microblaze]: Add slr and shr regs
>     
>        Prior to version 2013.1, XMD's gdbserver stub returned 57 registers in
>        response to GDB's G request.  Starting with version 2013.1, XMD added the
>        slr and shr register, for a count of 59 registers.  This patch adds
>        these registers to the expected G response.
> 
>>> What targets have you built and tested?
> 
> Microblaze target has been built and tested.

Did you test new GDB against old stub?

I've looked at the microblaze reference guide, and saw that these
registers are optional.  What happens if you debug a system where
C_USE_STACK_PROTECTION was set to 0?  Do we still show these
registers to the user?

-- 
Pedro Alves


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