aboutsummaryrefslogtreecommitdiff
path: root/util.gdb
diff options
context:
space:
mode:
Diffstat (limited to 'util.gdb')
-rw-r--r--util.gdb6
1 files changed, 6 insertions, 0 deletions
diff --git a/util.gdb b/util.gdb
new file mode 100644
index 0000000..d1dbb44
--- /dev/null
+++ b/util.gdb
@@ -0,0 +1,6 @@
+define show
+ echo -- regs --\n
+ info reg rdi rsi rsp rbp
+ echo -- stack --
+ x/10a $rsp
+end