Re: [PATCH] test: avoid hanging older gdb under GNU timeout and moreutils parallel

2019-05-21 Thread Tomi Ollila
On Tue, May 21 2019, Daniel Kahn Gillmor wrote: > Hi Tomi-- > > On Tue 2019-05-21 09:12:12 +0300, Tomi Ollila wrote: >> This looks like a good read: >> https://ftp.gnu.org/old-gnu/Manuals/gdb/html_node/gdb_21.html >> and is used to speculate below. > > Thanks for this pointer, and for the

Re: [PATCH] test: avoid hanging older gdb under GNU timeout and moreutils parallel

2019-05-21 Thread Daniel Kahn Gillmor
On Mon 2019-05-20 23:32:20 -0300, David Bremner wrote: > I wonder if most/all of our use of gdb could be replaced by writing > simple shim libraries and using LD_PRELOAD. I would have no objection to such a change -- it seems like a plausible approach to me -- but i'm not prepared to write it (or

Re: [PATCH] test: avoid hanging older gdb under GNU timeout and moreutils parallel

2019-05-21 Thread Daniel Kahn Gillmor
Hi Tomi-- On Tue 2019-05-21 09:12:12 +0300, Tomi Ollila wrote: > This looks like a good read: > https://ftp.gnu.org/old-gnu/Manuals/gdb/html_node/gdb_21.html > and is used to speculate below. Thanks for this pointer, and for the additional analysis. While i understand this problem much better

Re: [PATCH] test: avoid hanging older gdb under GNU timeout and moreutils parallel

2019-05-21 Thread Tomi Ollila
On Mon, May 20 2019, Daniel Kahn Gillmor wrote: > > A marginally cleaner patch be to consistently use gdb with either one > of: > > * -tty /dev/null > * < /dev/null This looks like a good read: https://ftp.gnu.org/old-gnu/Manuals/gdb/html_node/gdb_21.html and is used to speculate below. I

Re: [PATCH] test: avoid hanging older gdb under GNU timeout and moreutils parallel

2019-05-20 Thread David Bremner
Daniel Kahn Gillmor writes: > > A marginally cleaner patch be to consistently use gdb with either one > of: > > * -tty /dev/null > * < /dev/null > > in all of T050, T060, and T070. But T070 can't use "< /dev/null" > because it needs stdin. And when i tried to use "-tty /dev/null" in > T050