aboutsummaryrefslogtreecommitdiff
path: root/source/components/debugger
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2017-02-28 20:06:31 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2017-02-28 20:06:31 +0000
commit691d1929c1c1f25857086b168ef9973b2472de41 (patch)
tree04e90e804d87765833c7230981b2cca94e2ebf94 /source/components/debugger
parenta0b3a9cf1fc8fe1d9f95e69cdf8914bb6ebcee03 (diff)
Notes
Diffstat (limited to 'source/components/debugger')
-rw-r--r--source/components/debugger/dbmethod.c1
-rw-r--r--source/components/debugger/dbxface.c5
2 files changed, 5 insertions, 1 deletions
diff --git a/source/components/debugger/dbmethod.c b/source/components/debugger/dbmethod.c
index c47ca39bbefb..3c7a6d3f1e33 100644
--- a/source/components/debugger/dbmethod.c
+++ b/source/components/debugger/dbmethod.c
@@ -479,6 +479,7 @@ AcpiDbWalkForExecute (
Status = AcpiGetObjectInfo (ObjHandle, &ObjInfo);
if (ACPI_FAILURE (Status))
{
+ ACPI_FREE (Pathname);
return (Status);
}
diff --git a/source/components/debugger/dbxface.c b/source/components/debugger/dbxface.c
index d548f64f71a5..def269d84f0b 100644
--- a/source/components/debugger/dbxface.c
+++ b/source/components/debugger/dbxface.c
@@ -45,6 +45,7 @@
#include "accommon.h"
#include "amlcode.h"
#include "acdebug.h"
+#include "acinterp.h"
#define _COMPONENT ACPI_CA_DEBUGGER
@@ -137,7 +138,7 @@ ErrorExit:
*
* RETURN: Status
*
- * DESCRIPTION: Called for AML_BREAK_POINT_OP
+ * DESCRIPTION: Called for AML_BREAKPOINT_OP
*
******************************************************************************/
@@ -404,7 +405,9 @@ AcpiDbSingleStep (
}
+ AcpiExExitInterpreter ();
Status = AcpiDbStartCommand (WalkState, Op);
+ AcpiExEnterInterpreter ();
/* User commands complete, continue execution of the interrupted method */