From patchwork Mon Aug 11 04:11:00 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Evans X-Patchwork-Id: 2356 Received: (qmail 9822 invoked by alias); 11 Aug 2014 04:11:44 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 9812 invoked by uid 89); 11 Aug 2014 04:11:43 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL, BAYES_00, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pa0-f43.google.com Received: from mail-pa0-f43.google.com (HELO mail-pa0-f43.google.com) (209.85.220.43) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Mon, 11 Aug 2014 04:11:42 +0000 Received: by mail-pa0-f43.google.com with SMTP id lf10so10409107pab.2 for ; Sun, 10 Aug 2014 21:11:40 -0700 (PDT) X-Received: by 10.67.6.8 with SMTP id cq8mr34814644pad.66.1407730300621; Sun, 10 Aug 2014 21:11:40 -0700 (PDT) Received: from seba.sebabeach.org.gmail.com (173-13-178-50-sfba.hfc.comcastbusiness.net. [173.13.178.50]) by mx.google.com with ESMTPSA id b9sm15393239pdo.3.2014.08.10.21.11.38 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 10 Aug 2014 21:11:39 -0700 (PDT) From: Doug Evans To: gdb-patches@sourceware.org Subject: [commit] linux-nat.c (linux_nat_thread_address_space): Delete dead code. Date: Sun, 10 Aug 2014 21:11:00 -0700 Message-ID: MIME-Version: 1.0 X-IsSubscribed: yes Hi. Committed as obvious. 2014-08-10 Doug Evans * linux-nat.c (linux_nat_thread_address_space): Delete dead code. 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