Re: FYI: fix PR gdb/8869

Pedro Alves
2009-08-07T22:05:41Z

Thanks!

We now trip on this snag though:

(gdb) set language f<TAB>ortran<ENTER>
Unknown language `fortran '.

(top-gdb) set language a<TAB>uto<ENTER>
Unknown language `auto '.

This works, because there's c++ in the list, so no extra
space:

(gdb) set language c<TAB><ENTER>

I guess this would go away automaticaly if this command
was a real enum command.

(gdb) set language <TAB>
ada auto c++ java minimal objective-c scheme
asm c fortran local modula-2 pascal unknown

Eh, I hadn't realized we were able to set "unknown" manually,
"set language" doesn't show it:

(gdb) set language
The currently understood settings are:

local or auto Automatic setting based on source file
ada Use the Ada language
c Use the C language
c++ Use the C++ language
asm Use the Asm language
minimal Use the Minimal language
fortran Use the Fortran language
objective-c Use the Objective-c language
java Use the Java language
modula-2 Use the Modula-2 language
pascal Use the Pascal language
scheme Use the Scheme language

--
Pedro Alves