From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27523 invoked by alias); 31 May 2003 16:47:35 -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 27439 invoked from network); 31 May 2003 16:47:32 -0000 Received: from unknown (HELO localhost.redhat.com) (24.157.166.107) by sources.redhat.com with SMTP; 31 May 2003 16:47:32 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 00D452B2F; Sat, 31 May 2003 12:47:16 -0400 (EDT) Message-ID: <3ED8DC94.6030209@redhat.com> Date: Sat, 31 May 2003 16:47:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030223 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mark Kettenis Cc: mludvig@suse.cz, gdb-patches@sources.redhat.com, eliz@elta.co.il Subject: Re: [RFA/i386newframe] info cfi command References: <3ED60F2A.9060108@suse.cz> <200305291629.h4TGTLe0000304@elgar.kettenis.dyndns.org> <3ED74F9A.4000309@suse.cz> <200305311635.h4VGZ2hO005709@elgar.kettenis.dyndns.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-05/txt/msg00588.txt.bz2 > Date: Fri, 30 May 2003 14:33:30 +0200 > From: Michal Ludvig > > Mark Kettenis told me that: > > From: Michal Ludvig > > this patch adds 'info cfi' command which is to be used for examining > > debug info. For now it only prints the instructions in a hex-form, but > > I'll make a resolver to nice strings later. > > > > Hmm, I wonder whether that should be a maintenance command instead: > > 'maintenance print cfi' > > or even > > 'maintenance print dwarf cfi' > > or something like that. > > I named it "maint print dwarf2-cfi" - is that OK? > > As per Andrew's maint info frame/maint print frame post, "main info > dwarf2-cfi" would be more appropriate. Er ... ``maint info frame'' corresponds to ``info frame''. Here, I don't know. I guess you're thinking `maint print dwarf2-cfi' would dump out everything (insert JimB's comment that it should have been called dump :-) while the info variant provides localized info. m'kay. > The attached version already resolves the data to verbose instructions > like DW_CFA_nop. Documentation is also there. > > Can I commit it? > > Hmm, I'd prefer that all exported functions from dwarf-frame.c are > prefixed with dwarf2_frame_. > > Could you sit on it for a while until I've finished moving over > dwarf-frame.c to mainline? > > Mark >