From 2d38991535ecfcd092f3c57da84844efc3d49877 Mon Sep 17 00:00:00 2001 From: "Maciej W. Rozycki" Date: Fri, 20 Jul 2018 17:28:08 +0100 Subject: [PATCH] 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 | 6 ++++++ gdb/mips-linux-nat.c | 6 +----- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 197da25..d13c9ef 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)