Hi,
On Tuesday 31 March 2009, riku.voipio@iki.fi wrote:It would help if you included a description of what the patch actually does.
> From: Mika Westerberg <mika.westerberg@iki.fi>
>
> Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
> ---
> linux-user/strace.c | 170
> ++++++++++++++++++++++++++++++++++++++++++++++++ linux-user/strace.list |
> 101 +++++++++++++++++-----------
> 2 files changed, 232 insertions(+), 39 deletions(-)
This seems a poor way of implementing this. Much better would be to parse the
> + * This function locks strings from guest memory and prints
> + * strace output according to format specified in strace.list.
format string and make this happen automatically for %s arguments and/or add
a new format specifier.