From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#23720: 25.0.94; Issues with GUD (gdb-mi) after upgrade from Emacs 23 to 24/25 Date: Thu, 09 Jun 2016 17:12:32 +0300 Message-ID: <834m92qwmn.fsf@gnu.org> References: <5756941E.3000700@oracle.com> <837fe0syx5.fsf@gnu.org> <5759257F.9030502@oracle.com> <83d1nqr1xl.fsf@gnu.org> <5759734A.8090809@oracle.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1465481866 4958 80.91.229.3 (9 Jun 2016 14:17:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Jun 2016 14:17:46 +0000 (UTC) Cc: 23720@debbugs.gnu.org To: Guilhem Bichot Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 09 16:17:29 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bB0lz-00076N-Uq for geb-bug-gnu-emacs@m.gmane.org; Thu, 09 Jun 2016 16:17:28 +0200 Original-Received: from localhost ([::1]:34822 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bB0lz-0004OC-2s for geb-bug-gnu-emacs@m.gmane.org; Thu, 09 Jun 2016 10:17:27 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32813) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bB0hl-0001Aa-G7 for bug-gnu-emacs@gnu.org; Thu, 09 Jun 2016 10:13:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bB0hi-0000oe-7y for bug-gnu-emacs@gnu.org; Thu, 09 Jun 2016 10:13:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:50653) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bB0hi-0000oa-4C for bug-gnu-emacs@gnu.org; Thu, 09 Jun 2016 10:13:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bB0hi-0004GN-0j for bug-gnu-emacs@gnu.org; Thu, 09 Jun 2016 10:13:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 Jun 2016 14:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23720 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23720-submit@debbugs.gnu.org id=B23720.146548152716329 (code B ref 23720); Thu, 09 Jun 2016 14:13:01 +0000 Original-Received: (at 23720) by debbugs.gnu.org; 9 Jun 2016 14:12:07 +0000 Original-Received: from localhost ([127.0.0.1]:34757 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bB0go-0004FH-A8 for submit@debbugs.gnu.org; Thu, 09 Jun 2016 10:12:06 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:41564) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bB0gj-0004Ek-VU for 23720@debbugs.gnu.org; Thu, 09 Jun 2016 10:12:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bB0gb-0000cF-Nh for 23720@debbugs.gnu.org; Thu, 09 Jun 2016 10:11:56 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36665) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bB0gb-0000c4-KE; Thu, 09 Jun 2016 10:11:53 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3009 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bB0gZ-0005fX-SI; Thu, 09 Jun 2016 10:11:52 -0400 In-reply-to: <5759734A.8090809@oracle.com> (message from Guilhem Bichot on Thu, 9 Jun 2016 15:46:50 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:119334 Archived-At: > Cc: 23720@debbugs.gnu.org > From: Guilhem Bichot > Date: Thu, 9 Jun 2016 15:46:50 +0200 > > > Like I said, I believe this is because your program is running. > > It is not running. I can repeat the problem when the display is: > Breakpoint 1, JOIN::exec (this=0x7fff70008770) at > /home/mysql_src/git/cte/sql/sql_executor.cc:113 > 113 { > (gdb) > > which very much suggests the program is currently stopped (thus, not > running). At that point, I can open another file, and put the cursor on > a line of that file, and: > - C-x C-a C-b does set the breakpoint (another hint that the program > isn't stopped). > - C-x SPC and clicking on the fringe, don't. In emacs23 they do. > > In other words, gdb-mi sees manually-opened-files as "not my business I > won't offer my shortcuts there", while gud-gdb sees it differently. The > latter is more convenient. > > It is not possible to know in advance all the breakpoints one will need > and set them all before "run"... Ah, okay, I've misunderstood you, sorry. Yes, this is how stuff works with gdb-mi. > ok, now we agree there's a STOP button in emacs24. > > (gdb) help interrupt > Interrupt the execution of the debugged program. > > So, shouldn't this STOP button interrupt my debugged, running program > (mysql)? > Pressing this STOP button in emacs23 does interrupt it. > It doesn't anymore in emacs24. > Is it considered normal? I don't think so, but I don't have any more wisdom to offer about this. AFAIU, -exec-interrupt should have interrupted your program, unless it masks signals.