unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Guilhem Bichot <guilhem.bichot@oracle.com>
Cc: 23720@debbugs.gnu.org
Subject: bug#23720: 25.0.94; Issues with GUD (gdb-mi) after upgrade from Emacs 23 to 24/25
Date: Thu, 09 Jun 2016 15:17:58 +0300	[thread overview]
Message-ID: <83d1nqr1xl.fsf@gnu.org> (raw)
In-Reply-To: <5759257F.9030502@oracle.com> (message from Guilhem Bichot on Thu, 9 Jun 2016 10:14:55 +0200)

> Cc: 23720@debbugs.gnu.org
> From: Guilhem Bichot <guilhem.bichot@oracle.com>
> Date: Thu, 9 Jun 2016 10:14:55 +0200
> 
> >     M-x gud-gdb RET
> >
> > and will have your familiar debugging environment back.
> 
> Not quite. Even with gud-gdb, some scenarios described below (ISSUE 2) 
> still happen:
> - with emacs25 C-x SPC doesn't set a breakpoint; with emacs23 it does.
> - Same for "clicking on the fringe doesn't set breakpoint".
> - the Gud menu has lost "display other windows"

Like I said, I believe this is because your program is running.  When
I start the debugger, before the "run" command, breakpoints do work as
expected.

> Before digging more in the gdb-mi discussion below, let's address one 
> striking point, to be sure we're talking about the same software:
> 
> >> ISSUE 1: STOPPING
> >> =================
> 
> >> Suggestion: make the STOP button do as Signals->Break does
> >> (=send SIGINT), and like it did in emacs23.
> >
> > There's no STOP button on the gdb-mi toolbar, I guess you mean add it?
> 
> There is such button; after running "M-x gdb" (which says it will run 
> "gdb -i=mi", so I imagine it's gdb-mi), there is a green GO button; when 
> running the program, this button becomes a red STOP button. Attached is 
> a screenshot, with the mouse pointer on the button.

This button invokes -exec-interrupt when you use gdb-mi, which is the
equivalent of the 'interrupt' command of GDB.





  reply	other threads:[~2016-06-09 12:17 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-07  9:30 bug#23720: 25.0.94; Issues with GUD (gdb-mi) after upgrade from Emacs 23 to 24/25 Guilhem Bichot
2016-06-07 17:15 ` Eli Zaretskii
2016-06-07 18:54   ` Eli Zaretskii
2016-06-09  7:42     ` Guilhem Bichot
2016-06-10  9:00       ` Eli Zaretskii
2020-08-24 18:15         ` Lars Ingebrigtsen
2016-06-09  8:14   ` Guilhem Bichot
2016-06-09 12:17     ` Eli Zaretskii [this message]
2016-06-09 13:46       ` Guilhem Bichot
2016-06-09 14:12         ` Eli Zaretskii
2016-06-09 14:30           ` Guilhem Bichot
2016-06-09 14:36             ` Eli Zaretskii
2016-06-10  8:41               ` Guilhem Bichot
2016-06-10  9:52                 ` Eli Zaretskii

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=83d1nqr1xl.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=23720@debbugs.gnu.org \
    --cc=guilhem.bichot@oracle.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).