diff options
| author | Mike Dodd <mdodd@google.com> | 2010-07-16 16:45:38 -0700 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2010-07-16 16:45:38 -0700 |
| commit | 891180320f0b08758d053a8562dfcd601ef846b0 (patch) | |
| tree | 448a3b6794e743ab27c57c18d3f4f292356284e9 | |
| parent | 84a60712ddf32fb98793e38ea8dd9703ae1290e2 (diff) | |
| parent | 6b657472331ddb2cf5286167ff2460047a321be7 (diff) | |
| download | system_core-891180320f0b08758d053a8562dfcd601ef846b0.tar.gz system_core-891180320f0b08758d053a8562dfcd601ef846b0.tar.bz2 system_core-891180320f0b08758d053a8562dfcd601ef846b0.zip | |
Merge "Fix bug in debuggerd so it can successfully find the exidx section in libraries. This should fix the bug where the exception stack wasn't being printed past the PC." into gingerbread
| -rw-r--r-- | debuggerd/debuggerd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debuggerd/debuggerd.c b/debuggerd/debuggerd.c index e850a2e6..7c363677 100644 --- a/debuggerd/debuggerd.c +++ b/debuggerd/debuggerd.c @@ -374,7 +374,7 @@ static void parse_exidx_info(mapinfo *milist, pid_t pid) ptr = (Elf32_Phdr *) (mi->start + ehdr.e_phoff); for (i = 0; i < ehdr.e_phnum; i++) { /* Parse the program header */ - get_remote_struct(pid, (char *) ptr+i, &phdr, + get_remote_struct(pid, (char *) (ptr+i), &phdr, sizeof(Elf32_Phdr)); /* Found a EXIDX segment? */ if (phdr.p_type == PT_ARM_EXIDX) { |
