diff options
| author | Yukihiro Matsumoto <[email protected]> | 2012-11-03 01:42:19 +0900 |
|---|---|---|
| committer | Yukihiro Matsumoto <[email protected]> | 2012-11-03 01:42:19 +0900 |
| commit | 5987f67a8d219dbe251a68941710c8192383d3d5 (patch) | |
| tree | 4ee5e6378b65a1c770b36b5a3be0e88bf38fe7cf /tools | |
| parent | e0aa96a6826c5627e7cead998d3fe5f865930c35 (diff) | |
| download | mruby-5987f67a8d219dbe251a68941710c8192383d3d5.tar.gz mruby-5987f67a8d219dbe251a68941710c8192383d3d5.zip | |
ignore cfunc method in backtrace
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/mruby/mruby.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/mruby/mruby.c b/tools/mruby/mruby.c index 61c2b1445..d9386f6e2 100644 --- a/tools/mruby/mruby.c +++ b/tools/mruby/mruby.c @@ -182,8 +182,9 @@ showcallinfo(mrb_state *mrb) line = -1; if (MRB_PROC_CFUNC_P(ci->proc)) { - filename = "(cfunc)"; - } else { + continue; + } + else { mrb_irep *irep = ci->proc->body.irep; if (irep->filename != NULL) filename = irep->filename; |
