gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Thu, 31 Mar 2011 21:01:13 +0000 (21:01 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Thu, 31 Mar 2011 21:01:13 +0000 (21:01 +0000)
* dwarf2read.c (dwarf2_read_index): Fix .gdb_index version number in
the comment.

gdb/ChangeLog
gdb/dwarf2read.c

index 8469059..ff9e7ba 100644 (file)
@@ -1,3 +1,8 @@
+2011-03-31  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * dwarf2read.c (dwarf2_read_index): Fix .gdb_index version number in
+       the comment.
+
 2011-03-31  Tom Tromey  <tromey@redhat.com>
 
        * varobj.c (update_dynamic_varobj_children): Properly handle
index 64c9da0..3fafe9f 100644 (file)
@@ -2045,7 +2045,7 @@ dwarf2_read_index (struct objfile *objfile)
   /* Version check.  */
   version = MAYBE_SWAP (*(offset_type *) addr);
   /* Versions earlier than 3 emitted every copy of a psymbol.  This
-     causes the index to behave very poorly for certain requests.  Version 4
+     causes the index to behave very poorly for certain requests.  Version 3
      contained incomplete addrmap.  So, it seems better to just ignore such
      indices.  */
   if (version < 4)