[OSX] Cross-debugger help needed
Posted: Sun Nov 22, 2015 12:42 am
Hi,
I am trying to debug a binary on an ARM board using GCCArm on a Mac.
I created a CodeLite project using "external makefile" and the binary is created correctly.
I'd like to have source-level debugging using CodeLite GUI connected to jlinkgdbserver and arm-none-eabi-gdb.
Manually, I'd start a terminal window and run:
jlinkgdbserver -device nrf51822 -if swd -speed 4000 -noir -port 2331
Then from another terminal window I'd run:
arm-none-eabi-gdb
and load my binary and connect using
(gdb) target remote localhost:2331
(gdb) file filename.hex
(gdb) continue
How can I achieve this under CodeLite to have a nice GUI when I debug?
Thanks so much for any guide or tutorial,
Itamar
I am trying to debug a binary on an ARM board using GCCArm on a Mac.
I created a CodeLite project using "external makefile" and the binary is created correctly.
I'd like to have source-level debugging using CodeLite GUI connected to jlinkgdbserver and arm-none-eabi-gdb.
Manually, I'd start a terminal window and run:
jlinkgdbserver -device nrf51822 -if swd -speed 4000 -noir -port 2331
Then from another terminal window I'd run:
arm-none-eabi-gdb
and load my binary and connect using
(gdb) target remote localhost:2331
(gdb) file filename.hex
(gdb) continue
How can I achieve this under CodeLite to have a nice GUI when I debug?
Thanks so much for any guide or tutorial,
Itamar