diff options
author | Bruce Beare <bruce.j.beare@intel.com> | 2011-10-23 00:32:29 -0700 |
---|---|---|
committer | Nick Kralevich <nnk@google.com> | 2011-11-02 17:30:39 -0700 |
commit | a51b3ccfeb7c675005e3eeacb2dff38c0e100883 (patch) | |
tree | 5332b9141046e18b4ec10ef1332f1fb9dcd391c4 | |
parent | 6306d4192558c56ac130fe6d66fbca227fd137d6 (diff) | |
download | core-gingerbread.tar.gz |
debuggerd: Don't look up symbols if stab isn't foundandroid-cts-2.3_r12android-cts-2.3_r11android-cts-2.3_r10gingerbread
If the symbol table isn't found during tombstone generation, we skip lookups
of addresses on the stack.
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Nick Kralevich <nnk@google.com>
-rw-r--r-- | debuggerd/symbol_table.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debuggerd/symbol_table.c b/debuggerd/symbol_table.c index e76df3355..3ad08a290 100644 --- a/debuggerd/symbol_table.c +++ b/debuggerd/symbol_table.c @@ -83,7 +83,7 @@ struct symbol_table *symbol_table_create(const char *filename) dynsym_idx = i; } } - if ((dynsym_idx == -1) && (sym_idx == -1)) { + if ((dynsym_idx == -1) || (sym_idx == -1)) { goto out_unmap; } |