summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Moore <Robert.Moore@intel.com>2016-12-08 09:00:10 -0800
committerRobert Moore <Robert.Moore@intel.com>2016-12-08 09:00:10 -0800
commit082b5b3ee31f74735e166858eeda025288604a5a (patch)
tree4ea247b0465933f625477fc49bcae7ffaa6e9b34
parent28b6c0813db2b4a4673c4659a55496bb3f72dd07 (diff)
downloadacpica-082b5b3ee31f74735e166858eeda025288604a5a.tar.gz
Utilities: Update debug output
Enhancement of miscellaneous debug output.
-rw-r--r--source/components/utilities/utdecode.c4
-rw-r--r--source/components/utilities/utdelete.c5
2 files changed, 5 insertions, 4 deletions
diff --git a/source/components/utilities/utdecode.c b/source/components/utilities/utdecode.c
index f27bf0f8d..30c28c4e9 100644
--- a/source/components/utilities/utdecode.c
+++ b/source/components/utilities/utdecode.c
@@ -341,7 +341,7 @@ AcpiUtGetObjectTypeName (
if (!ObjDesc)
{
ACPI_DEBUG_PRINT ((ACPI_DB_EXEC, "Null Object Descriptor\n"));
- return_PTR ("[NULL Object Descriptor]");
+ return_STR ("[NULL Object Descriptor]");
}
/* These descriptor types share a common area */
@@ -354,7 +354,7 @@ AcpiUtGetObjectTypeName (
ACPI_GET_DESCRIPTOR_TYPE (ObjDesc),
AcpiUtGetDescriptorName (ObjDesc), ObjDesc));
- return_PTR ("Invalid object");
+ return_STR ("Invalid object");
}
return_STR (AcpiUtGetTypeName (ObjDesc->Common.Type));
diff --git a/source/components/utilities/utdelete.c b/source/components/utilities/utdelete.c
index 0921b3809..ebe2a784e 100644
--- a/source/components/utilities/utdelete.c
+++ b/source/components/utilities/utdelete.c
@@ -521,8 +521,9 @@ AcpiUtUpdateRefCount (
}
ACPI_DEBUG_PRINT ((ACPI_DB_ALLOCATIONS,
- "Obj %p Type %.2X Refs %.2X [Incremented]\n",
- Object, Object->Common.Type, NewCount));
+ "Obj %p Type %.2X [%s] Refs %.2X [Incremented]\n",
+ Object, Object->Common.Type,
+ AcpiUtGetObjectTypeName (Object), NewCount));
break;
case REF_DECREMENT: