public inbox for lvm2-cvs@sourceware.org help / color / mirror / Atom feed
From: jbrassow@sourceware.org To: lvm-devel@redhat.com, lvm2-cvs@sourceware.org Subject: LVM2/scripts gdbinit Date: Thu, 08 Sep 2011 22:19:00 -0000 [thread overview] Message-ID: <20110908221945.21769.qmail@sourceware.org> (raw) CVSROOT: /cvs/lvm2 Module name: LVM2 Changes by: jbrassow@sourceware.org 2011-09-08 22:19:45 Modified files: scripts : gdbinit Log message: Adjust gdbinit script to new RAID status flag values. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/scripts/gdbinit.diff?cvsroot=lvm2&r1=1.8&r2=1.9 --- LVM2/scripts/gdbinit 2011/09/01 21:01:12 1.8 +++ LVM2/scripts/gdbinit 2011/09/08 22:19:45 1.9 @@ -27,8 +27,8 @@ printf "Use 'help <command>' for more info\n" printf "\n\n" printf "Popular breakpoints:\n" -printf "break _split_mirror_images\n" -printf "run --splitmirrors 2 -n new vg/lv\n" +printf "break _raid_add_images\n" +printf "run --type raid1 -m 1 vg/lv\n" printf "\n\n" set follow-fork-mode child @@ -175,18 +175,18 @@ # Constants defined in metadata-exported.h # if ($_s_status & RAID) - if ($_s_status & 0x00000001U) - set $_s_status = $_s_status & ~0x00000001U + if ($_s_status & 0x0000000100000000LU) + set $_s_status = $_s_status & ~0x0000000100000000LU printf " RAID" end # if ($_s_status & RAID_META) - if ($_s_status & 0x00000002U) - set $_s_status = $_s_status & ~0x00000002U + if ($_s_status & 0x0000000200000000LU) + set $_s_status = $_s_status & ~0x0000000200000000LU printf " RAID_META" end # if ($_s_status & RAID_IMAGE) - if ($_s_status & 0x00000004U) - set $_s_status = $_s_status & ~0x00000004U + if ($_s_status & 0x0000000400000000LU) + set $_s_status = $_s_status & ~0x0000000400000000LU printf " RAID_IMAGE" end # if ($_s_status & VISIBLE_LV)
next reply other threads:[~2011-09-08 22:19 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-09-08 22:19 jbrassow [this message] -- strict thread matches above, loose matches on Subject: below -- 2012-04-10 23:24 jbrassow 2011-09-28 16:32 jbrassow 2011-09-13 13:57 jbrassow 2011-09-01 21:01 jbrassow 2011-07-01 16:15 jbrassow 2011-03-29 12:53 jbrassow 2011-03-14 18:05 jbrassow 2011-03-11 22:25 jbrassow 2011-03-11 22:16 jbrassow 2011-03-11 18:22 jbrassow 2011-03-10 13:45 jbrassow
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20110908221945.21769.qmail@sourceware.org \ --to=jbrassow@sourceware.org \ --cc=lvm-devel@redhat.com \ --cc=lvm2-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).