diff options
author | Joe Damato <ice799@gmail.com> | 2010-10-31 00:21:53 -0700 |
---|---|---|
committer | Joe Damato <ice799@gmail.com> | 2010-11-28 20:07:59 -0800 |
commit | ab3b72cc5d2d3efb3542192f0d72ff2ea4b082f9 (patch) | |
tree | eedc78342e1453196541350e676a9a6e71056b02 /options.h | |
parent | 401eee6f5e119b642d1f56380ff0414ad5cb669e (diff) | |
download | ltrace-ab3b72cc5d2d3efb3542192f0d72ff2ea4b082f9.tar.gz |
Add -w/--where to show backtraces of traced functions.
- add libunwind as a dep to configure
- add a command line option to show backtraces from traced library functions
- best guess at autoconf stuff, seems to work x86_64 and i686
- NOT TESTED ON ANY OTHER PLATFORMS!
Diffstat (limited to 'options.h')
-rw-r--r-- | options.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -16,6 +16,9 @@ struct options_t { int follow; /* trace child processes */ int no_plt; /* set bps on PLT entries */ int no_signals; /* don't print signals */ +#if defined(HAVE_LIBUNWIND) + int bt_depth; /* how may levels of stack frames to show */ +#endif /* defined(HAVE_LIBUNWIND) */ }; extern struct options_t options; |