Re: [PATCH 0/2] gdbstub: don't crash if no gdb attached and gdb syscall attempted

2022-06-10 Thread Alex Bennée
Peter Maydell writes: > On Thu, 26 May 2022 at 20:00, Peter Maydell wrote: >> >> This patchset fixes a couple of bugs reported by >> Liviu Ionescu related to semihosting syscall handling. >> >> Firstly, if the user sets up the gdbstub but doesn't connect a gdb >> (ie passes '-s' but not '-S'),

Re: [PATCH 0/2] gdbstub: don't crash if no gdb attached and gdb syscall attempted

2022-06-10 Thread Peter Maydell
On Thu, 26 May 2022 at 20:00, Peter Maydell wrote: > > This patchset fixes a couple of bugs reported by > Liviu Ionescu related to semihosting syscall handling. > > Firstly, if the user sets up the gdbstub but doesn't connect a gdb > (ie passes '-s' but not '-S'), and we try to use gdb for semihos

[PATCH 0/2] gdbstub: don't crash if no gdb attached and gdb syscall attempted

2022-05-26 Thread Peter Maydell
This patchset fixes a couple of bugs reported by Liviu Ionescu related to semihosting syscall handling. Firstly, if the user sets up the gdbstub but doesn't connect a gdb (ie passes '-s' but not '-S'), and we try to use gdb for semihosting syscalls (either because the user explicitly set target=gd