From owner-freebsd-hackers Tue May 4 18:21: 9 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from web129.yahoomail.com (web129.yahoomail.com [205.180.60.198]) by hub.freebsd.org (Postfix) with SMTP id C88ED14DD3 for ; Tue, 4 May 1999 18:21:00 -0700 (PDT) (envelope-from robertbutler@yahoo.com) Message-ID: <19990505012101.21135.rocketmail@web129.yahoomail.com> Received: from [205.226.11.3] by web129.yahoomail.com; Tue, 04 May 1999 18:21:01 PDT Date: Tue, 4 May 1999 18:21:01 -0700 (PDT) From: Robert Butler Subject: How do you trace/debug the shared library using gdb? To: hackers@FreeBSD.ORG MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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