summaryrefslogtreecommitdiff
path: root/src/lj_gdbjit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lj_gdbjit.c')
-rw-r--r--src/lj_gdbjit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_gdbjit.c b/src/lj_gdbjit.c
index 6fb8a1d3..af31b277 100644
--- a/src/lj_gdbjit.c
+++ b/src/lj_gdbjit.c
@@ -709,7 +709,7 @@ void lj_gdbjit_addtrace(jit_State *J, Trace *T, TraceNo traceno)
709 ctx.lineno = pt->lineinfo ? pt->lineinfo[proto_bcpos(pt, startpc)] : 0; 709 ctx.lineno = pt->lineinfo ? pt->lineinfo[proto_bcpos(pt, startpc)] : 0;
710 else 710 else
711 ctx.lineno = pt->linedefined; 711 ctx.lineno = pt->linedefined;
712 ctx.filename = strdata(pt->chunkname); 712 ctx.filename = strdata(proto_chunkname(pt));
713 if (*ctx.filename == '@' || *ctx.filename == '=') 713 if (*ctx.filename == '@' || *ctx.filename == '=')
714 ctx.filename++; 714 ctx.filename++;
715 else 715 else