diff options
| -rw-r--r-- | lisp/progmodes/gdb-ui.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/progmodes/gdb-ui.el b/lisp/progmodes/gdb-ui.el index b969515e2fc..9f527d12f9f 100644 --- a/lisp/progmodes/gdb-ui.el +++ b/lisp/progmodes/gdb-ui.el | |||
| @@ -571,9 +571,9 @@ With arg, use separate IO iff arg is positive." | |||
| 571 | 'gdb-set-gud-minor-mode-existing-buffers-1)) | 571 | 'gdb-set-gud-minor-mode-existing-buffers-1)) |
| 572 | (setq gdb-locals-font-lock-keywords gdb-locals-font-lock-keywords-2)) | 572 | (setq gdb-locals-font-lock-keywords gdb-locals-font-lock-keywords-2)) |
| 573 | 573 | ||
| 574 | ;; find source file and compilation directory here | 574 | ;; Find source file and compilation directory here. |
| 575 | (gdb-enqueue-input (list "server list main\n" 'ignore)) ; C program | 575 | ;; Works for C, C++, Fortran and Ada but not Java (GDB 6.4) |
| 576 | (gdb-enqueue-input (list "server list MAIN__\n" 'ignore)) ; Fortran program | 576 | (gdb-enqueue-input (list "server list\n" 'ignore)) |
| 577 | (gdb-enqueue-input (list "server info source\n" 'gdb-source-info)) | 577 | (gdb-enqueue-input (list "server info source\n" 'gdb-source-info)) |
| 578 | 578 | ||
| 579 | (run-hooks 'gdba-mode-hook)) | 579 | (run-hooks 'gdba-mode-hook)) |