Re: GDB 5.2 vs. Ada (and probably other unknown languages)

Florian Weimer
2002-04-21T17:50:31Z

Per Bothner <per@bothner.com> writes:

> Michael Snyder wrote:
>> That's bad. GDB should not refuse to debug a source file just
>> because it doesn't know the language.
>
> Could you try this patch:
>
> * language.c (unk_lang_create_fundamental_type): Remove.
> (unknown_language_defn, auto_language_defn, local_language_defn):
> In place of unk_lang_create_fundamental_type use
> c_create_fundamental_type.

Thanks, it seems to work, at least I can set breakpoints now and
access variables (with suitable type casts, of course).