This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


On 09/12/2014 08:34 AM, Jan Kratochvil wrote:
> On Thu, 11 Sep 2014 14:35:53 +0200, Pedro Alves wrote:
>> > Thanks, pushed to both master and 7.8.
> I have started seeing occasional runaway 'attach' processes these days.
> I cannot be certain it is really caused by this patch, for example
> grep 'FAIL.*cmdline attach run' does not show anything in my logs.
> 
> But as I remember this 'attach' runaway process always happened in GDB (but
> I do not remember it in the past months) I think it would be most safe to just
> solve it forever by [attached].

Agreed.  OK.

> 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,
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]