Closed epasveer closed 2 years ago
Just in case you're not aware of it the function you're looking for to implement this feature is wait
, here's a link to it's doc: https://man7.org/linux/man-pages/man2/wait.2.html
It was a bug with my handling of Qt's QProcess object. I wasn't "listening" to its 'processExit' signal at all times.
It's is fixed now and tested with the problem program.
Had an interesting case of the gdb process encountering a 'sigsegv' when loading a program's image. Even running gdb from the command encountered the same problem.
The QProcess object should be able to notify (via a signal) the SeerGdbWidget object of this early/bad/unexpected exit of the gdb process that it launched. And bring up a dialog, with the exit status of gdb.