forked from enlightenment/enlightenment
After a long and hard battle with the gods of bugs I finally fixed this stupid hang. I had to dig into the gdb source code, and gdb the hell out of gdb, but it's now solved. First of all, we should call gdb with -batch which exits automatically. This however is not enough to fix it. The bug was that gdb was haning while trying to set attributes on stdin because it was waiting for input. This is obviously problematic when running in non-interactive mode, so I had to pipe /dev/zero to stdin to fix it. While at it, I also fixed the piping of stdout and stderr to be nicer.devs/sachiel/e19
parent
baadcee049
commit
18cbd6f59a
3 changed files with 6 additions and 1 deletions
Loading…
Reference in new issue