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: Issues with gdb -i=mi
Date: Mon, 23 Jul 2012 09:34:42 -0400	[thread overview]
Message-ID: <CAH5rLZVBRftOTcM_xKFHaMQ8ke+DENw2RFcE5CYGdO1dWORrsw@mail.gmail.com> (raw)

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?

-- 
William M. (Mike) Miller | Edison Design Group
william.m.miller@gmail.com



             reply	other threads:[~2012-07-23 13:34 UTC|newest]

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

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=CAH5rLZVBRftOTcM_xKFHaMQ8ke+DENw2RFcE5CYGdO1dWORrsw@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.