From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 650 invoked by alias); 26 Jun 2009 16:07:05 -0000 Received: (qmail 640 invoked by uid 22791); 26 Jun 2009 16:07:04 -0000 X-SWARE-Spam-Status: No, hits=-3.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from main.gmane.org (HELO ciao.gmane.org) (80.91.229.2) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 26 Jun 2009 16:06:57 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1MKDx0-0003Bl-ND for gdb@sources.redhat.com; Fri, 26 Jun 2009 16:06:54 +0000 Received: from 95-24-190-26.broadband.corbina.ru ([95.24.190.26]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 Jun 2009 16:06:54 +0000 Received: from dima by 95-24-190-26.broadband.corbina.ru with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 Jun 2009 16:06:54 +0000 To: gdb@sources.redhat.com From: Dmitry Dzhus Subject: Re: Learn function name by its address Date: Fri, 26 Jun 2009 16:07:00 -0000 Message-ID: <87d48r7zej.fsf@sphinx.net.ru> References: <8763ekb9ql.fsf@sphinx.net.ru> <8ac60eac0906250853y3f70e3b1y2bf97674b1e83d7b@mail.gmail.com> <87eit89n5q.fsf@sphinx.net.ru> <19012.45380.545526.597166@totara.tehura.co.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: Nick Roberts User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.95 (gnu/linux) 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/msg00249.txt.bz2 Nick Roberts wrote: > -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: Indeed. > For Emacs, I think that it is not necessary to give symbol information in > the memory contents buffer but just the addresses and values. Seems like I'd have to issue dozens of `-symbol-info-symbol` commands to get symbol information for addresses of the whole memory page shown in memory buffer, one for each memory row, so it's hardly worth implementing anyways due to possible overhead. > The user should be able to specify a symbol as input Sure, gdb-mi.el already has this. -- Happy Hacking. http://sphinx.net.ru む