MIPS/Linux/native: Convert to `get_ptrace_pid' for PID extraction
authorMaciej W. Rozycki <macro@mips.com>
Fri, 20 Jul 2018 16:28:08 +0000 (17:28 +0100)
committerMaciej W. Rozycki <macro@mips.com>
Fri, 20 Jul 2018 16:28:08 +0000 (17:28 +0100)
commit2d38991535ecfcd092f3c57da84844efc3d49877
treef443f70579c7d2c84b6970be2233955adf563821
parent241e64e3b42cd9eba514b8e0ad2ef39a337f10a5
MIPS/Linux/native: Convert to `get_ptrace_pid' for PID extraction

Use `get_ptrace_pid' to get the ptrace PID from `inferior_ptid' rather
than extracting it by hand.

gdb/
* mips-linux-nat.c (mips_linux_nat_target::read_description):
Call `get_ptrace_pid' rather than extracting the ptrace PID by
hand.
gdb/ChangeLog
gdb/mips-linux-nat.c