From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17601 invoked by alias); 25 Jun 2009 19:14:36 -0000 Received: (qmail 17593 invoked by uid 22791); 25 Jun 2009 19:14:36 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.33.17) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 25 Jun 2009 19:14:30 +0000 Received: from wpaz37.hot.corp.google.com (wpaz37.hot.corp.google.com [172.24.198.101]) by smtp-out.google.com with ESMTP id n5PJEO0a029403 for ; Thu, 25 Jun 2009 20:14:25 +0100 Received: from qyk7 (qyk7.prod.google.com [10.241.83.135]) by wpaz37.hot.corp.google.com with ESMTP id n5PJCUvL023403 for ; Thu, 25 Jun 2009 12:14:22 -0700 Received: by qyk7 with SMTP id 7so915645qyk.13 for ; Thu, 25 Jun 2009 12:14:22 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.88.134 with SMTP id a6mr899047qcm.89.1245957262381; Thu, 25 Jun 2009 12:14:22 -0700 (PDT) In-Reply-To: <87eit89n5q.fsf@sphinx.net.ru> References: <8763ekb9ql.fsf@sphinx.net.ru> <8ac60eac0906250853y3f70e3b1y2bf97674b1e83d7b@mail.gmail.com> <87eit89n5q.fsf@sphinx.net.ru> Date: Thu, 25 Jun 2009 19:14:00 -0000 Message-ID: <8ac60eac0906251214l3e3c35d6x2bb1badf88a97a8d@mail.gmail.com> Subject: Re: Learn function name by its address From: Paul Pluzhnikov To: Dmitry Dzhus Cc: gdb@sources.redhat.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-System-Of-Record: true X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-06/txt/msg00242.txt.bz2 On Thu, Jun 25, 2009 at 11:35 AM, Dmitry Dzhus wrote: >> what symbol is at location ADDR. > Is it correct that this information cannot change in runtime? If the symbol is in a dynamically loaded shared library, and if that library is unloaded and something else (including a new version of the same library or some totally different one) is loaded in its place, then the mapping of ADDR to symbol could well change at runtime. Cheers, -- Paul Pluzhnikov