Re: [PATCH for-6.2 2/7] linux-user/arm: Set siginfo_t addr field for SIGTRAP signals

2021-08-15 Thread Richard Henderson
On 8/13/21 3:18 AM, Peter Maydell wrote: When generating a TRAP_BRKPT SIGTRAP, set the siginfo_t addr field to the PC where the breakpoint/singlestep trap occurred; this is what the kernel does for this signal for this architecture. Signed-off-by: Peter Maydell --- linux-user/arm/cpu_loop.c |

[PATCH for-6.2 2/7] linux-user/arm: Set siginfo_t addr field for SIGTRAP signals

2021-08-13 Thread Peter Maydell
When generating a TRAP_BRKPT SIGTRAP, set the siginfo_t addr field to the PC where the breakpoint/singlestep trap occurred; this is what the kernel does for this signal for this architecture. Signed-off-by: Peter Maydell --- linux-user/arm/cpu_loop.c | 1 + 1 file changed, 1 insertion(+) diff -