This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] Add new language: "unsupported"
> > It should probably warn (I guess it has to be in the reader, since we
> > have no hook for when you switch to a language, right?) when it is
> > switching to the unsupported language.
> >
> > Something like "Warning: The current language is unsupported by GDB.
> > Name lookups and printouts may not look like what you expect as a
> > result".
>
> that's not a bad idea, actually. This must be the lawyer talking :-)
I can place a warning in set_language(). But I think the warning should
only be printed once. Opinions?
I'm also wondering how useful such a warning is going to be. I think
that the new language name, "minimal", is pretty clear as to what
capabilities it provides (or doesn't thereof)... Since GDB clearly
prints the new language name when auto-switching, I don't think there is
any risk of confusion anymore.
--
Joel