diff options
author | Petr Machata <pmachata@redhat.com> | 2012-01-06 16:58:54 +0100 |
---|---|---|
committer | Petr Machata <pmachata@redhat.com> | 2012-08-29 19:02:06 +0200 |
commit | f6ec08afb96292fd3c802c1f633d8de249664c72 (patch) | |
tree | d52d839f849f5c4723329e85662b44209bed228c /proc.h | |
parent | 37b73c0ab8cbcab4729df6d12f2dc846d4652310 (diff) | |
download | ltrace-f6ec08afb96292fd3c802c1f633d8de249664c72.tar.gz |
Add fetch.c/fetch.h, a module for fetching function arguments
- this is now a thin wrapper over gimme_arg, ideally the backends will
eventually use this right interface
- in display_args.c, strip one layer of pointer wrapping, which is now
done in output.c
Diffstat (limited to 'proc.h')
-rw-r--r-- | proc.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -64,6 +64,11 @@ enum process_state { STATE_IGNORED /* ignore this process (it's a fork and no -f was used) */ }; +struct output_state { + size_t params_left; + int need_delim; +}; + struct callstack_element { union { int syscall; @@ -72,7 +77,9 @@ struct callstack_element { int is_syscall; void * return_addr; struct timeval time_spent; + struct fetch_context *fetch_context; struct value_dict *arguments; + struct output_state out; }; /* XXX We should get rid of this. */ |