aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2read.c
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2011-03-31 21:01:13 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2011-03-31 21:01:13 +0000
commita6e293d1ae3d224480df39ea510b12c0b65e5b4f (patch)
tree3046b97c800be077638947c77ab991b9988c53af /gdb/dwarf2read.c
parenta4c8e8068824062a43759f22ff0d22efe8996b82 (diff)
downloadgdb-a6e293d1ae3d224480df39ea510b12c0b65e5b4f.zip
gdb-a6e293d1ae3d224480df39ea510b12c0b65e5b4f.tar.gz
gdb-a6e293d1ae3d224480df39ea510b12c0b65e5b4f.tar.bz2
gdb/
* dwarf2read.c (dwarf2_read_index): Fix .gdb_index version number in the comment.
Diffstat (limited to 'gdb/dwarf2read.c')
-rw-r--r--gdb/dwarf2read.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index 64c9da0..3fafe9f 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)