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#11265: 24.0.94; gdb-mi very slow on Windows Date: Fri, 20 Apr 2012 10:49:19 +0300 Message-ID: <83fwbyj11c.fsf@gnu.org> References: <83zkaaqo67.fsf@gnu.org> <4a9b5bb0b0553d31ee6df5994fd8a56d@schneider-inet.de> <83r4vl6lzk.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1334908257 8676 80.91.229.3 (20 Apr 2012 07:50:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 20 Apr 2012 07:50:57 +0000 (UTC) Cc: 11265@debbugs.gnu.org To: karl-heinz@schneider-inet.de Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Apr 20 09:50:54 2012 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 1SL8cI-00067f-BO for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 Apr 2012 09:50:54 +0200 Original-Received: from localhost ([::1]:43159 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SL8cH-00019u-Or for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 Apr 2012 03:50:53 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51902) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SL8cA-00019k-Bu for bug-gnu-emacs@gnu.org; Fri, 20 Apr 2012 03:50:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SL8c3-00037a-CS for bug-gnu-emacs@gnu.org; Fri, 20 Apr 2012 03:50:45 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42399) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SL8c3-00037S-9n for bug-gnu-emacs@gnu.org; Fri, 20 Apr 2012 03:50:39 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SL8cQ-0005BY-5m for bug-gnu-emacs@gnu.org; Fri, 20 Apr 2012 03:51:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 20 Apr 2012 07:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11265 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11265-submit@debbugs.gnu.org id=B11265.133490822019872 (code B ref 11265); Fri, 20 Apr 2012 07:51:02 +0000 Original-Received: (at 11265) by debbugs.gnu.org; 20 Apr 2012 07:50:20 +0000 Original-Received: from localhost ([127.0.0.1]:43432 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SL8bi-0005AR-40 for submit@debbugs.gnu.org; Fri, 20 Apr 2012 03:50:20 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:46025) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SL8bf-0005AB-Ms for 11265@debbugs.gnu.org; Fri, 20 Apr 2012 03:50:16 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0M2R00300P9IZP00@a-mtaout22.012.net.il> for 11265@debbugs.gnu.org; Fri, 20 Apr 2012 10:49:17 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.228.105.225]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M2R003WSPQ42UL0@a-mtaout22.012.net.il>; Fri, 20 Apr 2012 10:49:16 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list 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:59297 Archived-At: > Date: Thu, 19 Apr 2012 08:10:09 +0200 > From: Karl-Heinz Schneider > Cc: <11265@debbugs.gnu.org> > > >> I discovered that the slowdown happens after restarting the process > >> to > >> debug. > >> I did the following procedure: > >> > >> 1. Start the debugger (with process cmd-line). > >> 2. Enter run to start the process > >> 3. Debug the process > >> 4. Enter kill to stop the process > >> 5. Change code and recompile > >> 6. Start again with step 2 > >> > >> Doing this three or four times debugging starts to get slow. > > > > If you omit step 5, does the problem still happen? > > Yes, the problem doesn't depend on recompiling. Its more to wait some > seconds before begin a new debugging cycle. > > > > >> All debugging is done within the gud buffer using GDB commands. > > > > If, instead of stopping the process in step 4, you kill the gud > > buffer > > through which you interact with GDB, do you still see the slowdown > > after several times that you kill and restart the debugging? > > Killing the GUD buffer and starting a new debugging session totally > recovers to original performance. If you can try the current development code on the emacs-24 branch, please see if the problem is still there. Some related problems were fixed recently, and maybe they also fix your problem. If you cannot try the current code, please revisit this after the next pretest version is released, and report back. Thanks.