aboutsummaryrefslogtreecommitdiff
path: root/util.gdb
diff options
context:
space:
mode:
authorjohannst <johannes.stoelp@gmail.com>2020-09-17 00:06:28 +0200
committerjohannst <johannes.stoelp@gmail.com>2020-09-17 00:06:28 +0200
commitdfa05a97e083122a788c0ffb5c9e26888fe3dcd1 (patch)
tree7655b3c4ff7ff5bda43a6a26bcbb406e9bf2999f /util.gdb
parent4e784fc5668909789fa90b8448116b096130740f (diff)
downloadmatcha-threads-dfa05a97e083122a788c0ffb5c9e26888fe3dcd1.tar.gz
matcha-threads-dfa05a97e083122a788c0ffb5c9e26888fe3dcd1.zip
setup new stack + basic yielding between two stacks
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