summaryrefslogtreecommitdiff
path: root/src/lj_gdbjit.c
diff options
context:
space:
mode:
authorMike Pall <mike>2010-02-05 00:52:21 +0100
committerMike Pall <mike>2010-02-05 00:52:21 +0100
commitd7789821208336a7fe6e0b6d706b6b4844e6fa9e (patch)
treef6b3c28815c0dec1164ec851d10f76cf8cb62102 /src/lj_gdbjit.c
parentc8d55e850624bc237532fd103d1591b64d291081 (diff)
downloadluajit2-d7789821208336a7fe6e0b6d706b6b4844e6fa9e.tar.gz
32/64 bit memory ref cleanup, part 2: GCproto ->uvname and ->chunkname.
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)
ctx.lineno = pt->lineinfo ? pt->lineinfo[proto_bcpos(pt, startpc)] : 0;
else
ctx.lineno = pt->linedefined;
- ctx.filename = strdata(pt->chunkname);
+ ctx.filename = strdata(proto_chunkname(pt));
if (*ctx.filename == '@' || *ctx.filename == '=')
ctx.filename++;
else