[NTOSKRNL] Also display sections name
authorPierre Schweitzer <pierre@reactos.org>
Sun, 10 Feb 2019 10:23:57 +0000 (11:23 +0100)
committerPierre Schweitzer <pierre@reactos.org>
Sun, 10 Feb 2019 10:23:57 +0000 (11:23 +0100)
ntoskrnl/ex/handle.c

index fdd9f2d..f75f036 100644 (file)
@@ -1438,7 +1438,8 @@ BOOLEAN ExpKdbgExtHandle(ULONG Argc, PCHAR Argv[])
                 /* For directory, and win32k objects, display object name */
                 else if (ObjectHeader->Type == ObpDirectoryObjectType ||
                          ObjectHeader->Type == ExWindowStationObjectType ||
-                         ObjectHeader->Type == ExDesktopObjectType)
+                         ObjectHeader->Type == ExDesktopObjectType ||
+                         ObjectHeader->Type == MmSectionObjectType)
                 {
                     ObjectNameInfo = OBJECT_HEADER_TO_NAME_INFO(ObjectHeader);
                     if (ObjectNameInfo != NULL && ObjectNameInfo->Name.Buffer != NULL)