aboutsummaryrefslogtreecommitdiff
path: root/gdb/linux-nat.c
diff options
context:
space:
mode:
authorDoug Evans <xdje42@gmail.com>2014-08-10 21:09:29 -0700
committerDoug Evans <xdje42@gmail.com>2014-08-10 21:09:29 -0700
commit24f1235ebca7e956b1d87fcc04488a775d2dc087 (patch)
treec37c340a9f2c6fd1b9485bdb2c40ab21b2480e0a /gdb/linux-nat.c
parent2fa67e7dac5ddb827b05c724be962c94a4d63ff3 (diff)
downloadgdb-24f1235ebca7e956b1d87fcc04488a775d2dc087.zip
gdb-24f1235ebca7e956b1d87fcc04488a775d2dc087.tar.gz
gdb-24f1235ebca7e956b1d87fcc04488a775d2dc087.tar.bz2
linux-nat.c (linux_nat_thread_address_space): Delete dead code.
Diffstat (limited to 'gdb/linux-nat.c')
-rw-r--r--gdb/linux-nat.c1
1 files changed, 0 insertions, 1 deletions
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