aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2read.c
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 /gdb/dwarf2read.c
parent316f74070bd1dabcc611e7b9bd9a553cd4b2bf35 (diff)
downloadgdb-667e0a4be53d94dbff6d227721fb4d73c9ad5ac8.zip
gdb-667e0a4be53d94dbff6d227721fb4d73c9ad5ac8.tar.gz
gdb-667e0a4be53d94dbff6d227721fb4d73c9ad5ac8.tar.bz2
* dwarf2read.c (dw2_expand_symtabs_matching): Fix typo.
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 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.