From: Maciej W. Rozycki Date: Fri, 20 Jul 2018 16:28:08 +0000 (+0100) Subject: MIPS/Linux/native: Convert to `get_ptrace_pid' for PID extraction X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2d38991535ecfcd092f3c57da84844efc3d49877;p=binutils-gdb.git 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. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 197da2568e6..d13c9ef0cef 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2018-07-20 Maciej W. Rozycki + + * mips-linux-nat.c (mips_linux_nat_target::read_description): + Call `get_ptrace_pid' rather than extracting the ptrace PID by + hand. + 2018-07-20 Keith Seitz * buildsym.h (struct buildsym_compunit)