This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.

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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]