summaryrefslogtreecommitdiff
path: root/source/components/debugger/dbexec.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/components/debugger/dbexec.c')
-rw-r--r--source/components/debugger/dbexec.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/source/components/debugger/dbexec.c b/source/components/debugger/dbexec.c
index ebd02b7c8927..af01ca277f41 100644
--- a/source/components/debugger/dbexec.c
+++ b/source/components/debugger/dbexec.c
@@ -419,8 +419,20 @@ AcpiDbExecute (
#ifdef ACPI_DEBUG_OUTPUT
UINT32 PreviousAllocations;
UINT32 Allocations;
+#endif
+
+ /*
+ * Allow one execution to be performed by debugger or single step
+ * execution will be dead locked by the interpreter mutexes.
+ */
+ if (AcpiGbl_MethodExecuting)
+ {
+ AcpiOsPrintf ("Only one debugger execution is allowed.\n");
+ return;
+ }
+#ifdef ACPI_DEBUG_OUTPUT
/* Memory allocation tracking */
PreviousAllocations = AcpiDbGetOutstandingAllocations ();