News for hackers. Stuff that matters.
Re:Debugging with GDB by jmclnx on Monday March 21, 2022 @06:51PM (#30760782)
Yes,

kill -ABRT pid

should do it

Re:Debugging with GDB by begriffs on Monday March 21, 2022 @11:38PM (#30762489)
Good idea to just abort it. :)

However, I tried your suggestion from another terminal, and gdb appears to shield the program somehow. What ended up working is running "signal SIGABRT" from within gdb.

One thing that's still lacking is gcore's ability to take a snapshot of the core without killing the program. "Unlike after a crash, after gcore finishes its job the program remains running without any change." https://www.man7.org/linux/man-pages/man1/gcore.1.html