quarnster / SublimeGDB

GDB integration with Sublime Text 2
zlib License
331 stars 92 forks source link

Need help setting up SublimeGDB using gdbserver #104

Open rose-crisostomo opened 6 years ago

rose-crisostomo commented 6 years ago

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
brainelectronics commented 4 years ago

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", }