From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27620 invoked by alias); 4 Feb 2010 22:46:54 -0000 Received: (qmail 27602 invoked by uid 22791); 4 Feb 2010 22:46:53 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from oarmail.oarcorp.com (HELO OARmail.OARCORP.com) (67.63.146.244) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 04 Feb 2010 22:46:49 +0000 Received: from iceland.oarcorp.com (192.168.1.156) by OARmail.OARCORP.com (192.168.2.2) with Microsoft SMTP Server id 8.1.393.1; Thu, 4 Feb 2010 16:46:47 -0600 Message-ID: <4B6B4E57.1010100@oarcorp.com> Date: Thu, 04 Feb 2010 22:46:00 -0000 From: Joel Sherrill User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.7) Gecko/20100120 Fedora/3.0.1-1.fc12 Thunderbird/3.0.1 MIME-Version: 1.0 To: "binutils@sourceware.org" CC: Chris Johns Subject: Mapping Addresses for Shared Library Routines to Code Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2010-02/txt/msg00071.txt.bz2 Hi, This may not be the perfect place to ask but you guys are likely to know the answer. :) I am looking into using qemu to get trace data on native Linux executables. qemu generates the output and includes instructions from shared libraries. Since we are already analysing this data to do coverage for RTEMS, I know how to do it for statically linked executables. For dynamically linked executables, the traces include the indirect call to the shared library routine and the assembly statements executed in the share library. So the trace data is OK. My question is: How can I figure out what dynamically loaded routine corresponds to those addresses in the trace? Is there some utility to "preload" and give me a symbol table? Any ideas at all would be appreciated. Thanks. -- Joel Sherrill, Ph.D. Director of Research& Development joel.sherrill@OARcorp.com On-Line Applications Research Ask me about RTEMS: a free RTOS Huntsville AL 35805 Support Available (256) 722-9985