OSDN Git Service

* dwarf2out.c (output_compilation_unit_header): For
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 1 Apr 2010 19:45:02 +0000 (19:45 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 05:16:13 +0000 (14:16 +0900)
-gdwarf-4 use version 4 instead of version 3.
(output_line_info): For version 4 and above emit additional
maximum ops per insn header field.
(DWARF_LINE_DEFAULT_MAX_OPS_PER_INSN): Define.

* dwarf2out.c (is_c_family, is_java): Remove.
(lower_bound_default): New function.
(add_bound_info, gen_descr_array_type_die): Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157930 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/dwarf2out.c

index 3b33160..3e49f42 100644 (file)
@@ -1,3 +1,15 @@
+2010-04-01  Jakub Jelinek  <jakub@redhat.com>
+
+       * dwarf2out.c (output_compilation_unit_header): For
+       -gdwarf-4 use version 4 instead of version 3.
+       (output_line_info): For version 4 and above emit additional
+       maximum ops per insn header field.
+       (DWARF_LINE_DEFAULT_MAX_OPS_PER_INSN): Define.
+
+       * dwarf2out.c (is_c_family, is_java): Remove.
+       (lower_bound_default): New function.
+       (add_bound_info, gen_descr_array_type_die): Use it.
+
 2010-04-01  Dodji Seketeli  <dodji@redhat.com>
 
        PR debug/43325
 2010-04-01  Dodji Seketeli  <dodji@redhat.com>
 
        PR debug/43325
index 8125e2e..43cc8ce 100644 (file)
@@ -16727,7 +16727,6 @@ lower_bound_default (void)
       return 1;
     case DW_LANG_UPC:
     case DW_LANG_D:
       return 1;
     case DW_LANG_UPC:
     case DW_LANG_D:
-    case DW_LANG_Python:
       return dwarf_version >= 4 ? 0 : -1;
     case DW_LANG_Ada95:
     case DW_LANG_Ada83:
       return dwarf_version >= 4 ? 0 : -1;
     case DW_LANG_Ada95:
     case DW_LANG_Ada83: