[RFA/i386newframe] info cfi command

Andrew Cagney ac131313@redhat.com
Sat May 31 16:47:00 GMT 2003


>    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.

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
> 




More information about the Gdb-patches mailing list