aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2012-07-06 00:01:11 +0000
committerDoug Evans <dje@google.com>2012-07-06 00:01:11 +0000
commit667e0a4be53d94dbff6d227721fb4d73c9ad5ac8 (patch)
tree175f4fa0d1cdaef50c6ffbd17a3986dc3d832b06
parent316f74070bd1dabcc611e7b9bd9a553cd4b2bf35 (diff)
downloadgdb-667e0a4be53d94dbff6d227721fb4d73c9ad5ac8.zip
gdb-667e0a4be53d94dbff6d227721fb4d73c9ad5ac8.tar.gz
gdb-667e0a4be53d94dbff6d227721fb4d73c9ad5ac8.tar.bz2
* dwarf2read.c (dw2_expand_symtabs_matching): Fix typo.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/dwarf2read.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 020a605..7d6e425 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2012-07-05 Doug Evans <dje@google.com>
+
+ * dwarf2read.c (dw2_expand_symtabs_matching): Fix typo.
+
2012-07-05 Hui Zhu <hui_zhu@mentor.com>
* ax-gdb.c (cli/cli-utils.h): New include.
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index 52288e8..c15926b 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -3124,7 +3124,7 @@ dw2_expand_symtabs_matching
/* Don't crash on bad data. */
if (cu_index >= (dwarf2_per_objfile->n_comp_units
- + dwarf2_per_objfile->n_comp_units))
+ + dwarf2_per_objfile->n_type_units))
continue;
/* Only check the symbol's kind if it has one.