unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Barry OReilly <gundaetiapo@gmail.com>
Cc: ohwoeowho@gmail.com, emacs-devel@gnu.org
Subject: Re: Use of dedicated windows in gdb-mi.el
Date: Tue, 10 Feb 2015 18:05:52 +0200	[thread overview]
Message-ID: <831tlx92fz.fsf@gnu.org> (raw)
In-Reply-To: <CAFM41H0SvHjKRj9-4aRN9cxe7tsM++51EQqkqUHvhwYQgf_=JQ@mail.gmail.com>

> Date: Mon, 9 Feb 2015 16:49:43 -0800
> From: Barry OReilly <gundaetiapo@gmail.com>
> 
> > The dedicated windows are an explicit _feature_ of GDB-MI. GDB-MI
> > attempts to provide a faithful emulation of an IDE-like debugging
> > environment, where the source is browsed and edited in the source
> > window, I/O is in the input-output window, registers and breakpoints
> > in their specialized windows, etc. What you describe above is the
> > consequence of that feature.
> 
> gdb-mi is buggy and the usability is poor.

When did you last try it?  If the recent versions still fit the
description of "buggy" and "poor usability", we'd appreciate bug
reports about specific shortcomings, TIA.

> Anecdotally, the most common Emacs FAQ I encounter is about gdb and
> the user is always satisfied once pointed to gud-gdb.

When was the last time you encountered that?

> The "gdb" command ought to invoke what "gud-gdb" does today.

Do you mean UI-wise, or do you mean it should use annotations instead
of the MI interface?

This discussion is about the UI.  The basic UI presented by "M-x gdb"
is almost identical to "gud-gdb", with the exception of popping the
I/O window if and when the debuggee outputs something, and a few minor
niceties like showing breakpoints on the fringes of the window that
displays the source.  Other than that, you get the same comint buffer
for CLI interaction and the same source display with an overlay arrow.
So I'm not sure what usability problems could plague gdb-mi that don't
affect gud-gdb.  Specific bug reports are welcome.

The interface used to communicate with GDB is a separate matter,
unrelated to this discussion.  Again, if you have specific bugs to
report about that, please do.



  reply	other threads:[~2015-02-10 16:05 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-10  0:49 Use of dedicated windows in gdb-mi.el Barry OReilly
2015-02-10 16:05 ` Eli Zaretskii [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-02-24 17:56 Glenn Brown
2015-02-24 18:02 ` Oleh Krehel
2015-02-24 18:31 ` Eli Zaretskii
2015-02-24 22:23   ` Paul Eggert
2015-02-25  3:46     ` Eli Zaretskii
2015-02-25  3:57     ` Stefan Monnier
2015-02-25  6:09       ` Glenn Brown
2015-02-06 18:02 Oleh Krehel
2015-02-06 19:07 ` Eli Zaretskii
2015-02-06 19:14   ` Oleh Krehel
2015-02-06 21:33     ` Eli Zaretskii
2015-02-09  9:19       ` Thibaut Verron
2015-02-09 14:29         ` Stefan Monnier
2015-02-09 14:50           ` Oleh Krehel
2015-02-09 15:51           ` Eli Zaretskii
2015-02-09 18:42           ` martin rudalics
2015-02-09 15:44         ` Eli Zaretskii
2015-02-09 15:57           ` Oleh Krehel
2015-02-09 17:05             ` Eli Zaretskii
2015-02-09 17:22               ` Oleh Krehel
2015-02-09 17:56                 ` Eli Zaretskii
2015-02-09 18:11                   ` Oleh Krehel
2015-02-09 18:26                     ` Drew Adams
2015-02-09 18:39                       ` Oleh Krehel
2015-02-09 18:56                         ` Eli Zaretskii
2015-02-09 19:48                           ` Oleh Krehel
2015-02-09 20:00                             ` Eli Zaretskii
2015-02-09 19:44                         ` Drew Adams
2015-02-09 19:50                           ` Oleh Krehel
2015-02-09 20:01                             ` Eli Zaretskii
2015-02-09 20:09                               ` Oleh Krehel
2015-02-09 20:27                                 ` Eli Zaretskii
2015-02-09 20:33                                   ` Oleh Krehel
2015-02-09 20:44                                     ` Eli Zaretskii
2015-02-09 20:46                                       ` Oleh Krehel
2015-02-10 15:42                                         ` Eli Zaretskii
2015-02-10  2:20                             ` Stefan Monnier
2015-02-10  3:48                               ` Eli Zaretskii
2015-02-10  6:39                                 ` Oleh Krehel
2015-02-10 15:54                                   ` Eli Zaretskii
2015-02-09 18:52                     ` Eli Zaretskii
2015-02-09 18:53                       ` Oleh Krehel
2015-02-09 18:58                       ` Oleh Krehel
2015-02-09 19:20                         ` Eli Zaretskii
2015-02-09 19:47                           ` Oleh Krehel
     [not found]                   ` <<8761bb9cq8.fsf@gmail.com>
     [not found]                     ` <<83zj8m9atc.fsf@gnu.org>
2015-02-09 20:42                       ` Drew Adams
     [not found] <<87h9uynckc.fsf@gmail.com>

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=831tlx92fz.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=gundaetiapo@gmail.com \
    --cc=ohwoeowho@gmail.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).