From d7789821208336a7fe6e0b6d706b6b4844e6fa9e Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Fri, 5 Feb 2010 00:52:21 +0100 Subject: 32/64 bit memory ref cleanup, part 2: GCproto ->uvname and ->chunkname. --- src/lj_gdbjit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lj_gdbjit.c') 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 -- cgit v1.2.3-55-g6feb