From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2014 invoked by alias); 26 Jun 2009 11:30:24 -0000 Received: (qmail 2005 invoked by uid 22791); 26 Jun 2009 11:30:23 -0000 X-SWARE-Spam-Status: No, hits=1.0 required=5.0 tests=AWL,BAYES_20,BOTNET,SPF_PASS X-Spam-Check-By: sourceware.org Received: from viper.snap.net.nz (HELO viper.snap.net.nz) (202.37.101.25) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 26 Jun 2009 11:30:17 +0000 Received: from totara (201.30.255.123.dynamic.snap.net.nz [123.255.30.201]) by viper.snap.net.nz (Postfix) with ESMTP id 17E563DA081; Fri, 26 Jun 2009 23:30:14 +1200 (NZST) Received: by totara (Postfix, from userid 1000) id 90C20C13F; Fri, 26 Jun 2009 23:30:12 +1200 (NZST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19012.45380.545526.597166@totara.tehura.co.nz> Date: Fri, 26 Jun 2009 11:30:00 -0000 To: Dmitry Dzhus Cc: Paul Pluzhnikov , gdb@sources.redhat.com Subject: Re: Learn function name by its address In-Reply-To: <87eit89n5q.fsf@sphinx.net.ru> References: <8763ekb9ql.fsf@sphinx.net.ru> <8ac60eac0906250853y3f70e3b1y2bf97674b1e83d7b@mail.gmail.com> <87eit89n5q.fsf@sphinx.net.ru> From: nickrob@snap.net.nz (Nick Roberts) 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/msg00247.txt.bz2 Dmitry Dzhus writes: > > -symbol-info-symbol > > Oh, I missed that, thanks. > > > what symbol is at location ADDR. -symbol-info-symbol ^error,msg="Undefined mi command: symbol-info-symbol (missing implementation)" (gdb) This is one of many GDB/MI commands that are described in the manual but not implemented, presumably because no-one has found a need for them. Such commands have: Example ....... N.A. after them in the manual. For Emacs, I think that it is not necessary to give symbol information in the memory contents buffer but just the addresses and values. The user should be able to specify a symbol as input, however, and the -data-read-memory command allows that. -- Nick http://www.inet.net.nz/~nickrob