linux-nat.c (linux_nat_thread_address_space): Delete dead code.
authorDoug Evans <xdje42@gmail.com>
Mon, 11 Aug 2014 04:09:29 +0000 (21:09 -0700)
committerDoug Evans <xdje42@gmail.com>
Mon, 11 Aug 2014 04:09:29 +0000 (21:09 -0700)
gdb/ChangeLog
gdb/linux-nat.c

index 0e30fe03293806e46c852f66da85ac8b50d65512..33b6f540d0cdb55258314d55045b3dcc144998cd 100644 (file)
@@ -1,3 +1,7 @@
+2014-08-10  Doug Evans  <xdje42@gmail.com>
+
+       * linux-nat.c (linux_nat_thread_address_space): Delete dead code.
+
 2014-08-09  Yao Qi  <yao@codesourcery.com>
 
        PR remote/9053
index 7189af1f9270ad4444955dbdaca150d5506be4db..1e8991dca7a610e995635e65e1ce5e51a9860b85 100644 (file)
@@ -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