diff options
author | Nick Roberts <nickrob@snap.net.nz> | 2005-03-09 23:20:07 +0000 |
---|---|---|
committer | Nick Roberts <nickrob@snap.net.nz> | 2005-03-09 23:20:07 +0000 |
commit | 2e8c13b41b278bfa9a52c3818ab2fd1c46c363af (patch) | |
tree | 5396a0d9fb33a5addaafaaffbd8db9bfe74eb95e /lisp/progmodes/gdb-ui.el | |
parent | a69c614102a07d989b80a99268609298c5e75b73 (diff) | |
download | emacs-2e8c13b41b278bfa9a52c3818ab2fd1c46c363af.tar.gz emacs-2e8c13b41b278bfa9a52c3818ab2fd1c46c363af.tar.bz2 emacs-2e8c13b41b278bfa9a52c3818ab2fd1c46c363af.zip |
(gdb-var-create-handler, gdb-get-location):
Use message-box.
Diffstat (limited to 'lisp/progmodes/gdb-ui.el')
-rw-r--r-- | lisp/progmodes/gdb-ui.el | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/lisp/progmodes/gdb-ui.el b/lisp/progmodes/gdb-ui.el index a040395acb9..fea1bbce69a 100644 --- a/lisp/progmodes/gdb-ui.el +++ b/lisp/progmodes/gdb-ui.el @@ -351,7 +351,7 @@ detailed description of this mode. ,(nth 1 var) nil)))) (setq gdb-var-changed t))) (if (re-search-forward "Undefined command" nil t) - (message "Watching expressions requires gdb 6.0 onwards") + (message-box "Watching expressions requires gdb 6.0 onwards") (message "No symbol %s in current context." expr))))) (defun gdb-var-evaluate-expression-handler (varnum changed) @@ -2119,13 +2119,8 @@ Put in buffer and place breakpoint icon." (push (cons bptno (match-string 0)) gdb-location-list)) (gdb-resync) (push (cons bptno "File not found") gdb-location-list) - (if (eq window-system 'x) - (x-popup-dialog - t '("Cannot find source file for breakpoint location.\n\ -Add directory to search path for source files using the GDB command, dir." - ("Ok" . nil))) - (message "Cannot find source file for breakpoint location.\n\ -Add directory to search path for source files using the GDB command, dir.")) + (message-box "Cannot find source file for breakpoint location.\n\ +Add directory to search path for source files using the GDB command, dir.") (throw 'file-not-found nil)) (with-current-buffer (find-file-noselect (match-string 0)) |