This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH] squash! gdb/lkd: Add Linux Kernel Awareness target
- From: Kieran Bingham <kieran dot bingham at linaro dot org>
- To: gdb-patches at sourceware dot org
- Cc: arnez at linux dot vnet dot ibm dot com, jeffm at suse dot com, peter dot griffin at linaro dot org, lee dot jones at linaro dot org, yao dot qi at linaro dot org, russell dot wayman at linaro dot org, kernel at stlinux dot com, Kieran Bingham <kieran dot bingham at linaro dot org>
- Date: Fri, 26 Feb 2016 11:02:41 +0000
- Subject: [PATCH] squash! gdb/lkd: Add Linux Kernel Awareness target
- Authentication-results: sourceware.org; auth=none
- References: <1456427706-30077-4-git-send-email-kieran dot bingham at linaro dot org>
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