Skip to contentSkip to conversation

building debug versions of lvm cli utilities

linux-lvm Michael Jensen 2 participants 2 messages Nov 28, 2008

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 3 lines · Michael Jensen

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.

Install the pre-built debuginfo packages.

To work from source it's: configure --enable-debug

Alasdair

Signature · 1 line
[email protected]