Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need help setting up SublimeGDB using gdbserver #104

Open
rose-crisostomo opened this issue Feb 20, 2018 · 1 comment
Open

Need help setting up SublimeGDB using gdbserver #104

rose-crisostomo opened this issue Feb 20, 2018 · 1 comment

Comments

@rose-crisostomo
Copy link

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants