aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-arm.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2011-12-21 21:21:16 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2011-12-21 21:21:16 +0000
commit4395ee0824136c3ab915ad5c15ba08bcccaa832c (patch)
treef73697d580b867068ea0b3849e85029d5bc88764 /bfd/elf32-arm.c
parent7052e42c350bb65bec5794ea02359992e9c38a2b (diff)
downloadgdb-4395ee0824136c3ab915ad5c15ba08bcccaa832c.zip
gdb-4395ee0824136c3ab915ad5c15ba08bcccaa832c.tar.gz
gdb-4395ee0824136c3ab915ad5c15ba08bcccaa832c.tar.bz2
* elf32-arm.c (elf32_arm_nabi_grok_psinfo): Fill in core_pid.
Diffstat (limited to 'bfd/elf32-arm.c')
-rw-r--r--bfd/elf32-arm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c
index f42b2bf..31ea861 100644
--- a/bfd/elf32-arm.c
+++ b/bfd/elf32-arm.c
@@ -1966,6 +1966,8 @@ elf32_arm_nabi_grok_psinfo (bfd *abfd, Elf_Internal_Note *note)
return FALSE;
case 124: /* Linux/ARM elf_prpsinfo. */
+ elf_tdata (abfd)->core_pid
+ = bfd_get_32 (abfd, note->descdata + 12);
elf_tdata (abfd)->core_program
= _bfd_elfcore_strndup (abfd, note->descdata + 28, 16);
elf_tdata (abfd)->core_command