On Fri, 2014-11-21 at 21:34 +0100, Mark Wielaard wrote:
On Fri, Nov 21, 2014 at 09:28:45AM +0100, Jakub Jelinek wrote:
I think best would be to tweak
if (value 2 || value 4)
error_at (loc, dwarf version %d is not supported, value);
else
opts-x_dwarf_version
On Wed, Nov 26, 2014 at 11:19:42AM +0100, Mark Wielaard wrote:
Ping. Rebased patch attached.
I have submitted patches for elfutils, valgrind, gdb and binutils for
this. But they are pending till this patch hits GCC first.
Ok, thanks.
Jakub
On Thu, Nov 20, 2014 at 11:30:12PM +0100, Mark Wielaard wrote:
@@ -19592,13 +19597,28 @@ gen_compile_unit_die (const char *filename)
language = DW_LANG_C;
if (strncmp (language_string, GNU C++, 7) == 0)
-language = DW_LANG_C_plus_plus;
+{
+ language =
On Fri, Nov 21, 2014 at 09:28:45AM +0100, Jakub Jelinek wrote:
I think best would be to tweak
if (value 2 || value 4)
error_at (loc, dwarf version %d is not supported, value);
else
opts-x_dwarf_version = value;
so that we accept value 5 too, and for now, until
This change depends on the new DWARFv5 constants mentioned in the
following draft: http://dwarfstd.org/doc/dwarf5.20141029.pdf
gcc/ChangeLog
* dwarf2out.c (is_cxx): Add DW_LANG_C_plus_plus_11 and
DW_LANG_C_plus_plus_14.
(lower_bound_default): Likewise. Plus DW_LANG_C11.