summaryrefslogtreecommitdiff
path: root/tools/gdbinit
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2022-10-12 16:46:36 +1100
committerjacqueline <me@jacqueline.id.au>2022-10-12 16:46:36 +1100
commitdab6533ae09fff3c9611f84c5897d7f7cbfd584f (patch)
treef6186622505bc9161057ccefae1c95814913e040 /tools/gdbinit
parent7e9a7393bbcce1395c185a78c1d97abe45d4f11a (diff)
downloadtangara-fw-dab6533ae09fff3c9611f84c5897d7f7cbfd584f.tar.gz
add gdb script for attaching to the esp32 openocd
Diffstat (limited to 'tools/gdbinit')
-rw-r--r--tools/gdbinit6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/gdbinit b/tools/gdbinit
new file mode 100644
index 00000000..59dbe0a3
--- /dev/null
+++ b/tools/gdbinit
@@ -0,0 +1,6 @@
+target extended-remote :3333
+set remote hardware-watchpoint-limit 2
+mon reset halt
+flushregs
+thb app_main
+c