From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21541 invoked by alias); 27 Jun 2014 08:26:58 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 21531 invoked by uid 89); 27 Jun 2014 08:26:57 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 X-HELO: smtpo09.poczta.onet.pl Received: from smtpo09.poczta.onet.pl (HELO smtpo09.poczta.onet.pl) (213.180.142.140) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Fri, 27 Jun 2014 08:26:56 +0000 Received: from [192.168.2.253] (87-205-217-249.adsl.inetia.pl [87.205.217.249]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: freddie_chopin@op.pl) by smtp.poczta.onet.pl (Onet) with ESMTPSA id 3h0B5m0hM0z9tvrG; Fri, 27 Jun 2014 10:26:51 +0200 (CEST) Message-ID: <53AD2AC8.6040307@op.pl> Date: Fri, 27 Jun 2014 08:26:00 -0000 From: Freddie Chopin User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: gdb@sourceware.org CC: palves@redhat.com Subject: Re: Problem with continue/halt - async support References: <53A52B93.9030204@op.pl> <53ABDD67.1020900@op.pl> <83bntfpuct.fsf@gnu.org> <53AC3E90.5090500@op.pl> <837g43prmu.fsf@gnu.org> <53AD1BF7.1050607@op.pl> In-Reply-To: <53AD1BF7.1050607@op.pl> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2014-06/txt/msg00089.txt.bz2 W dniu 2014-06-27 09:23, Freddie Chopin pisze: > OK, I'm getting closer... Wit this commit it still works fine: > > https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commit;h=41aa47b48f0794fdfccc0f2c283433d8e35c5a2c > > > With this one (3 days later) doing "continue" causes the freeze: > > https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commit;h=11b28b91b2c51898e1347e62909811cc7dd720ea > > > Browsing through the commits I suspect this one ("enable target async by > default; separate MI and target notions of async") to be the cause of > the problem I'm seeing: > > https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commit;h=329ea57934a9d4b250a0b417af1ec47bc2d0ceb6 > > > I tried playing with the new options "set mi-async" and "set > target-async" (both are set to off in here), but this makes no > difference for me. > > I'll verify that this is the commit that causes trouble and report back. This commit (before whole "async support" series) works fine: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commit;h=434415618f6bb9ac428a8d18ab33111920cd04dc This commit (after whole "async support" series) has the problem: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commit;h=a09dd4413d1a4ea063173d4822635f41c885f6fe For completeness - current HEAD still has the problem. If anyone didn't notice that, then this probably is Windows specific, or even mingw-w64 specific, or maybe remote-target-OpenOCD specific. As I wrote previously - GDB is compiled with the most recent package from Arch Linux, so that's GCC 4.9.0 mingw-w64. The problem is the same for 32-bit and 64-bit compilation. Any ideas what can I test to help with the bug? I'm going to post a bug report too... I added Pedro Alves to CC of this e-mail. Regards, FCh