Re: [PATCH] linux-user/elfload: Fix pr_pid values in core files

2024-08-02 Thread Ilya Leoshkevich
On Fri, 2024-08-02 at 15:20 +0200, Philippe Mathieu-Daudé wrote: > On 1/8/24 22:23, Ilya Leoshkevich wrote: > > Analyzing qemu-produced core dumps of multi-threaded apps runs > > into: > > > > (gdb) info threads > >    [...] > >    21   Thread 0x3ff83cc0740 (LWP 9295) warning: Couldn'

Re: [PATCH] linux-user/elfload: Fix pr_pid values in core files

2024-08-02 Thread Philippe Mathieu-Daudé
On 1/8/24 22:23, Ilya Leoshkevich wrote: Analyzing qemu-produced core dumps of multi-threaded apps runs into: (gdb) info threads [...] 21 Thread 0x3ff83cc0740 (LWP 9295) warning: Couldn't find general-purpose registers in core file. in ?? () The reason is that all pr

Re: [PATCH] linux-user/elfload: Fix pr_pid values in core files

2024-08-01 Thread Richard Henderson
On 8/2/24 06:23, Ilya Leoshkevich wrote: Analyzing qemu-produced core dumps of multi-threaded apps runs into: (gdb) info threads [...] 21 Thread 0x3ff83cc0740 (LWP 9295) warning: Couldn't find general-purpose registers in core file. in ?? () The reason is that all pr

[PATCH] linux-user/elfload: Fix pr_pid values in core files

2024-08-01 Thread Ilya Leoshkevich
Analyzing qemu-produced core dumps of multi-threaded apps runs into: (gdb) info threads [...] 21 Thread 0x3ff83cc0740 (LWP 9295) warning: Couldn't find general-purpose registers in core file. in ?? () The reason is that all pr_pid values are the same, because the same Task