From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19163 invoked by alias); 13 Jun 2002 18:20:11 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 19139 invoked from network); 13 Jun 2002 18:20:09 -0000 Received: from unknown (HELO mailhub.lss.emc.com) (168.159.1.79) by sources.redhat.com with SMTP; 13 Jun 2002 18:20:09 -0000 Received: from popimap.lss.emc.com (caduseus-ge.lss.emc.com [10.254.140.132]) by mailhub.lss.emc.com (Switch-2.2.0/Switch-2.2.0) with ESMTP id g5DIK5514212; Thu, 13 Jun 2002 14:20:05 -0400 (EDT) Received: from subdimension.com (lul1173.lss.emc.com [168.159.33.173]) by popimap.lss.emc.com (Switch-2.2.0/Switch-2.2.0) with ESMTP id g5DIK4S00822; Thu, 13 Jun 2002 14:20:04 -0400 (EDT) Message-ID: <3D08E29B.1000609@subdimension.com> Date: Thu, 13 Jun 2002 11:20:00 -0000 From: Josef Ezra User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.0.0) Gecko/20020530 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Michael Snyder CC: Josef Ezra , gdb-patches@sources.redhat.com Subject: Re: Request for new gdb command: 'info orientation' References: <02ea01c1e6eb$65f850c0$ad219fa8@lss.emc.com> <3CBEFC88.37807AEF@redhat.com> <3D08D15E.7030805@emc.com> <3D08DB87.A8119A1D@redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-06/txt/msg00228.txt.bz2 Michael Snyder wrote: > Josef Ezra wrote: > >>Hi all >> >>While writing a perl gui for gdb, I had to add a new command. It looks >>like this: >> >>(gdb) info orientation main >>0x00034960:753 >>0x00034b44:757 >>0x00034b48:761 >>0x00034b50:759 >>0x00034b54:761 >>0x00034b68:763 >>0x00034b70:772 >>(gdb) >> >>and associate addresses with line numbers. This information allow >>merging the disassemble with the sources without executing 'info line' >>command for each address, since the last took too long (the difference >>between O(n^2) to O(n)). >>(The command was also useful for analyzing patches and code changes.) > > > I like it as maybe a maintainer command (or even a user one, if > you think users might gain something from it. > > I don't like the name, though -- "info orientation" doesn't say > anything to me. Maybe "info lines"? Or, as a maintainer command, > "info sal"? > How about 'maintenance info-lines'?