diff options
| author | Nick Roberts | 2005-03-09 23:20:07 +0000 |
|---|---|---|
| committer | Nick Roberts | 2005-03-09 23:20:07 +0000 |
| commit | 2e8c13b41b278bfa9a52c3818ab2fd1c46c363af (patch) | |
| tree | 5396a0d9fb33a5addaafaaffbd8db9bfe74eb95e | |
| parent | a69c614102a07d989b80a99268609298c5e75b73 (diff) | |
| download | emacs-2e8c13b41b278bfa9a52c3818ab2fd1c46c363af.tar.gz emacs-2e8c13b41b278bfa9a52c3818ab2fd1c46c363af.zip | |
(gdb-var-create-handler, gdb-get-location):
Use message-box.
| -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. | |||
| 351 | ,(nth 1 var) nil)))) | 351 | ,(nth 1 var) nil)))) |
| 352 | (setq gdb-var-changed t))) | 352 | (setq gdb-var-changed t))) |
| 353 | (if (re-search-forward "Undefined command" nil t) | 353 | (if (re-search-forward "Undefined command" nil t) |
| 354 | (message "Watching expressions requires gdb 6.0 onwards") | 354 | (message-box "Watching expressions requires gdb 6.0 onwards") |
| 355 | (message "No symbol %s in current context." expr))))) | 355 | (message "No symbol %s in current context." expr))))) |
| 356 | 356 | ||
| 357 | (defun gdb-var-evaluate-expression-handler (varnum changed) | 357 | (defun gdb-var-evaluate-expression-handler (varnum changed) |
| @@ -2119,13 +2119,8 @@ Put in buffer and place breakpoint icon." | |||
| 2119 | (push (cons bptno (match-string 0)) gdb-location-list)) | 2119 | (push (cons bptno (match-string 0)) gdb-location-list)) |
| 2120 | (gdb-resync) | 2120 | (gdb-resync) |
| 2121 | (push (cons bptno "File not found") gdb-location-list) | 2121 | (push (cons bptno "File not found") gdb-location-list) |
| 2122 | (if (eq window-system 'x) | 2122 | (message-box "Cannot find source file for breakpoint location.\n\ |
| 2123 | (x-popup-dialog | 2123 | Add directory to search path for source files using the GDB command, dir.") |
| 2124 | t '("Cannot find source file for breakpoint location.\n\ | ||
| 2125 | Add directory to search path for source files using the GDB command, dir." | ||
| 2126 | ("Ok" . nil))) | ||
| 2127 | (message "Cannot find source file for breakpoint location.\n\ | ||
| 2128 | Add directory to search path for source files using the GDB command, dir.")) | ||
| 2129 | (throw 'file-not-found nil)) | 2124 | (throw 'file-not-found nil)) |
| 2130 | (with-current-buffer | 2125 | (with-current-buffer |
| 2131 | (find-file-noselect (match-string 0)) | 2126 | (find-file-noselect (match-string 0)) |