am 7fdcc435: am 89118032: 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

Merge commit '7fdcc435b67ddc82e4bfb68067b8bb96f34ebf77'

* commit '7fdcc435b67ddc82e4bfb68067b8bb96f34ebf77':
  Fix bug in debuggerd so it can successfully find the exidx section in
This commit is contained in:
Mike Dodd 2010-07-16 16:49:46 -07:00 committed by Android Git Automerger
commit d5c4d2ae3a
1 changed files with 1 additions and 1 deletions

View File

@ -375,7 +375,7 @@ static void parse_elf_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) {