This is the mail archive of the gdb-patches@sourceware.org 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] [patch] 'info symbol' to print more info


This discussion seems to have wandered far afield from Paul's
reasonable patch :-(

On Mon, Nov 17, 2008 at 11:12:45AM -0800, Paul Pluzhnikov wrote:
> > For instance, there was this discussion
> > about not printing the name of the objfile if MULTI_OBJFILE_P. If we
> > get rid of that, does it reduce the number of cases?
> 
> I think the answer is no, because we still have to check for:
> 
> 	    && osect->objfile && osect->objfile->name

I suspect that can be an assert, or you could use "<unnamed objfile>".
If that helps.  I can't imagine where we'd get an objfile section
without an objfile.

-- 
Daniel Jacobowitz
CodeSourcery


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