RFA: fix PR 7286

Joseph S. Myers joseph@codesourcery.com
Tue Jan 6 05:59:00 GMT 2009


On Mon, 5 Jan 2009, Tom Tromey wrote:

> This does raise the question of what C variant gdb targets, or ought
> to target.  We could even have them all, with "set lang c99".  The
> same question arises for C++.

You could also in principle detect C99 translation units with DW_LANG_C99, 
except that I think GCC uses DW_LANG_C89 at present for all C code, 
whatever mode it is compiled in.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Gdb-patches mailing list