[commit] [testsuite patch] runaway attach processes [Re: Regression: GDB stopped on run with attached process (PR 17347)]

Jan Kratochvil
2014-09-12T11:40:40Z

On Fri, 12 Sep 2014 12:14:18 +0200, Pedro Alves wrote:
> On 09/12/2014 08:34 AM, Jan Kratochvil wrote:
> > gdb/testsuite/
> > 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
> >
> > * gdb.base/attach.c: Include unistd.h.
> > (main): Call alarm. Add label postloop.
> > * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
> > gdb_breakpoint, gdb_continue_to_breakpoint.
> > (test_command_line_attach_run): Kill ${testpid} in one exit path.
>
> Thanks,

Checked in:
1cf2f1b045e9e647f6dfd28829ff4592c588dcb7

Thanks,
Jan