From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 688 invoked by alias); 31 May 2003 16:35:26 -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 638 invoked from network); 31 May 2003 16:35:24 -0000 Received: from unknown (HELO walton.kettenis.dyndns.org) (62.163.169.212) by sources.redhat.com with SMTP; 31 May 2003 16:35:24 -0000 Received: from elgar.kettenis.dyndns.org (elgar.kettenis.dyndns.org [192.168.0.2]) by walton.kettenis.dyndns.org (8.12.6p2/8.12.5) with ESMTP id h4VGZ3fm004752; Sat, 31 May 2003 18:35:03 +0200 (CEST) (envelope-from kettenis@elgar.kettenis.dyndns.org) Received: from elgar.kettenis.dyndns.org (localhost [127.0.0.1]) by elgar.kettenis.dyndns.org (8.12.6p2/8.12.6) with ESMTP id h4VGZ3AM005712; Sat, 31 May 2003 18:35:03 +0200 (CEST) (envelope-from kettenis@elgar.kettenis.dyndns.org) Received: (from kettenis@localhost) by elgar.kettenis.dyndns.org (8.12.6p2/8.12.6/Submit) id h4VGZ2hO005709; Sat, 31 May 2003 18:35:02 +0200 (CEST) Date: Sat, 31 May 2003 16:35:00 -0000 Message-Id: <200305311635.h4VGZ2hO005709@elgar.kettenis.dyndns.org> From: Mark Kettenis To: mludvig@suse.cz CC: gdb-patches@sources.redhat.com, ac131313@redhat.com, eliz@elta.co.il In-reply-to: <3ED74F9A.4000309@suse.cz> (message from Michal Ludvig on Fri, 30 May 2003 14:33:30 +0200) Subject: Re: [RFA/i386newframe] info cfi command References: <3ED60F2A.9060108@suse.cz> <200305291629.h4TGTLe0000304@elgar.kettenis.dyndns.org> <3ED74F9A.4000309@suse.cz> X-SW-Source: 2003-05/txt/msg00586.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. 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