Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
(gdb) run
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /home/daniel/Dev/rbx-llvm/bin/rbx
[Thread debugging using libthread_db enabled]
[New Thread 0x7f3468a41700 (LWP 28200)]
[Switching to Thread 0x7f3468a41700 (LWP 28200)]
Breakpoint 2, VMMethod (this=0x1e1e810, state=0x1de9580, meth=0x7f346720a518)
at vm/vmmethod.cpp:131
131 call_count = 0;
(gdb) p state->shared.config.jit_enabled
$18 = {<config::ConfigItem> = {_vptr.ConfigItem = 0x1218ab0,
name_ = 0xd73e04 "jit.enabled",
description_ = 0xd73f38 "Whether or not to use the dynamic JIT",
set_ = false}, value = false}
(gdb) p (bool)state->shared.config.jit_enabled
$19 = 176
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment