diff options
| author | Nick Roberts | 2011-11-27 21:33:25 +1300 |
|---|---|---|
| committer | Nick Roberts | 2011-11-27 21:33:25 +1300 |
| commit | c3f1c606c9818ca0b5eaa7929ef3b7a60dbf6088 (patch) | |
| tree | 93b0cc3310e5417af3bf653ccb7863fcf39e21ac /lisp | |
| parent | b63a8e8ed5cd5c36ea420c417de2a51101f1a411 (diff) | |
| download | emacs-c3f1c606c9818ca0b5eaa7929ef3b7a60dbf6088.tar.gz emacs-c3f1c606c9818ca0b5eaa7929ef3b7a60dbf6088.zip | |
progmodes/gdb-mi.el (gdb-init-1): Condition execution of gdb-get-source-file-list on gdb-create-source-file-list.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/progmodes/gdb-mi.el | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 32de942b038..7ca29e33023 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2011-11-27 Nick Roberts <nickrob@snap.net.nz> | ||
| 2 | |||
| 3 | * progmodes/gdb-mi.el (gdb-init-1): Condition execution of | ||
| 4 | gdb-get-source-file-list on gdb-create-source-file-list. | ||
| 5 | |||
| 1 | 2011-11-26 Eli Zaretskii <eliz@gnu.org> | 6 | 2011-11-26 Eli Zaretskii <eliz@gnu.org> |
| 2 | 7 | ||
| 3 | * whitespace.el (whitespace-newline): Use a different foreground | 8 | * whitespace.el (whitespace-newline): Use a different foreground |
diff --git a/lisp/progmodes/gdb-mi.el b/lisp/progmodes/gdb-mi.el index a1a41bd0b1b..ba3f938d718 100644 --- a/lisp/progmodes/gdb-mi.el +++ b/lisp/progmodes/gdb-mi.el | |||
| @@ -873,13 +873,13 @@ detailed description of this mode. | |||
| 873 | (gdb-input (list "-gdb-set non-stop 1" 'gdb-non-stop-handler))) | 873 | (gdb-input (list "-gdb-set non-stop 1" 'gdb-non-stop-handler))) |
| 874 | 874 | ||
| 875 | ;; find source file and compilation directory here | 875 | ;; find source file and compilation directory here |
| 876 | (gdb-input | ||
| 877 | ; Needs GDB 6.2 onwards. | ||
| 878 | (list "-file-list-exec-source-files" 'gdb-get-source-file-list)) | ||
| 879 | (if gdb-create-source-file-list | 876 | (if gdb-create-source-file-list |
| 880 | (gdb-input | 877 | (gdb-input |
| 878 | ; Needs GDB 6.2 onwards. | ||
| 879 | (list "-file-list-exec-source-files" 'gdb-get-source-file-list))) | ||
| 880 | (gdb-input | ||
| 881 | ; Needs GDB 6.0 onwards. | 881 | ; Needs GDB 6.0 onwards. |
| 882 | (list "-file-list-exec-source-file" 'gdb-get-source-file))) | 882 | (list "-file-list-exec-source-file" 'gdb-get-source-file)) |
| 883 | (gdb-input | 883 | (gdb-input |
| 884 | (list "-gdb-show prompt" 'gdb-get-prompt))) | 884 | (list "-gdb-show prompt" 'gdb-get-prompt))) |
| 885 | 885 | ||