On 3 December 2015 at 18:55, Andrew Jones wrote:
> On Thu, Dec 03, 2015 at 11:44:05AM +, Peter Maydell wrote:
>> On 25 November 2015 at 00:37, Andrew Jones wrote:
>> > Add the support needed for creating prstatus elf notes. This
>> > allows us to use QMP dump-guest-memory.
>>
>> > +
>> > +
On Thu, Dec 03, 2015 at 11:44:05AM +, Peter Maydell wrote:
> On 25 November 2015 at 00:37, Andrew Jones wrote:
> > Add the support needed for creating prstatus elf notes. This
> > allows us to use QMP dump-guest-memory.
>
> > +
> > +if (is_a64(env)) {
> > +for (i = 0; i < 31; ++i)
On 25 November 2015 at 00:37, Andrew Jones wrote:
> Add the support needed for creating prstatus elf notes. This
> allows us to use QMP dump-guest-memory.
> +
> +if (is_a64(env)) {
> +for (i = 0; i < 31; ++i) {
> +note.prstatus.pr_reg.regs[i] = cpu_to_dump64(s, env->xregs[
Add the support needed for creating prstatus elf notes. This
allows us to use QMP dump-guest-memory.
Signed-off-by: Andrew Jones
---
target-arm/Makefile.objs | 3 +-
target-arm/arch_dump.c | 230 +++
target-arm/cpu-qom.h | 5 ++
target-arm/cp