File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -89,6 +89,12 @@ This can be changed in a debugging session with the command `gdb-watchers-toggle
89
89
:type 'boolean
90
90
:version " 26.1" )
91
91
92
+ (defcustom gdb-executable-name " gdb"
93
+ " GDB executable name or path."
94
+ :group 'gdb
95
+ :type 'string
96
+ :version " 26.2" )
97
+
92
98
(defcustom gdb-debug nil
93
99
" List of debug symbols, which will enable different components.
94
100
Possible values are:
@@ -1117,7 +1123,7 @@ HAS-CHILDREN should be t when this node has children."
1117
1123
(setq gdb--omit-console-output nil )
1118
1124
(gdb-comint-mode)
1119
1125
(let ((process-connection-type nil ))
1120
- (make-comint-in-buffer " GDB" buffer " gdb" nil " -i=mi"
1126
+ (make-comint-in-buffer " GDB" buffer gdb-executable-name nil " -i=mi"
1121
1127
(if gdb-ignore-gdbinit " -nx" " " )))
1122
1128
1123
1129
(let ((proc (get-buffer-process buffer)))
You can’t perform that action at this time.
0 commit comments