This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] dwarf2read.c (dw2_expand_symtabs_matching): Fix typo.
- From: dje at google dot com (Doug Evans)
- To: gdb-patches at sourceware dot org
- Date: Thu, 5 Jul 2012 17:03:29 -0700 (PDT)
- Subject: [commit] dwarf2read.c (dw2_expand_symtabs_matching): Fix typo.
Hi.
fyi, I've committed this.
It fixes a simple typo.
2012-07-05 Doug Evans <dje@google.com>
* dwarf2read.c (dw2_expand_symtabs_matching): Fix typo.
Index: dwarf2read.c
===================================================================
RCS file: /cvs/src/src/gdb/dwarf2read.c,v
retrieving revision 1.679
diff -u -p -r1.679 dwarf2read.c
--- dwarf2read.c 2 Jul 2012 20:02:39 -0000 1.679
+++ dwarf2read.c 5 Jul 2012 23:59:31 -0000
@@ -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.