`sys.exit` from Python no longer exits the GDB process

Gulshan Singh gsingh2011@gmail.com
Tue Jul 2 19:09:46 GMT 2024


Thanks, I've filed a bug here:
https://sourceware.org/bugzilla/show_bug.cgi?id=31946

On Sun, Jun 23, 2024 at 3:07 PM Tom Tromey <tom@tromey.com> wrote:
>
> > If all else fails, os._exit(1) should work, but I too wonder if this
> > change is intentional, and if so whether there is a way to control its
> > behavior.
>
> I think it's probably just a bug.  I feel like we changed some exception
> handling stuff, maybe that change was too aggressive.  Please file
> something in bugzilla -- no guarantees anyone will fix it but at least
> that way we have a spot to discuss, etc.
>
> Tom


More information about the Gdb mailing list