simplify debugging

This commit is contained in:
Wolfgang Hottgenroth 2019-02-11 13:43:39 +01:00
parent ca8ab8628a
commit 2b67463a9b
Signed by: wn
GPG Key ID: B586EAFCDF2F65F4
2 changed files with 9 additions and 0 deletions

View File

@ -29,4 +29,11 @@ clean:
upload: blinky1.elf upload: blinky1.elf
mspdebug rf2500 "prog blinky1.elf" mspdebug rf2500 "prog blinky1.elf"
.PHONY: debug
debug: upload
mspdebug rf2500 gdb &
ddd --debugger "msp430-gdb -x blinky1.gdb"

2
blinky1.gdb Normal file
View File

@ -0,0 +1,2 @@
target remote localhost:2000
file blinky1.elf