<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Oct 13, 2010, at 10:09 AM, shankha wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi Devang,<br><br>On Wed, Oct 13, 2010 at 12:44 PM, Devang Patel <<a href="mailto:dpatel@apple.com">dpatel@apple.com</a>> wrote:<br><blockquote type="cite">In your example, you do not need to update debug info for @global_var at the moment. We are not identifying tls in debug info yet.<br></blockquote><br>Does that mean I will not be able to debug applications which use tls<br>through gdb if they are  build with gcc-lllvm or clang.<br></div></blockquote><div><br></div>It should not impact call stack info.<br><blockquote type="cite"><div><br><blockquote type="cite">On Oct 13, 2010, at 8:30 AM, shankha wrote:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite">I do not face any issues debugging my test case. But while debugging<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">my application<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">through gdb I cannot make sense of the call stack. I do not see the<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">function names in<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">the call stack (with or without insertion of additional function calls<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">or local variables).<br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">What is the difference between your test case and application ? Is your application compiled using same compiler options ?<br></blockquote><br>   My application is the linux kernel TCP/IP stack layer. There are<br>few #defines and compiler options which are different. Such as<br> -D"KBUILD_STR(s)=#s" -D"KBUILD_MODNAME=KBUILD_STR()" -D__KERNEL__,<br>-fno-common -fno-strict-aliasing.<br><br>Are these options in any way responsible for the problems I am facing<br>while debugging.<br></div></blockquote><div><br></div>I do not see anything obvious here. </div><div>-</div><div>Devang</div><div><br><blockquote type="cite"><div>At this moment it is not possible for me to run my application<br>standalone without<br>modifying it.<font class="Apple-style-span" color="#000000"><font class="Apple-style-span" color="#144FAE"><br></font></font></div></blockquote></div></body></html>