[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tinycc-devel] Get addr2line working with TinyCC

From: Yakov
Subject: [Tinycc-devel] Get addr2line working with TinyCC
Date: Sat, 24 Feb 2018 20:34:38 +0545

Hello everybody, hope its fine that I just ask a question.

I cannot addr2line get working with tcc, here is what I am trying:

$ tcc -o exec main.c -lm -g -rdynamic

$ ./exec
exec(show_trace+0x24) [0x407690]
exec(obj_ctx_find+0xeb) [0x413733]
exec(dic_forEach+0xe9) [0x40758e]
exec(obj_serialize+0x120) [0x41577e]
exec(main+0x2e8) [0x41716a]

$ addr2line -e exec 0x41716a -i -p -s -f
main at ??:?


Any idea why I get ??:? instead of a line number?

Thank you,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]