]> sourceware.org Git - lvm2.git/commitdiff
reorder some status flag printing in gdbinit file.
authorJonathan Earl Brassow <jbrassow@redhat.com>
Tue, 13 Sep 2011 13:57:02 +0000 (13:57 +0000)
committerJonathan Earl Brassow <jbrassow@redhat.com>
Tue, 13 Sep 2011 13:57:02 +0000 (13:57 +0000)
scripts/gdbinit

index 8eb42d61a667a90494d0524cab7b5d133f454ecf..0088017bc785dd60f2407a91f21c97c83f6cce29 100644 (file)
@@ -189,6 +189,21 @@ define __status
                set $_s_status = $_s_status & ~0x0000000400000000LU
                printf " RAID_IMAGE"
        end
+#      if ($_s_status & MIRRORED)
+       if ($_s_status & 0x00008000U)
+               set $_s_status = $_s_status & ~0x00008000U
+               printf " MIRRORED"
+       end
+#      if ($_s_status & MIRROR_LOG)
+       if ($_s_status & 0x00020000U)
+               set $_s_status = $_s_status & ~0x00020000U
+               printf " MIRROR_LOG"
+       end
+#      if ($_s_status & MIRROR_IMAGE)
+       if ($_s_status & 0x00040000U)
+               set $_s_status = $_s_status & ~0x00040000U
+               printf " MIRROR_IMAGE"
+       end
 #      if ($_s_status & VISIBLE_LV)
        if ($_s_status & 0x00000040U)
                printf " VISIBLE_LV"
@@ -226,21 +241,6 @@ define __status
                set $_s_status = $_s_status & ~0x00004000U
                printf " LOCKED"
        end
-#      if ($_s_status & MIRRORED)
-       if ($_s_status & 0x00008000U)
-               set $_s_status = $_s_status & ~0x00008000U
-               printf " MIRRORED"
-       end
-#      if ($_s_status & MIRROR_LOG)
-       if ($_s_status & 0x00020000U)
-               set $_s_status = $_s_status & ~0x00020000U
-               printf " MIRROR_LOG"
-       end
-#      if ($_s_status & MIRROR_IMAGE)
-       if ($_s_status & 0x00040000U)
-               set $_s_status = $_s_status & ~0x00040000U
-               printf " MIRROR_IMAGE"
-       end
 #      if ($_s_status & LV_NOTSYNCED)
        if ($_s_status & 0x00080000U)
                set $_s_status = $_s_status & ~0x00080000U
This page took 0.031714 seconds and 5 git commands to generate.