[sheepdog] [PATCH 4/4] sheep: dump cluster info when exiting unexpectedly
Liu Yuan
namei.unix at gmail.com
Thu Feb 28 08:09:58 CET 2013
On 02/28/2013 03:07 PM, MORITA Kazutaka wrote:
> __sys is actually a variable whose type is struct cluster_info, isn't
> it?
>
> static struct cluster_info __sys;
>
> sd_dump_variable can be used against more things than 'state'. We can
> use it to dump any kinds of global and local variables including
> integer, string, structure, array, and so on.
>
> Perhaps, is sd_dump_expr better since what GDB actually dumps is an
> expression?
Ummm, I prefer _variable over _expr.... Then let us keep it.
Thanks,
Yuan
More information about the sheepdog
mailing list