[Libguestfs] simplify debugging of guestfsd

Richard W.M. Jones rjones at redhat.com
Fri Sep 21 13:49:34 UTC 2012


On Fri, Sep 21, 2012 at 03:40:35PM +0200, Olaf Hering wrote:
> gdb is certainly more advanced, something like 'var="gdb --readnow -ex r
> -ex bt -ex quit' ; $var guestfsd' would be good enough, or gdb
> --command=FILE.
> As you say, without adding debuginfo into guest the backtrace would be
> not that useful. But its better than nothing.

glibc -- on Fedora -- prints a stack trace on exit, so we've not had a
need to get one out using gdb.  A core dump would be the really useful
thing for us.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora




More information about the Libguestfs mailing list