Dave,
Yes, it seems to come up every few years. People have tried, but it
----- Original Message -----
>
> Hi Dave,
>
>
> I notice there was some discussion around on enabling
> the display function parameters feature for crash tool.
> Like this one:
> http://www.redhat.com/archives/crash-utility/2009-May/msg00016.html
has never come to fruition.
No I don't.
>
> Although the answer seems to be quite clear, it should be hard to
> support such feature. But does this feature cannot be done anyway?
> I think this feature would be great in assisting kernel debug.
>
> The main feature I require, first should be know each param's value
> in the call stack.
> Then it is better to know each call stack's param's name.
>
> Like for do_vfs_ioctl function, it is better to display as:
> do_vfs_ioctl(filp=xxx, fd=xxx, cmd=xxx, arg=xxx)
>
> Do you have any idea on how this could be implemented?
GDB could shows the function param string and corresponding value
#0 m4_traceon (obs=0x24eb0, argc=1, argv=0x2b8c8)
at builtin.c:993 #1 0x6e38 in expand_macro (sym=0x2b600) at macro.c:242 #2 0x6840 in expand_token (obs=0x0, t=177664, td=0xf7fffb08) at macro.c:71 (More stack frames follow...)Thanks,