aboutsummaryrefslogtreecommitdiff
path: root/gdb/python
diff options
context:
space:
mode:
authorDjordje Todorovic <djordje.todorovic@rt-rk.com>2017-11-08 21:19:05 +0000
committerMaciej W. Rozycki <macro@mips.com>2017-11-08 21:19:05 +0000
commitc9ec0e8945d057979a361e3545d42b3f15adf04a (patch)
tree732d9773b220e43ee35c449d5b2434e4a7ffad11 /gdb/python
parent9031cb4af0adcf1c73cb9b8c73ca2d989023af2f (diff)
downloadgdb-c9ec0e8945d057979a361e3545d42b3f15adf04a.zip
gdb-c9ec0e8945d057979a361e3545d42b3f15adf04a.tar.gz
gdb-c9ec0e8945d057979a361e3545d42b3f15adf04a.tar.bz2
BFD: Extract PID from MIPS core dump file
On MIPS o32, n32 and n64 platforms, PID information was not correctly propagated from core dump file to internal GDB structures. This patch fixes that behavior. A correct PID is needed by `libthread_db' library supplied with glibc repository revisions before commit c579f48edba8 ("Remove cached PID/TID in clone") or released versions before 2.25 for GDB to fetch value of TLS variable from core file. bfd/ChangeLog: * elf32-mips.c (elf32_mips_grok_psinfo): Extract core->pid. * elf64-mips.c (elf64_mips_grok_psinfo): Likewise. * elfn32-mips.c (elf32_mips_grok_psinfo): Likewise.
Diffstat (limited to 'gdb/python')
0 files changed, 0 insertions, 0 deletions