]> git.eshelyaron.com Git - emacs.git/commitdiff
(gdb-mouse-set-clear-breakpoint):
authorNick Roberts <nickrob@snap.net.nz>
Thu, 3 Apr 2008 08:38:51 +0000 (08:38 +0000)
committerNick Roberts <nickrob@snap.net.nz>
Thu, 3 Apr 2008 08:38:51 +0000 (08:38 +0000)
Fix in disassembly buffer (regression in 22.2).

lisp/progmodes/gdb-ui.el

index 866a043982fdf99a15c4a697707896c09caf9fd7..c53d1092e00ff22bc745026f0d617ac3e95e058d 100644 (file)
@@ -1978,7 +1978,7 @@ static char *magick[] = {
   (interactive "e")
   (mouse-minibuffer-check event)
   (let ((posn (event-end event)))
-    (if (buffer-file-name)
+    (if (or (buffer-file-name) (eq major-mode 'gdb-assembler-mode))
        (if (numberp (posn-point posn))
            (with-selected-window (posn-window posn)
              (save-excursion