Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 May 1999 18:21:01 -0700 (PDT)
From:      Robert Butler <robertbutler@yahoo.com>
To:        hackers@FreeBSD.ORG
Subject:   How do you trace/debug the shared library using gdb?
Message-ID:  <19990505012101.21135.rocketmail@web129.yahoomail.com>

next in thread | raw e-mail | index | archive | help
If I load only the symbol of the dynamically linked
executable I cannot go into the the shared library at
all. But if I assign the symbol to the shared library
when it reaches the breakpoint it will print out
something like "Error accessing memory address
0xfd3005ff: Invalid argument".

For instance, how can I trace the source code of
routine pcap_open_live() called from tcpdump?

Thanks in advance
-Robert

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990505012101.21135.rocketmail>