From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: other weird gdb-mi problems Date: Thu, 27 Aug 2009 10:49:26 +0900 Message-ID: <87eiqygh5l.fsf@catnip.gol.com> References: <83vdkacx2k.fsf@gnu.org> <19093.50389.972379.110708@totara.tehura.co.nz> Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1251337795 10706 80.91.229.12 (27 Aug 2009 01:49:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 27 Aug 2009 01:49:55 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org To: nickrob@snap.net.nz (Nick Roberts) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 27 03:49:48 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MgU7X-0005Me-VC for ged-emacs-devel@m.gmane.org; Thu, 27 Aug 2009 03:49:48 +0200 Original-Received: from localhost ([127.0.0.1]:44962 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MgU7X-00079R-DT for ged-emacs-devel@m.gmane.org; Wed, 26 Aug 2009 21:49:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MgU7S-00079B-Ih for emacs-devel@gnu.org; Wed, 26 Aug 2009 21:49:42 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MgU7N-00078p-7L for emacs-devel@gnu.org; Wed, 26 Aug 2009 21:49:41 -0400 Original-Received: from [199.232.76.173] (port=51320 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MgU7N-00078m-2w for emacs-devel@gnu.org; Wed, 26 Aug 2009 21:49:37 -0400 Original-Received: from smtp11.dentaku.gol.com ([203.216.5.73]:45160) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MgU7H-0007v2-8S; Wed, 26 Aug 2009 21:49:31 -0400 Original-Received: from 218.231.109.79.eo.eaccess.ne.jp ([218.231.109.79] helo=catnip.gol.com) by smtp11.dentaku.gol.com with esmtpa (Dentaku) id 1MgU7E-0001XO-0O; Thu, 27 Aug 2009 10:49:28 +0900 Original-Received: by catnip.gol.com (Postfix, from userid 1000) id F142DDFBE; Thu, 27 Aug 2009 10:49:26 +0900 (JST) System-Type: x86_64-unknown-linux-gnu In-Reply-To: <19093.50389.972379.110708@totara.tehura.co.nz> (Nick Roberts's message of "Thu, 27 Aug 2009 11:27:17 +1200") Original-Lines: 21 X-Virus-Scanned: ClamAV GOL (outbound) X-Abuse-Complaints: abuse@gol.com X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:114652 Archived-At: nickrob@snap.net.nz (Nick Roberts) writes: > It's an Emacs problem. The CLI commands "up" and "down", don't emit any > GDB/MI notifications so Emacs doen't know that the display needs updating. It > could check the selected frame after every command but that seems inefficient. > I have proposed using notifications for changes in state in the past on the > GDB mailing list, e.g., > http://sourceware.org/ml/gdb-patches/2008-04/msg00377.html but there hasn't > been much interest. hmm, if MI is supposed to be a useful interface, isn't gdb not giving notice of its state changes a bug with gdb too? > I think this is because many frontends don't use a > console like the GUD buffer. Argh, the mouth-breathers strike again ... :( -Miles -- My books focus on timeless truths. -- Donald Knuth