diff options
| author | dearblue <[email protected]> | 2021-01-17 23:52:57 +0900 |
|---|---|---|
| committer | dearblue <[email protected]> | 2021-01-18 00:00:53 +0900 |
| commit | 04a4e59c831738dbc2fa97af70bb24264162e095 (patch) | |
| tree | c1980a8771b02d44fe169cbad4a291c512f23bfb /mrbgems/mruby-bin-debugger | |
| parent | f4a3dc4f07db538403ad719d9563ddda854b7efb (diff) | |
| download | mruby-04a4e59c831738dbc2fa97af70bb24264162e095.tar.gz mruby-04a4e59c831738dbc2fa97af70bb24264162e095.zip | |
Fix build error for mruby-bin-debugger
This is a missing change in #5272.
This issue was reported by @shuujii.
https://github.com/mruby/mruby/pull/5272#issuecomment-761819737
Diffstat (limited to 'mrbgems/mruby-bin-debugger')
| -rw-r--r-- | mrbgems/mruby-bin-debugger/tools/mrdb/mrdb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mrbgems/mruby-bin-debugger/tools/mrdb/mrdb.c b/mrbgems/mruby-bin-debugger/tools/mrdb/mrdb.c index f55e443fe..009cd955c 100644 --- a/mrbgems/mruby-bin-debugger/tools/mrdb/mrdb.c +++ b/mrbgems/mruby-bin-debugger/tools/mrdb/mrdb.c @@ -13,6 +13,7 @@ #include <mruby/class.h> #include <mruby/opcode.h> #include <mruby/variable.h> +#include <mruby/proc.h> #include "mrdb.h" #include "apibreak.h" @@ -526,7 +527,7 @@ check_method_breakpoint(mrb_state *mrb, const mrb_irep *irep, const mrb_code *pc sym = irep->syms[insn.b]; break; case OP_SUPER: - c = mrb->c->ci->target_class->super; + c = mrb_vm_ci_target_class(mrb->c->ci)->super; sym = mrb->c->ci->mid; break; default: |
