From a6e293d1ae3d224480df39ea510b12c0b65e5b4f Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Thu, 31 Mar 2011 21:01:13 +0000 Subject: [PATCH] gdb/ * dwarf2read.c (dwarf2_read_index): Fix .gdb_index version number in the comment. --- gdb/ChangeLog | 5 +++++ gdb/dwarf2read.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 84690593026..ff9e7ba43b5 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2011-03-31 Jan Kratochvil + + * dwarf2read.c (dwarf2_read_index): Fix .gdb_index version number in + the comment. + 2011-03-31 Tom Tromey * varobj.c (update_dynamic_varobj_children): Properly handle diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index 64c9da0feff..3fafe9f2cbb 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -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) -- 2.30.2