diff options
Diffstat (limited to 'mysql-test/resolve-stack')
-rwxr-xr-x | mysql-test/resolve-stack | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mysql-test/resolve-stack b/mysql-test/resolve-stack new file mode 100755 index 00000000000..cdbe362c752 --- /dev/null +++ b/mysql-test/resolve-stack @@ -0,0 +1,8 @@ +#! /bin/sh +# A shortcut for resolving stacks when debugging when +# we cannot duplicate the crash in a debugger and have to +# resort to using stack traces + +nm --numeric-sort ../sql/mysqld > var/tmp/mysqld.sym +echo "Please type or paste the numeric stack trace,Ctrl-C to quit:" +../extra/resolve_stack_dump -s var/tmp/mysqld.sym |