squash! gdb/lkd: Add Linux Kernel Awareness target

Message ID 1456484561-16109-1-git-send-email-kieran.bingham@linaro.org
State New
Headers show

Commit Message

Kieran Bingham Feb. 26, 2016, 11:02 a.m.
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(-)

-- 
2.5.0

Patch hide | download patch | download mbox

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);