[PATCH] Fix gdb crash due to SIGPIPE when the compile command fails
Tom Tromey
tom@tromey.com
Wed Jun 2 18:21:56 GMT 2021
>>>>> "Bernd" == Bernd Edlinger <bernd.edlinger@hotmail.de> writes:
Bernd> Due to the SIGPIPE the gdb process is killed here, which is
Bernd> not helpful.
Bernd> 2021-06-02 Bernd Edlinger <bernd.edlinger@hotmail.de>
Bernd> * compile/compile.c (compile_to_object): Ignore SIGPIPE before calling
Bernd> the plugin.
I don't understand why gdb gets a SIGPIPE here.
Could you explain it a bit more?
Tom
More information about the Gdb-patches
mailing list