This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: cortex-m xml register descriptions for m-system
- From: Christopher Friedt <chrisfriedt at gmail dot com>
- To: Tristan Gingold <gingold at adacore dot com>
- Cc: Pedro Alves <palves at redhat dot com>, Yao Qi <qiyaoltc at gmail dot com>, gdb-patches at sourceware dot org
- Date: Tue, 14 Aug 2018 14:14:40 -0400
- Subject: Re: cortex-m xml register descriptions for m-system
- References: <CAF4BF-RuPwFWfDa2Sp7MzYjF8bo1K3xb=jMThSpK4T7gTe+whQ@mail.gmail.com> <566F108D.1000401@redhat.com> <CAF4BF-TUH0V4=YY07u9n3q=dMecbjMr9cOrEm=2BDXeP3HrDQQ@mail.gmail.com> <566F5B1A.8040703@redhat.com> <CAF4BF-Tk0yEgjpf=ujaLJbrFtkp_ujKYv4rpjtqTBdYXMYFQ4A@mail.gmail.com> <F678ABCB-7AD9-48F2-AC4B-713542287C4A@adacore.com> <CAF4BF-RhPPpW3FhXadbGqxafxmLyyHAwGPokpupnUZqVucYyfw@mail.gmail.com> <B54C5969-38AB-470D-ACF1-BD92EC5E4E93@adacore.com>
I might be going for the Guiness record of the longest delay in a thread!
Kind of funny, but I was using gdb / QEMU again, and found that I was
missing some critical registers again.
In any case, let's continue the conversation.
On Thu., Dec. 17, 2015, 3:31 a.m. Tristan Gingold, <gingold@adacore.com>
wrote:
> I think that only PSP and SP are required (of course SP could be MSP).
>
I think I agree that only the psp and sp are required (not the msp).
That would mean the following should be added for armv7-m:
psp, primask, basepri, faultmask, control
and the following would need to be added for armv6-m:
psp, faultmask, control
However, we also have the armv8-m and the following would need to be added
for armv8-m:
psp, msplim, psplim, primask, basepri, basepri_max, faultmask, control,
msp_ns, psp_ns, msplim_ns, psplim_ns, primask_ns, basepri_ns, faultmask_ns,
control_ns, sp_ns.
Does all of that make sense? I think I could probably throw together a
patch and just put it on the list, if that's ok.
>