summaryrefslogtreecommitdiff
path: root/source/components/debugger/dbexec.c
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2017-05-31 22:40:24 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2017-05-31 22:40:24 +0000
commitc457a42be4fca72c51fdca569271b62213d01a37 (patch)
tree0ce624183fb74a6ec5d2260e6904585800e8c4d8 /source/components/debugger/dbexec.c
parent65c600c804e5a81af3a34d461312027000738994 (diff)
Notes
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));