diff options
Diffstat (limited to 'src/lj_gdbjit.c')
-rw-r--r-- | src/lj_gdbjit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_gdbjit.c b/src/lj_gdbjit.c index 28e063fb..fbaafc04 100644 --- a/src/lj_gdbjit.c +++ b/src/lj_gdbjit.c | |||
@@ -731,7 +731,7 @@ void lj_gdbjit_addtrace(jit_State *J, GCtrace *T) | |||
731 | ctx.spadj = CFRAME_SIZE_JIT + T->spadjust; | 731 | ctx.spadj = CFRAME_SIZE_JIT + T->spadjust; |
732 | lua_assert(startpc >= proto_bc(pt) && startpc < proto_bc(pt) + pt->sizebc); | 732 | lua_assert(startpc >= proto_bc(pt) && startpc < proto_bc(pt) + pt->sizebc); |
733 | ctx.lineno = lj_debug_line(pt, proto_bcpos(pt, startpc)); | 733 | ctx.lineno = lj_debug_line(pt, proto_bcpos(pt, startpc)); |
734 | ctx.filename = strdata(proto_chunkname(pt)); | 734 | ctx.filename = proto_chunknamestr(pt); |
735 | if (*ctx.filename == '@' || *ctx.filename == '=') | 735 | if (*ctx.filename == '@' || *ctx.filename == '=') |
736 | ctx.filename++; | 736 | ctx.filename++; |
737 | else | 737 | else |