From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Adam Newsgroups: gmane.emacs.bugs Subject: bug#9839: compile with gdb running Date: Mon, 24 Oct 2011 19:03:01 +0200 Message-ID: <87y5wagw7s.fsf@earth.home> References: <228539.45852.bm@smtp108.mail.bf1.yahoo.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1319475825 3774 80.91.229.12 (24 Oct 2011 17:03:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 24 Oct 2011 17:03:45 +0000 (UTC) To: 9839@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 24 19:03:41 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RINw4-0002ho-IV for geb-bug-gnu-emacs@m.gmane.org; Mon, 24 Oct 2011 19:03:40 +0200 Original-Received: from localhost ([::1]:37292 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RINw3-0004or-Ub for geb-bug-gnu-emacs@m.gmane.org; Mon, 24 Oct 2011 13:03:39 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:36947) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RINvz-0004oC-Ro for bug-gnu-emacs@gnu.org; Mon, 24 Oct 2011 13:03:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RINvu-0005FJ-2y for bug-gnu-emacs@gnu.org; Mon, 24 Oct 2011 13:03:35 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58856) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RINvt-0005FA-Vq for bug-gnu-emacs@gnu.org; Mon, 24 Oct 2011 13:03:29 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RINxN-0004Wy-Od for bug-gnu-emacs@gnu.org; Mon, 24 Oct 2011 13:05:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Adam Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 24 Oct 2011 17:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9839 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.131947589917407 (code B ref -1); Mon, 24 Oct 2011 17:05:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 24 Oct 2011 17:04:59 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RINxK-0004Wi-62 for submit@debbugs.gnu.org; Mon, 24 Oct 2011 13:04:58 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RINxI-0004WR-0g for submit@debbugs.gnu.org; Mon, 24 Oct 2011 13:04:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RINvc-0005A8-JS for submit@debbugs.gnu.org; Mon, 24 Oct 2011 13:03:18 -0400 Original-Received: from lists.gnu.org ([140.186.70.17]:41673) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RINvc-0005A1-Hi for submit@debbugs.gnu.org; Mon, 24 Oct 2011 13:03:12 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:36864) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RINvb-0004m7-1b for bug-gnu-emacs@gnu.org; Mon, 24 Oct 2011 13:03:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RINvZ-000595-Po for bug-gnu-emacs@gnu.org; Mon, 24 Oct 2011 13:03:10 -0400 Original-Received: from nm18.bullet.mail.sp2.yahoo.com ([98.139.91.88]:40953) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1RINvZ-00057G-AX for bug-gnu-emacs@gnu.org; Mon, 24 Oct 2011 13:03:09 -0400 Original-Received: from [98.139.91.62] by nm18.bullet.mail.sp2.yahoo.com with NNFMP; 24 Oct 2011 17:03:04 -0000 Original-Received: from [98.136.185.45] by tm2.bullet.mail.sp2.yahoo.com with NNFMP; 24 Oct 2011 17:03:04 -0000 Original-Received: from [127.0.0.1] by smtp106.mail.gq1.yahoo.com with NNFMP; 24 Oct 2011 17:03:04 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1319475784; bh=zY2O/6HLQzWxM5geJyWxbu02ItqDn8HbdPtelme7bTY=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:From:To:Subject:In-Reply-To:Message-ID:References:Mail-Followup-To:Date:MIME-Version:Content-Type; b=IqRUdZU4x/NUT+Ojbhap7mWF0jk/1BEqe0XBhU2R4FmqpyUM7xOIQoWoYCba2ejCxXZCMfZZozpG05Af3y1j1RHTX8ZnMXFNnakaycz5ILLgOzrRy7RFhB13i5f8sgjoq6YsGfrrPNnUkmK3zo3lqAIKhLQF9W4gJYs+OMoM2E8= X-Yahoo-Newman-Id: 80203.70918.bm@smtp106.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 1X4rsHEVM1k5VFRq6ODOoaTw09fCkhFXTqG86jwOhguMyrs eVB_f2o4FbXkB2pMhQkbW4jwxD.lWliU4MptcB9tza0UK6iME2IsYwlcHuTH rqPOGGyTBAmLPa3CytS55Z8eLHsYYcOSo8.qgdRPFRYXvqPJiM03zTPjgqLH 91FhmyomdfjpOhMx1f6SoyzLg5JmCOvpgPHaG7E_HtSImLciQSYvEeNgfT0D A8Ji0fswMWLLJ2RoljwPJtmC7miIHFyjkOgM20yQ.k4nJdWRj53oCAdSwPcz w_RUybKawrrowtQw4S6ajDM6RHoUrtQb.DW3Knzv9vcbvogAkhtS8SLuyizJ v5pgLu3zQaM3EjOpTur_e4zKxFDa2WbfALhAz X-Yahoo-SMTP: Fed9kveswBC.fi0EvcUg6UnufDS8 Original-Received: from this (adam_w67@92.231.13.104 with plain) by smtp106.mail.gq1.yahoo.com with SMTP; 24 Oct 2011 10:03:03 -0700 PDT In-Reply-To: <228539.45852.bm@smtp108.mail.bf1.yahoo.com> (Adam's message of "Mon, 24 Oct 2011 16:57:38 +0200") Mail-Followup-To: bug-gnu-emacs@gnu.org X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 24 Oct 2011 13:05:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:53075 Archived-At: Yet another pointer: M-x gud-gdb and compilation works fine. AFAICT this issue roots in gdb-mi.el Adam writes: > Glenn Morris writes: > > I investigated a little. Somehow the call to the process sentinel > (compilation-sentinel) is delayed until the gdb process is quit. > > Unfortunately I lack the understanding of Emacs internals to debug this > annoying issue further. > >> Please don't cross-post to the help and bug lists, just pick one. >> Hopefully I have managed to arrange it so that your report only >> appears on the bug list. >> >> Here is the report so that others can see it: >> >> I am using emacs pretest on GNU/Linux. I stumbled upon an >> interesting behaviour today. How to reproduce: >> >> emacs -q >> M-x gdb RET ls RET >> r >> # at this point gdb is starting ls >> M-x compile RET >> >> The compile buffer pops up, but there is not the >> >> "make: *** No targets specified and no makefile found. Stop. >> Compilation exited abnormally ..."- >> >> output. >> >> Is this a bug? If so, how can I work around it?