added more scripts and another readme for gdb scripts
parent
277a2062c2
commit
c6f91bc75f
@ -0,0 +1,5 @@
|
|||||||
|
# GDB Scripts
|
||||||
|
|
||||||
|
`generic_*.gdb` scripts are designed to be used with a running openocd server. The hardware on that openocd server is mostly irrelevant to these scripts.
|
||||||
|
|
||||||
|
`bmp_*.gdb` scripts are meant to be used with the [black magic debugger](https://github.com/blackmagic-debug/blackmagic).
|
@ -0,0 +1,7 @@
|
|||||||
|
set pagination off
|
||||||
|
set logging file gdb.txt
|
||||||
|
set logging on
|
||||||
|
set mem inaccessible-by-default off
|
||||||
|
target extended-remote localhost:3333
|
||||||
|
monitor reset halt
|
||||||
|
load
|
@ -0,0 +1,11 @@
|
|||||||
|
set pagination off
|
||||||
|
set logging file gdb.txt
|
||||||
|
set logging redirect on
|
||||||
|
set logging on
|
||||||
|
set remotetimeout 1
|
||||||
|
target extended-remote localhost:3333
|
||||||
|
load
|
||||||
|
monitor reset
|
||||||
|
q
|
||||||
|
y
|
||||||
|
|
Loading…
Reference in New Issue