[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freeswitch-users
Subject:    [Freeswitch-users] about FS symbols
From:       simon jin <simon.gucas.ac () gmail ! com>
Date:       2012-06-28 14:00:34
Message-ID: CACd2BXpo46ttNorcvttF_P6p3UY5nrF=Prb0v-NP8grJabs8OA () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


HI everyone

i have compiled the FS with  CFLAGS="-g -ggdb -finstrument-functions"
and MOD_CFLAGS="-g
-ggdb -finstrument-functions", and it works done.
but the problem comes when i use addr2line command to translate some
function address to its name.
This is the detail:
$ addr2line -e freeswitch -f -a 0x2a955d3f8a
0x0000002a955d3f8a
??
??:0

Note: 0x2a955d3f8a is some function's address

I think that addr2line can NOT find freeswitch's symbols, but where it is,
anyone any advice? thanks for your reply!

yours simon

[Attachment #5 (text/html)]

HI everyone<div><br></div><div>i have compiled the FS with  <span \
style="background-color:rgb(249,249,249);line-height:1.1em">CFLAGS=&quot;-g -ggdb \
</span><span style="line-height:14px">-finstrument-functions</span><span \
style="background-color:rgb(249,249,249);line-height:1.1em">&quot;  and </span><span \
style="background-color:rgb(249,249,249);line-height:1.1em">MOD_CFLAGS=&quot;-g -ggdb \
</span><span style="line-height:14px">-finstrument-functions</span><span \
style="background-color:rgb(249,249,249);line-height:1.1em">&quot;, and it works \
done.</span></div> <div><span \
style="background-color:rgb(249,249,249);line-height:1.1em">but the problem comes \
when i use addr2line command to translate some function address to its name. \
</span></div><div><span \
style="background-color:rgb(249,249,249);line-height:1.1em">This is the \
detail:</span></div> <div><span \
style="background-color:rgb(249,249,249);line-height:14px">$ addr2line -e freeswitch \
-f -a 0x2a955d3f8a</span></div><div><span \
style="background-color:rgb(249,249,249);line-height:14px"><div>0x0000002a955d3f8a</div>
 <div>??</div><div>??:0</div><div><br></div><div>Note: 0x2a955d3f8a is some \
function&#39;s address</div><div><br></div><div>I think that addr2line can NOT find \
freeswitch&#39;s symbols, but where it is, anyone any advice? thanks for your \
reply!</div> <div><br></div><div>yours simon </div></span></div>



_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

Join Us At ClueCon - Aug 7-9, 2012

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic