Fix gdb crash due to SIGPIPE when the compile command fails
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Wed, 2 Jun 2021 17:21:15 +0000 (19:21 +0200)
committerBernd Edlinger <bernd.edlinger@hotmail.de>
Sat, 5 Jun 2021 17:35:44 +0000 (19:35 +0200)
commit4a977544657ae51a33447b4c4211009dacb09bdd
treee53a817d0288c549dc684c1859a1269575951de0
parent8ff8c543b4a6da9abbba7f406f13ba844cfe6d94
Fix gdb crash due to SIGPIPE when the compile command fails

Due to the SIGPIPE the gdb process is killed here, which is
not helpful.

2021-06-05  Bernd Edlinger  <bernd.edlinger@hotmail.de>

* compile/compile.c (scoped_ignore_sigpipe): New helper class.
(compile_to_object): Ignore SIGPIPE before calling the plugin.
gdb/ChangeLog
gdb/compile/compile.c
This page took 0.028262 seconds and 4 git commands to generate.