This is the mail archive of the gdb-patches@sourceware.org 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: RFA: fix PR 7286


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


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