arch linux
tools GNU gdb (GDB) 8.0.1 GNU ld (GNU Binutils) 2.29.1 Open On-Chip Debugger 0.10.0+dev-00226-g1c2e3d41d (2017-12-21-21:14)
make rust work rustup default nightly
install atollic (commented out licence server and dependency) https://forum.atollic.com/viewtopic.php?f=3&t=943
RustDT
-- problems problem, no licence manager, should we use usb or floating (guess floating)
-- problems and questions
1 can we get floating licence for reasearch/development (with full features)
1.1 for now the arm-atollic-eabi-gdb is replaced by /usr/bin/arm-none-eabi-gdb, but maybe with a full version this can be fixed by a proper setting
yes, we need a newer version of gdb as the pretty printing for Rust structs is much better
2 cannot restart debugging (nothing happens), in fact the one need to Terminate and Remove, not even Terminate and Relaunch works
2.1
workaround, do not exit debugger, just load
in gdb), use a script r
(for reload) for that and so r
in the gdb console
the content of r
is:
set confirm off
mon reset init
load
mon reset init
3 ITM debugging
-- general comments 1 good use of the eclipse platform (works in general better than GNU ARM Eclipse) 2 nice SFR support (works even well with tiling wms) 3 poor gdb prompt (as of gdb 8 it should be possible to get tabbing to work... that would be a huge boost in productivity) 4 nice that gdb prompt is (usuall) synchronized with eclipse debug views (source/assembly) 4.1 when scrolling the disassm view the current pc is lost (needs to be updated in view)