all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Glenn Morris <rgm@gnu.org>
Cc: 25959@debbugs.gnu.org
Subject: bug#25959: No stop button in gdb toolbar
Date: Sat, 04 Mar 2017 10:54:30 +0200	[thread overview]
Message-ID: <83k285l8vt.fsf@gnu.org> (raw)
In-Reply-To: <qtmvd27zvp.fsf@fencepost.gnu.org> (message from Glenn Morris on Fri, 03 Mar 2017 17:35:06 -0500)

> From: Glenn Morris <rgm@gnu.org>
> Date: Fri, 03 Mar 2017 17:35:06 -0500
> 
> Glenn Morris wrote:
> 
> > emacs -Q -f gdb
> > gdb -i=mi a.out RET
> >
> > Choose "Go" button in toolbar, program starts running, "Go" disappears.
> > Now there should be a "Stop" button, but there isn't.
> >
> > gdb-show-stop-p returns nil because gdb-running-threads-count is 0.
> >
> > It works in 24.3, and fails in 24.4 through to current master.
> 
> Reverting 2e78e6a fixes this for me, so I've cc'd the author of that change.

What version of GDB do you have?

FWIW, the "Stop" button does appear for me, so this could depend on
whether GDB and/or the target supports non-stop execution (mine
doesn't).  My GDB version is 7.12, for the record.

Anyway, I guess reverting only the first hunk of 2e78e6a suffices?





  reply	other threads:[~2017-03-04  8:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-03 21:28 bug#25959: No stop button in gdb toolbar Glenn Morris
2017-03-03 22:35 ` Glenn Morris
2017-03-04  8:54   ` Eli Zaretskii [this message]
2017-03-06  0:00     ` Glenn Morris
2017-03-06  3:38       ` Eli Zaretskii
2017-03-06 18:01         ` Glenn Morris
2017-03-06 18:53           ` Eli Zaretskii
2017-03-06 19:41             ` Glenn Morris

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=83k285l8vt.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=25959@debbugs.gnu.org \
    --cc=rgm@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.