Re: gdb works abnormally when debug the libvirt.

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

 



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@xxxxxxxxxx    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]