Re: [PATCH] tests/tcg: Stop using exit() in the gdbstub testcases

2024-10-22 Thread Gustavo Romero
Hi Ilya, On 10/21/24 16:31, Ilya Leoshkevich wrote: On Mon, 2024-10-21 at 16:08 -0300, Gustavo Romero wrote: Hi, On 10/21/24 12:08, Peter Maydell wrote: On Mon, 21 Oct 2024 at 16:02, Ilya Leoshkevich wrote: GDB 15 does not like exit() anymore: (gdb) python exit(0) Python Excep

Re: [PATCH] tests/tcg: Stop using exit() in the gdbstub testcases

2024-10-21 Thread Philippe Mathieu-Daudé
On 21/10/24 16:31, Ilya Leoshkevich wrote: On Mon, 2024-10-21 at 16:08 -0300, Gustavo Romero wrote: Hi, On 10/21/24 12:08, Peter Maydell wrote: On Mon, 21 Oct 2024 at 16:02, Ilya Leoshkevich wrote: GDB 15 does not like exit() anymore: (gdb) python exit(0) Python Exception : 0

Re: [PATCH] tests/tcg: Stop using exit() in the gdbstub testcases

2024-10-21 Thread Ilya Leoshkevich
On Mon, 2024-10-21 at 16:08 -0300, Gustavo Romero wrote: > Hi, > > On 10/21/24 12:08, Peter Maydell wrote: > > On Mon, 21 Oct 2024 at 16:02, Ilya Leoshkevich > > wrote: > > > > > > GDB 15 does not like exit() anymore: > > > > > > (gdb) python exit(0) > > > Python Exception : 0 > > >  

Re: [PATCH] tests/tcg: Stop using exit() in the gdbstub testcases

2024-10-21 Thread Gustavo Romero
Hi, On 10/21/24 12:08, Peter Maydell wrote: On Mon, 21 Oct 2024 at 16:02, Ilya Leoshkevich wrote: GDB 15 does not like exit() anymore: (gdb) python exit(0) Python Exception : 0 Error occurred in Python: 0 Use the GDB's own exit command, like it's already done in a couple plac

Re: [PATCH] tests/tcg: Stop using exit() in the gdbstub testcases

2024-10-21 Thread Peter Maydell
On Mon, 21 Oct 2024 at 16:02, Ilya Leoshkevich wrote: > > GDB 15 does not like exit() anymore: > > (gdb) python exit(0) > Python Exception : 0 > Error occurred in Python: 0 > > Use the GDB's own exit command, like it's already done in a couple > places, everywhere. This is the same bu

[PATCH] tests/tcg: Stop using exit() in the gdbstub testcases

2024-10-21 Thread Ilya Leoshkevich
GDB 15 does not like exit() anymore: (gdb) python exit(0) Python Exception : 0 Error occurred in Python: 0 Use the GDB's own exit command, like it's already done in a couple places, everywhere. Signed-off-by: Ilya Leoshkevich --- tests/guest-debug/test_gdbstub.py |