aboutsummaryrefslogtreecommitdiff
path: root/exec.c
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2015-04-27 17:00:32 -0300
committerAndreas Färber <afaerber@suse.de>2015-07-09 15:20:39 +0200
commit7c39163e389e6e6e16965606fb5a26abcdb6ad73 (patch)
treeb8424125c3b7f43b62d17d7c991e286f696c3ebc /exec.c
parent199fc85acd0571902eeefef6ea861b8ba4c8201f (diff)
cpu: Initialize breakpoint/watchpoint lists in cpu_common_initfn()
One small step in the simplification of cpu_exec_init(). Reviewed-by: Igor Mammedov <imammedo@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'exec.c')
-rw-r--r--exec.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/exec.c b/exec.c
index 44bebe9ee1..e2caee98b6 100644
--- a/exec.c
+++ b/exec.c
@@ -541,8 +541,6 @@ void cpu_exec_init(CPUArchState *env)
cpu_index++;
}
cpu->cpu_index = cpu_index;
- QTAILQ_INIT(&cpu->breakpoints);
- QTAILQ_INIT(&cpu->watchpoints);
#ifndef CONFIG_USER_ONLY
cpu->as = &address_space_memory;
cpu->thread_id = qemu_get_thread_id();