On Mon, Jul 22, 2013 at 2:54 PM, Andreas Färber wrote:
> Am 22.07.2013 07:24, schrieb Max Filippov:
>> After the commit 182735e cpu: Make first_cpu and next_cpu CPUState
>> we can no longer blindly use cpu->next_cpu->env_ptr to get CPUArchState
>> of the next CPU, as the next_cpu is NULL in the la
Am 22.07.2013 07:24, schrieb Max Filippov:
> After the commit 182735e cpu: Make first_cpu and next_cpu CPUState
> we can no longer blindly use cpu->next_cpu->env_ptr to get CPUArchState
> of the next CPU, as the next_cpu is NULL in the last CPU.
>
> This fixes segfault caused by gdb command 'info
After the commit 182735e cpu: Make first_cpu and next_cpu CPUState
we can no longer blindly use cpu->next_cpu->env_ptr to get CPUArchState
of the next CPU, as the next_cpu is NULL in the last CPU.
This fixes segfault caused by gdb command 'info threads'.
Signed-off-by: Max Filippov
---
gdbstub.