* dwarf.c (display_gdb_index): Handle index version 6.
authorTom Tromey <tromey@redhat.com>
Thu, 29 Mar 2012 01:55:41 +0000 (01:55 +0000)
committerTom Tromey <tromey@redhat.com>
Thu, 29 Mar 2012 01:55:41 +0000 (01:55 +0000)
binutils/ChangeLog
binutils/dwarf.c

index 425f926..d229810 100644 (file)
@@ -1,3 +1,7 @@
+2012-03-28  Tom Tromey  <tromey@redhat.com>
+
+       * dwarf.c (display_gdb_index): Handle index version 6.
+
 2012-03-07  Nick Clifton  <nickc@redhat.com>
 
        * readelf.c (is_16bit_abs_reloc): Add detection of R_MN10300_16.
index 5ad9b93..def71fb 100644 (file)
@@ -1,5 +1,5 @@
 /* dwarf.c -- display DWARF contents of a BFD binary file
-   Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2011
+   Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
    Free Software Foundation, Inc.
 
    This file is part of GNU Binutils.
@@ -5551,6 +5551,9 @@ display_gdb_index (struct dwarf_section *section,
       warn (_("Version 4 does not support case insensitive lookups.\n"));
       break;
     case 5:
+      warn (_("Version 5 does not include inlined functions.\n"));
+      break;
+    case 6:
       break;
     default:
       warn (_("Unsupported version %lu.\n"), (unsigned long) version);