]> git.saurik.com Git - apple/xnu.git/blobdiff - tools/lldbmacros/ipc.py
xnu-6153.41.3.tar.gz
[apple/xnu.git] / tools / lldbmacros / ipc.py
index 6ac2b4eccbb8887fe95de2cd9614e65ca7f681aa..88ea13b5bbb2fa9050477de7d637602226c130bf 100755 (executable)
@@ -1549,7 +1549,7 @@ def ShowMQueue(cmd_args=None, cmd_options={}):
         pset = unsigned(ArgumentStringToInt(cmd_args[0])) - unsigned(psetoff)
         print PrintPortSetSummary.header
         PrintPortSetSummary(kern.GetValueFromAddress(pset, 'struct ipc_pset *'), space)
-    elif int(wq_type) == 2:
+    elif int(wq_type) in [2, 1]:
         portoff = getfieldoffset('struct ipc_port', 'ip_messages')
         port = unsigned(ArgumentStringToInt(cmd_args[0])) - unsigned(portoff)
         print PrintPortSummary.header