all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Yuri Khan <yuri.v.khan@gmail.com>, 18294@debbugs.gnu.org
Subject: bug#18294: 24.3; gud and/or gdb: Add hooks to detect when a source file is visited during debugging
Date: Thu, 21 Aug 2014 11:24:27 +0200	[thread overview]
Message-ID: <53F5BACB.3060804@gmx.at> (raw)
In-Reply-To: <CAP_d_8U6xVAzFYkzjz1ZKb_rGkTgdjo52vNACTV=zS2WDQqJ9w@mail.gmail.com>

 > I am writing a minor mode to control the debugger from a source buffer
 > by pressing single-letter keystrokes, e.g. "n" for gud-next, etc. The
 > mode itself is very simple — it has a keymap, and it sets the buffer
 > read-only while it is active so as to free these keys from their usual
 > 'self-insert-command' bindings.
[...]
 > It would be nice if gdb-mi.el provided hooks that I could add to
 > instead of advising gdb functions.

I'd like such a thing.  But wouldn't it be easier to do this right in
gdb-mi.el?  All I'd need is a simple key combination to toggle this
behavior off whenever I want to modify code on the fly.  The next "run"
would then turn the behavior on again.

martin






  reply	other threads:[~2014-08-21  9:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-19  4:59 bug#18294: 24.3; gud and/or gdb: Add hooks to detect when a source file is visited during debugging Yuri Khan
2014-08-21  9:24 ` martin rudalics [this message]
2014-08-24 10:32   ` Yuri Khan
2014-08-29  8:59     ` martin rudalics

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=53F5BACB.3060804@gmx.at \
    --to=rudalics@gmx.at \
    --cc=18294@debbugs.gnu.org \
    --cc=yuri.v.khan@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 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.