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: cortex-m xml register descriptions for m-system


On 12/15/2015 11:44 AM, Tristan Gingold wrote:
> 
>> On 15 Dec 2015, at 00:11, Christopher Friedt <chrisfriedt@gmail.com> wrote:

>> Hmm... It's hard for me to say. The MSP and PSP are banked stack
>> pointers, control instructs the core which stack pointer to use, and
>> they are also tightly coupled to exception entry, so I would lean
>> towards yes?
> 
> I do think so too.
> 
> I have just written a patch so that gdb unwinds correctly on cortex-m
> exceptions, and this of course requires that gdb knows about at least
> psp.

Alright, that's indeed a very good reason.

Thanks,
Pedro Alves


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