diff options
author | Jung-uk Kim <jkim@FreeBSD.org> | 2015-09-30 20:13:30 +0000 |
---|---|---|
committer | Jung-uk Kim <jkim@FreeBSD.org> | 2015-09-30 20:13:30 +0000 |
commit | 1e24cf365bc9c8df179b145c90d52852724e54ee (patch) | |
tree | 3c0096caacc85baaf08f60f84ad7b7aa0812a740 /source/components/debugger/dbexec.c | |
parent | c25a97c7b4f09b4c9efa992434d341f5b89629ff (diff) |
Notes
Diffstat (limited to 'source/components/debugger/dbexec.c')
-rw-r--r-- | source/components/debugger/dbexec.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/source/components/debugger/dbexec.c b/source/components/debugger/dbexec.c index ebd02b7c89276..af01ca277f41a 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 (); |