This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[obv] Fix comment .gdb_index version number
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Thu, 31 Mar 2011 23:03:32 +0200
- Subject: [obv] Fix comment .gdb_index version number
Hi,
it is a comment typo by me from:
Re: .gdb_index version 4? [Re: [commit] fix symtab/12302]
http://sourceware.org/ml/gdb-patches/2011-01/msg00502.html
Version 4 is the current one (*), incomplete addrmap was version 3.
(*) so far
Checked in.
Jan
http://sourceware.org/ml/gdb-cvs/2011-03/msg00340.html
--- src/gdb/ChangeLog 2011/03/31 19:59:24 1.12886
+++ src/gdb/ChangeLog 2011/03/31 21:01:09 1.12887
@@ -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
--- src/gdb/dwarf2read.c 2011/03/31 19:37:54 1.517
+++ src/gdb/dwarf2read.c 2011/03/31 21:01:13 1.518
@@ -2045,7 +2045,7 @@
/* 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)