SublimeGDB icon indicating copy to clipboard operation
SublimeGDB copied to clipboard

Need help setting up SublimeGDB using gdbserver

Open rose-crisostomo opened this issue 7 years ago • 1 comments

I wanted to use gdb via Sublime Text 3. I know the process on how to do it via terminal but I'm confused on how to set it up using the plugin SublimeGDB.

If it helps, here's how I do it via terminal:

Test server: 10.12.1.1

sudo gdbserver :1001 --attach `pidof app`

Build server: 10.135.1.1

gdb
target remote 10.12.1.1:1001

rose-crisostomo avatar Feb 20 '18 04:02 rose-crisostomo

Hi there,

try this for SublimeGDB.sublime-settings

{ "workingdir": "/Users/dev/Documents/tmpFolder/test/", "commandline": "st-util & arm-none-eabi-gdb --interpreter=mi --args /Users/dev/Documents/tmpFolder/test/test.elf", "env": {"DISPLAY": ":100"}, "disassembly_flavor": "att", "attach_cmd" : "-gdb-set target remote 10.12.1.1:1001", }

brainelectronics avatar Jun 12 '20 12:06 brainelectronics