This is the mail archive of the gdb@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: GDB 5.2 vs. Ada (and probably other unknown languages)


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).


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