From 8e3a9fd28059821f819295fe9178435990141924 Mon Sep 17 00:00:00 2001 From: bellard Date: Sat, 9 Oct 2004 17:32:58 +0000 Subject: monitor fixes (Johannes Schindelin) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1109 c046a42c-6fe2-441c-8c8c-71466251a162 --- exec.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'exec.c') diff --git a/exec.c b/exec.c index 8732377abe..0dc8d15952 100644 --- a/exec.c +++ b/exec.c @@ -1199,8 +1199,10 @@ CPULogItem cpu_log_items[] = { { CPU_LOG_PCALL, "pcall", "show protected mode far calls/returns/exceptions" }, #endif +#ifdef DEBUG_IOPORT { CPU_LOG_IOPORT, "ioport", "show all i/o ports accesses" }, +#endif { 0, NULL, NULL }, }; @@ -1224,11 +1226,17 @@ int cpu_str_to_log_mask(const char *str) p1 = strchr(p, ','); if (!p1) p1 = p + strlen(p); + if(cmp1(p,p1-p,"all")) { + for(item = cpu_log_items; item->mask != 0; item++) { + mask |= item->mask; + } + } else { for(item = cpu_log_items; item->mask != 0; item++) { if (cmp1(p, p1 - p, item->name)) goto found; } return 0; + } found: mask |= item->mask; if (*p1 != ',') -- cgit v1.2.1