Datha wrote:
> Hi Everyone,
> I want to do sigle step into the calls such as socket, accept, bind,
> etc... I tried compiling with -g option. Even then i get the following
> print on gdb.
> ****************
> Breakpoint 2, 0x0073a8d0 in socket () from /lib/tls/libc.so.6
> (gdb) n
> Single stepping until exit from function socket,
> which has no line number information.
> main () at siocgifconf.c:20
> ****************
> How do i do sigle stepping here.
> Thanks,
> -datha
>
Hello,
you have to compile the libraries with -g as well and dont strip the
symbols from the new build libraries.
BR
Hans-Juergen Lange
|