Received: from mx3.redhat.com (mx3.redhat.com [172.16.48.32]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id mASNgkSv000406 for ; Fri, 28 Nov 2008 18:42:46 -0500 Received: from web38305.mail.mud.yahoo.com (web38305.mail.mud.yahoo.com [209.191.125.21]) by mx3.redhat.com (8.13.8/8.13.8) with SMTP id mASNgXd8009370 for ; Fri, 28 Nov 2008 18:42:33 -0500 Date: Fri, 28 Nov 2008 15:42:33 -0800 (PST) From: Michael Jensen MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1021642943-1227915753=:93298" Message-ID: <501191.93298.qm@web38305.mail.mud.yahoo.com> Subject: [linux-lvm] building debug versions of lvm cli utilities Reply-To: beachhangar@yahoo.com, LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: To: linux-lvm@redhat.com --0-1021642943-1227915753=:93298 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable I would like to know what the general procedure would be to create gdb (deb= ug) versions of several LVM utilities - pvscan, pvdisplay. =A0 I am using RH 4.7 and have the sources. =A0 Can I use the kernel based on the distributed binaries? =A0 compile=A0the sources and do a make with the appropriate options? =A0 Then invoke the debug version of the utility with a dbg command? =A0 =A0 Not sure if the utilities run in user or kernel space ? =A0 Thanks, Mike =A0=0A=0A=0A --0-1021642943-1227915753=:93298 Content-Type: text/html; charset=us-ascii
I would like to know what the general procedure would be to create gdb (debug) versions of several LVM utilities - pvscan, pvdisplay.
 
I am using RH 4.7 and have the sources.
 
Can I use the kernel based on the distributed binaries?
 
compile the sources and do a make with the appropriate options?
 
Then invoke the debug version of the utility with a dbg command?
 
 
Not sure if the utilities run in user or kernel space ?
 
Thanks,
Mike
 

--0-1021642943-1227915753=:93298--