From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4365 invoked by alias); 13 Sep 2011 13:57:04 -0000 Received: (qmail 4344 invoked by uid 9478); 13 Sep 2011 13:57:03 -0000 Date: Tue, 13 Sep 2011 13:57:00 -0000 Message-ID: <20110913135703.4342.qmail@sourceware.org> From: jbrassow@sourceware.org To: lvm-devel@redhat.com, lvm2-cvs@sourceware.org Subject: LVM2/scripts gdbinit Mailing-List: contact lvm2-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: lvm2-cvs-owner@sourceware.org X-SW-Source: 2011-09/txt/msg00042.txt.bz2 CVSROOT: /cvs/lvm2 Module name: LVM2 Changes by: jbrassow@sourceware.org 2011-09-13 13:57:02 Modified files: scripts : gdbinit Log message: reorder some status flag printing in gdbinit file. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/scripts/gdbinit.diff?cvsroot=lvm2&r1=1.9&r2=1.10 --- LVM2/scripts/gdbinit 2011/09/08 22:19:45 1.9 +++ LVM2/scripts/gdbinit 2011/09/13 13:57:02 1.10 @@ -189,6 +189,21 @@ 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 @@ 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