aboutsummaryrefslogtreecommitdiff
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
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.
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/elf32-arm.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index a2d7499..0619adb 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
+
+ * elf32-arm.c (elf32_arm_nabi_grok_psinfo): Fill in core_pid.
+
2011-12-19 Iain Sandoe <idsandoe@googlemail.com>
* mach-o-i386.c (bfd_mach_o_section_type_valid_for_tgt): Define NULL.
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