Re: [Libguestfs] simplify debugging of guestfsd

From: "Richard W.M. Jones" <rjones redhat com>

To: Olaf Hering <olaf aepfle de>

Cc: libguestfs redhat com

Subject: Re: [Libguestfs] simplify debugging of guestfsd

Date: Fri, 21 Sep 2012 14:49:34 +0100

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