diff options
Diffstat (limited to 'gdb/objc-lang.c')
-rw-r--r-- | gdb/objc-lang.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/objc-lang.c b/gdb/objc-lang.c index dfa5388..592b52e 100644 --- a/gdb/objc-lang.c +++ b/gdb/objc-lang.c @@ -1221,6 +1221,8 @@ find_methods (struct symtab *symtab, char type, pc = gdbarch_convert_from_func_ptr_addr (gdbarch, pc, ¤t_target); + objfile_csym++; + if (symtab) if (pc < BLOCK_START (block) || pc >= BLOCK_END (block)) /* Not in the specified symtab. */ @@ -1237,8 +1239,6 @@ find_methods (struct symtab *symtab, char type, if (parse_method (tmp, &ntype, &nclass, &ncategory, &nselector) == NULL) continue; - - objfile_csym++; if ((type != '\0') && (ntype != type)) continue; |