From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Dzhus Newsgroups: gmane.emacs.bugs Subject: bug#3794: Several other problems in gdb-mi [RE: bug#3794: Error in json from gdb-ui] Date: Mon, 17 Aug 2009 03:11:10 +0400 Message-ID: <874os7qrqp.fsf@sphinx.net.ru> References: <87r5wosm7m.fsf@sphinx.net.ru> <87zlb71iob.fsf@sphinx.net.ru> Reply-To: Dmitry Dzhus , 3794@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1250465239 25488 80.91.229.12 (16 Aug 2009 23:27:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 16 Aug 2009 23:27:19 +0000 (UTC) Cc: 3794@emacsbugs.donarmstrong.com, dima@sphinx.net.ru To: Herbert Euler Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Aug 17 01:27:12 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Mcp83-0007Jq-DV for geb-bug-gnu-emacs@m.gmane.org; Mon, 17 Aug 2009 01:27:11 +0200 Original-Received: from localhost ([127.0.0.1]:47341 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mcp82-0001m7-SX for geb-bug-gnu-emacs@m.gmane.org; Sun, 16 Aug 2009 19:27:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mcp7q-0001im-DN for bug-gnu-emacs@gnu.org; Sun, 16 Aug 2009 19:26:58 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mcp7l-0001gP-J8 for bug-gnu-emacs@gnu.org; Sun, 16 Aug 2009 19:26:57 -0400 Original-Received: from [199.232.76.173] (port=37520 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mcp7l-0001g3-93 for bug-gnu-emacs@gnu.org; Sun, 16 Aug 2009 19:26:53 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:56030) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mcp7k-0006TD-LI for bug-gnu-emacs@gnu.org; Sun, 16 Aug 2009 19:26:53 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7GNQnNK030019; Sun, 16 Aug 2009 16:26:50 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n7GNK4Dd028882; Sun, 16 Aug 2009 16:20:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Dmitry Dzhus Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 16 Aug 2009 23:20:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3794 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 3794-submit@emacsbugs.donarmstrong.com id=B3794.125046452128336 (code B ref 3794); Sun, 16 Aug 2009 23:20:04 +0000 Original-Received: (at 3794) by emacsbugs.donarmstrong.com; 16 Aug 2009 23:15:21 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from sphinx.net.ru (sphinx.net.ru [82.146.58.194]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7GNFI4C028332 for <3794@emacsbugs.donarmstrong.com>; Sun, 16 Aug 2009 16:15:20 -0700 Original-Received: from blizzard (95-24-180-35.broadband.corbina.ru [95.24.180.35]) (authenticated bits=0) by sphinx.net.ru (8.14.3/8.14.2) with ESMTP id n7GNFEX1096929; Mon, 17 Aug 2009 03:15:15 +0400 (MSD) (envelope-from dima@sphinx.net.ru) In-Reply-To: (Herbert Euler's message of "Fri, 31 Jul 2009 16:06:42 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Sun, 16 Aug 2009 19:26:57 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:30277 Archived-At: Herbert Euler wrote: > 4. Killing a gdb buffer won't send the `detach' command to the gdb > process, leaving the debugged process permentally being stopped. This > is often unconvenient. This should be fixed in CVS now: I've changed the code so that killing GUD buffer sends `-target-detach` command to process. > 5. The commands like `while' and `if' cannot be handled correctly. > Combined with problem #4, this leads to a bad use case: After typing > such a command, the gdb process hangs, so the gdb buffer has to be > killed. Then, the debugged process hangs and has to be killed. As a > result, both the debugger and the debugged process have to be > restarted. I think that probably it will be tricky to handle with the current GUD pseudoCLI console we have. This will need further investigating. --=20 Happy Hacking. http://sphinx.net.ru =E3=82=80