From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11282 invoked by alias); 26 Feb 2016 11:02:49 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 11247 invoked by uid 89); 26 Feb 2016 11:02:48 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=1096, Hx-languages-length:1229, slip, idle X-HELO: mail-wm0-f46.google.com Received: from mail-wm0-f46.google.com (HELO mail-wm0-f46.google.com) (74.125.82.46) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Fri, 26 Feb 2016 11:02:47 +0000 Received: by mail-wm0-f46.google.com with SMTP id c200so67275560wme.0 for ; Fri, 26 Feb 2016 03:02:47 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=9wEMIyD0lsjaufiGtdOLOAinHJgxuHJK9NI+FcJnhv0=; b=lQ8PDONVMYpvYD+q1cMuPos5DDq8wKiYPClacTCLEGUTdjrj4O2tX8FxBkDL9cBoDC Bsvx7M7xuY1vdGa0c99a5IUIyQUL6Qp1pivp2Z02MG/7LK6qcC8csIsGsnPXnW9jFcgT wiUmO/h+pzvq73drCYIL/q93jtkjmk/tRbrum8GdaeWykEKBKkbd2vyafSEHiJ/bSEwA 5o9Ni8adnFDI8XHNdGCuhZuOu64UCI49OOZXWhOVnHaIITssgThyxFbEmWB8za/2qZAy 3SHyMD4T36OmeV8C3OVHJ4FXVAoEkgLqhPNArJLmbLnxkt2KIYMTbX2AeTsIW2f/PKeY KLZQ== X-Gm-Message-State: AD7BkJIpYyBKnYqkuEJvU1Hen7y2E4uEM9BEhYyHigHuUAIqxHnIZwHvPAP3ex0T1BazAN6e X-Received: by 10.28.104.87 with SMTP id d84mr2637774wmc.56.1456484564616; Fri, 26 Feb 2016 03:02:44 -0800 (PST) Received: from localhost.localdomain (cpc87017-aztw30-2-0-cust65.18-1.cable.virginm.net. [92.232.232.66]) by smtp.gmail.com with ESMTPSA id hm9sm11909695wjb.34.2016.02.26.03.02.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 26 Feb 2016 03:02:43 -0800 (PST) From: Kieran Bingham To: gdb-patches@sourceware.org Cc: arnez@linux.vnet.ibm.com, jeffm@suse.com, peter.griffin@linaro.org, lee.jones@linaro.org, yao.qi@linaro.org, russell.wayman@linaro.org, kernel@stlinux.com, Kieran Bingham Subject: [PATCH] squash! gdb/lkd: Add Linux Kernel Awareness target Date: Fri, 26 Feb 2016 11:02:00 -0000 Message-Id: <1456484561-16109-1-git-send-email-kieran.bingham@linaro.org> In-Reply-To: <1456427706-30077-4-git-send-email-kieran.bingham@linaro.org> References: <1456427706-30077-4-git-send-email-kieran.bingham@linaro.org> X-SW-Source: 2016-02/txt/msg00837.txt.bz2 Apologies for the rookie-mistake here: Remove unused mmu_info structure from lkd-process I can't believe I let this slip. I was sure I tested this build before sending this patchset, but here it is. It fails to build from clean. I clearly missed these two lines from my aggressive code chopping Tag updated to include this commit for anyone who actually looks to try this functionality out. --- gdb/lkd/lkd-process.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/gdb/lkd/lkd-process.c b/gdb/lkd/lkd-process.c index 5f791da9e5e2..ac80141a1d97 100644 --- a/gdb/lkd/lkd-process.c +++ b/gdb/lkd/lkd-process.c @@ -109,8 +109,6 @@ CORE_ADDR rq_idle[MAX_CORES]; /*rq->idle */ static int process_counts[MAX_CORES]; static int last_pid; -struct mmu_infos mmu_info[MAX_CORES]; - static int find_thread_lwp (struct thread_info *tp, void *arg) @@ -715,7 +713,6 @@ lkd_proc_init (void) struct cleanup *cleanup; memset (per_cpu_offset, 0, MAX_CORES * sizeof (uint32_t)); - memset (mmu_info, 0, MAX_CORES * sizeof (struct mmu_infos)); /* ensure thread list from beneath target is up to date */ cleanup = make_cleanup_restore_integer (&print_thread_events); -- 2.5.0