For now we're using string mode for gdb by default. there're two ways to support mi2 mode
- run
gdbmiparser.parse_response to parse the output
- use
gdbmi = GdbController() instead of bare subprocess.popen
Prefer to use the first one. make the gdb write blocking as well, like the openocd one.
For now we're using string mode for gdb by default. there're two ways to support mi2 mode
gdbmiparser.parse_responseto parse the outputgdbmi = GdbController()instead of bare subprocess.popenPrefer to use the first one. make the gdb write blocking as well, like the openocd one.