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 ?