[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] gdb works abnormally when debug the libvirt.



On 11/29/2011 03:41 AM, Michal Privoznik wrote:
> 
> Now you should have libvirtd in ./daemon/libvirtd; However, this is
> libtool wrapper script. So you won't succeed running it directly (gdb
> ./daemon/libvirtd); I personally use attach: gdb -p $(pgrep libvirtd);

You can also use:

libtool --mode=execute gdb daemon/libvirtd

to start from scratch instead of attaching to an existing pid.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]