scripts: sample GDB Linux scripts
This commit is contained in:
parent
4a581981f1
commit
2fe4fdc0db
|
@ -0,0 +1,10 @@
|
||||||
|
# copy this file to firmware directory and rename to '.gdbinit' to make gdb automaticly connect to OpenOCD and upload firmware on start
|
||||||
|
# see gdb.sh
|
||||||
|
|
||||||
|
target extended-remote localhost:3333
|
||||||
|
file build/rusefi.elf
|
||||||
|
|
||||||
|
load
|
||||||
|
set breakpoint auto-hw on
|
||||||
|
set remote hardware-breakpoint-limit 8
|
||||||
|
set remote hardware-watchpoint-limit 4
|
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/sh
|
||||||
|
# nothing special
|
||||||
|
|
||||||
|
arm-none-eabi-gdb $*
|
Loading…
Reference in New Issue