This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA/i386newframe] info cfi command
Date: Fri, 30 May 2003 14:33:30 +0200
From: Michal Ludvig <mludvig@suse.cz>
Mark Kettenis told me that:
> From: Michal Ludvig <mludvig@suse.cz>
> 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