all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "William M. (Mike) Miller" <william.m.miller@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Issues with gdb -i=mi
Date: Thu, 26 Jul 2012 17:24:36 -0400	[thread overview]
Message-ID: <CAH5rLZW+PL3i5MH5KxP8mnDhhy4Px4mbcq4vnm1vykbegTEAgw@mail.gmail.com> (raw)
In-Reply-To: <CAH5rLZVBRftOTcM_xKFHaMQ8ke+DENw2RFcE5CYGdO1dWORrsw@mail.gmail.com>

On Mon, Jul 23, 2012 at 9:34 AM, William M. (Mike) Miller
<william.m.miller@gmail.com> 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



      reply	other threads:[~2012-07-26 21:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-23 13:34 Issues with gdb -i=mi William M. (Mike) Miller
2012-07-26 21:24 ` William M. (Mike) Miller [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAH5rLZW+PL3i5MH5KxP8mnDhhy4Px4mbcq4vnm1vykbegTEAgw@mail.gmail.com \
    --to=william.m.miller@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.