From 24f1235ebca7e956b1d87fcc04488a775d2dc087 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Sun, 10 Aug 2014 21:09:29 -0700 Subject: [PATCH] linux-nat.c (linux_nat_thread_address_space): Delete dead code. --- gdb/ChangeLog | 4 ++++ gdb/linux-nat.c | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0e30fe0..33b6f54 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2014-08-10 Doug Evans + + * linux-nat.c (linux_nat_thread_address_space): Delete dead code. + 2014-08-09 Yao Qi PR remote/9053 diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c index 7189af1..1e8991d 100644 --- a/gdb/linux-nat.c +++ b/gdb/linux-nat.c @@ -4836,7 +4836,6 @@ linux_nat_thread_address_space (struct target_ops *t, ptid_t ptid) struct inferior *inf; int pid; - pid = ptid_get_lwp (ptid); if (ptid_get_lwp (ptid) == 0) { /* An (lwpid,0,0) ptid. Look up the lwp object to get at the -- 2.7.4