From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "William M. (Mike) Miller" Newsgroups: gmane.emacs.help Subject: Re: Issues with gdb -i=mi Date: Thu, 26 Jul 2012 17:24:36 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1343337886 6546 80.91.229.3 (26 Jul 2012 21:24:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 26 Jul 2012 21:24:46 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jul 26 23:24:45 2012 Return-path: Envelope-to: geh-help-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 1SuVY4-0000tf-DG for geh-help-gnu-emacs@m.gmane.org; Thu, 26 Jul 2012 23:24:44 +0200 Original-Received: from localhost ([::1]:50332 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SuVY3-0003Wl-OJ for geh-help-gnu-emacs@m.gmane.org; Thu, 26 Jul 2012 17:24:43 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:40695) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SuVXz-0003WS-0Y for help-gnu-emacs@gnu.org; Thu, 26 Jul 2012 17:24:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SuVXx-0005Gv-WF for help-gnu-emacs@gnu.org; Thu, 26 Jul 2012 17:24:38 -0400 Original-Received: from mail-lpp01m010-f41.google.com ([209.85.215.41]:64110) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SuVXx-0005Gd-MU for help-gnu-emacs@gnu.org; Thu, 26 Jul 2012 17:24:37 -0400 Original-Received: by lahi5 with SMTP id i5so1845438lah.0 for ; Thu, 26 Jul 2012 14:24:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=kX/H6qKqYHCcCFU+6oQ6wP8UIwuWyAW+TiaFpuIOs/4=; b=Tq+epkZ0ux1desUTHe5j/4JZ55BFP5w1u2veCMpt2cByW5oq4AxIwr8HqidbI8OaLv h6NPbqYW6MOttG99XAp0pJgo7LE+Xmz1RlNrBLC8YgkTbp2XRZSg37QGGx28xQKJfMCz EgRX2HGA3sXQac9VlDiTJAGKNYq3Tmfv3+1mcIM10rDMq/KnHwUQhLOnLOMjqa428rm8 q/wgV/NQjJc5GWjV07pS3xuJ4xWrStext9PyoH0elnL3AtCXI9BMovWUrTEHziqTicVR 6FFhk+UzhIreuNASZzAio+1aace+fIsOU2GinhfNTPxq5J0ttDSuPN219+lAzbJosQbs 9R7Q== Original-Received: by 10.112.100.7 with SMTP id eu7mr319253lbb.105.1343337876140; Thu, 26 Jul 2012 14:24:36 -0700 (PDT) Original-Received: by 10.114.57.242 with HTTP; Thu, 26 Jul 2012 14:24:36 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.215.41 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:86086 Archived-At: On Mon, Jul 23, 2012 at 9:34 AM, William M. (Mike) Miller wrote: > I've recently upgraded to emacs 24.0.96.1 (the latest available on > Cygwin), which changed the gdb interface from --annotate to -i=mi. > (I'm using gdb 7.3.50.20111026-cvs (cygwin-special), also, the > latest available.) This has caused a couple of issues with the > information that appears in the gud interaction buffer. > > If, for example, I step through my program by typing the "n" > command and hitting RETURN repeatedly, each step echoes the > text of the source line in the buffer, just as if I were using gdb > directly in an xterm. That doesn't happen if I click the mouse on > the "next" graphical button, which is an acceptable alternative. > > However, if I use the graphical button for "run" or "continue," when > I hit a breakpoint the current function (including parameter values) > is not displayed in the gud interaction buffer. To get that to display, > I have to type "run" or "c" in the buffer instead of using the > graphical button. > > Can this be fixed with some configuration settings, or is it a bug > that (hopefully) will be fixed when more recent versions of emacs > and/or gdb become available? Just curious whether the silence on this is because no one else is experiencing these symptoms (which gives me hope that they've been fixed and will eventually trickle down to Cygwin) or whether people are seeing the same thing and it just doesn't bother them. I can certainly live with typing the commands for run, step, and continue and using the mouse for "next," but it would be nicer if I could use either the gud interaction buffer or the graphical buttons. -- William M. (Mike) Miller | Edison Design Group william.m.miller@gmail.com