Skip to content

Commit 41c4c61

Browse files
committed
gdb watch setup
1 parent ff817c5 commit 41c4c61

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

watch-mapping.gdb

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
starti < echo.bf "Input"
2+
display *(char* (*)[16]) $rsi
3+
display (int) $r13
4+
display (char*) $rax
5+
display *(char**) $rdx
6+
display *(char**) ($rdx-8)
7+
display *(char**) ($rbp-8)
8+
b preprocess_loops

watch.gdb

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
starti < echo.bf "Input"
2+
display/s $r11
3+
display/s $r13
4+
display/xb $r14
5+
display (char*) $r14
6+
display *(char* (*)[16]) $r15
7+
b interpret_instruction

0 commit comments

Comments
 (0)