building debug versions of lvm cli utilities
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
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]