Please help me with SublimeGDB interpreter issue.
OS: CentOS 6.5 x64
gdb: GNU gdb (GDB) Red Hat Enterprise Linux (7.2-64.el6_5.2)
SublimeText 3, build 3065
No user settings to the SublimeGDB plugin
setting of my project:
[code]{
“settings”:
{
“sublimeclang_options”:
"-I${folder:${project_path:core.sublime-project}}/common/",
],
"sublimegdb_sourcedir": "/home/yuri/projects/core/regression/cpp",
"sublimegdb_workingdir": "/home/yuri/projects/core/regression/cpp",
"sublimegdb_commandline": "gdb --interpreter=mi ./exists_b",
"sublimegdb_exec_cmd": "run -m 10.24.2.111 -o exist.txt ",
}
}
[/code]
I get an error from plugin each time when trying to start debug session. Here the error message:
“It seems you’re not running gdb with the “mi” interpreter. Please add #”–interpreter=mi" to your gdb command line"
I tried to start command from “GDB session” window: “2-gdb-show interpreter” in the gdb terminal and here the output:
code
2-gdb-show interpreter
2^error,msg=“Undefined show command: “interpreter”. Try “help show”.”
(gdb)
[/code]
Seems like sublimeGDB plugin doesn’t support my version of the gdb.
Any ideas/workarounds/solutions?
Thanks,
Yurii