This is the mail archive of the
mailing list for the GDB project.
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.