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 83af8896598a..0a00be81e0ba 100644
--- a/source/components/debugger/dbexec.c
+++ b/source/components/debugger/dbexec.c
@@ -314,6 +314,18 @@ AcpiDbExecuteMethod (
if (ACPI_FAILURE (Status))
{
+ if ((Status == AE_ABORT_METHOD) || AcpiGbl_AbortMethod)
+ {
+ /* Clear the abort and fall back to the debugger prompt */
+
+ ACPI_EXCEPTION ((AE_INFO, Status,
+ "Aborting top-level method"));
+
+ AcpiGbl_AbortMethod = FALSE;
+ Status = AE_OK;
+ goto Cleanup;
+ }
+
ACPI_EXCEPTION ((AE_INFO, Status,
"while executing %s from debugger", Info->Pathname));