Re: [Qemu-devel] [PATCH 2/2] ppc: Add dump-stack implementation

2019-05-07 Thread Markus Armbruster
Suraj Jitindar Singh writes: > The monitor function dump-stack is used to dump the stack for a cpu. > This can be useful for debugging purposes when the stack cannot be > dumped by another means. > > Add a ppc implementation ppc_cpu_dump_stack(). > The stack pointer is stored in R1 with the back

Re: [Qemu-devel] [PATCH 2/2] ppc: Add dump-stack implementation

2019-05-05 Thread David Gibson
On Thu, May 02, 2019 at 01:47:32PM +1000, Alexey Kardashevskiy wrote: > > > On 02/05/2019 10:43, David Gibson wrote: > > On Wed, May 01, 2019 at 07:48:48PM +1000, Alexey Kardashevskiy wrote: > >> > >> > >> On 01/05/2019 15:35, Suraj Jitindar Singh wrote: > >>> The monitor function dump-stack is u

Re: [Qemu-devel] [PATCH 2/2] ppc: Add dump-stack implementation

2019-05-01 Thread Alexey Kardashevskiy
On 02/05/2019 10:43, David Gibson wrote: > On Wed, May 01, 2019 at 07:48:48PM +1000, Alexey Kardashevskiy wrote: >> >> >> On 01/05/2019 15:35, Suraj Jitindar Singh wrote: >>> The monitor function dump-stack is used to dump the stack for a cpu. >>> This can be useful for debugging purposes when t

Re: [Qemu-devel] [PATCH 2/2] ppc: Add dump-stack implementation

2019-05-01 Thread David Gibson
On Wed, May 01, 2019 at 07:48:48PM +1000, Alexey Kardashevskiy wrote: > > > On 01/05/2019 15:35, Suraj Jitindar Singh wrote: > > The monitor function dump-stack is used to dump the stack for a cpu. > > This can be useful for debugging purposes when the stack cannot be > > dumped by another means.

Re: [Qemu-devel] [PATCH 2/2] ppc: Add dump-stack implementation

2019-05-01 Thread Alexey Kardashevskiy
On 01/05/2019 15:35, Suraj Jitindar Singh wrote: > The monitor function dump-stack is used to dump the stack for a cpu. > This can be useful for debugging purposes when the stack cannot be > dumped by another means. > > Add a ppc implementation ppc_cpu_dump_stack(). > The stack pointer is store

[Qemu-devel] [PATCH 2/2] ppc: Add dump-stack implementation

2019-04-30 Thread Suraj Jitindar Singh
The monitor function dump-stack is used to dump the stack for a cpu. This can be useful for debugging purposes when the stack cannot be dumped by another means. Add a ppc implementation ppc_cpu_dump_stack(). The stack pointer is stored in R1 with the back pointer at offset 0 and the link register