From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22729 invoked by alias); 12 Sep 2014 11:40:40 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 22718 invoked by uid 89); 12 Sep 2014 11:40:39 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_50,RP_MATCHES_RCVD,SPAM_SUBJECT1,SPF_HELO_PASS autolearn=no version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Fri, 12 Sep 2014 11:40:38 +0000 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s8CBeZI4018835 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 12 Sep 2014 07:40:35 -0400 Received: from host2.jankratochvil.net (ovpn-116-53.ams2.redhat.com [10.36.116.53]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s8CBeVkD022687 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NO); Fri, 12 Sep 2014 07:40:34 -0400 Date: Fri, 12 Sep 2014 11:40:00 -0000 From: Jan Kratochvil To: Pedro Alves Cc: Doug Evans , Mark Wielaard , gdb-patches@sourceware.org Subject: [commit] [testsuite patch] runaway attach processes [Re: Regression: GDB stopped on run with attached process (PR 17347)] Message-ID: <20140912114031.GA5269@host2.jankratochvil.net> References: <21437.28600.751354.629884@ruffy.mtv.corp.google.com> <53BD7749.5000800@redhat.com> <20140903075858.GA23492@host2.jankratochvil.net> <540775D7.7040003@redhat.com> <20140907192818.GA17035@host2.jankratochvil.net> <540DD8CF.5050200@redhat.com> <20140909182518.GA3320@host2.jankratochvil.net> <54119729.5050206@redhat.com> <20140912073402.GA4134@host2.jankratochvil.net> <5412C77A.3070200@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5412C77A.3070200@redhat.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-IsSubscribed: yes X-SW-Source: 2014-09/txt/msg00392.txt.bz2 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 > > > > * 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