Networking Forums

Networking Forums > Computer Networking > Linux Networking > How to do single step-in of library calls such as accept()

Reply
Thread Tools Display Modes

How to do single step-in of library calls such as accept()

 
 
Datha
Guest
Posts: n/a

 
      12-26-2005, 06:04 AM
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

 
Reply With Quote
 
 
 
 
Hans-Juergen Lange
Guest
Posts: n/a

 
      12-27-2005, 10:05 AM
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
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a Win2k/VPN step by step tutorial? Default User Windows Networking 1 09-15-2007 09:04 PM
Visual Step by Step guide for setting up Wi Fi connection Eskimosound Wireless Networks 5 11-26-2006 06:57 PM
Step by Step for vpn using l2tp and preshared secret on a single Windows 2003 Server? jbwilson@gmail.com Windows Networking 0 10-16-2006 12:05 PM
Step by step approach to breaking a WEP key Frank Wireless Internet 14 05-20-2005 04:29 PM
Netgear MA401, Windows XP and WPA - Step-by-Step Norman Wilson Wireless Internet 3 03-30-2005 06:13 PM



1 2 3 4 5 6 7 8 9 10 11