diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2014-09-28 22:13:13 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2014-09-28 22:13:13 +0300 |
commit | 983b6996b019850733fc9cd2ea57352f9dbbf7d8 (patch) | |
tree | c65a2e6339260751f3552bb0eea0b8116423f16d /command.c | |
parent | 66479f2ca1fbbf3b96cd2e1b15c0119b209df54a (diff) | |
download | egawk-983b6996b019850733fc9cd2ea57352f9dbbf7d8.tar.gz egawk-983b6996b019850733fc9cd2ea57352f9dbbf7d8.tar.bz2 egawk-983b6996b019850733fc9cd2ea57352f9dbbf7d8.zip |
Add "where" command to debugger (alias for backtrace).
Diffstat (limited to 'command.c')
-rw-r--r-- | command.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2648,6 +2648,8 @@ struct cmdtoken cmdtab[] = { gettext_noop("up [N] - move N frames up the stack.") }, { "watch", "w", D_watch, D_WATCH, do_watch, gettext_noop("watch var - set a watchpoint for a variable.") }, +{ "where", "", D_backtrace, D_BACKTRACE, do_backtrace, + gettext_noop("where [N] - (same as backtrace) print trace of all or N innermost (outermost if N < 0) frames.") }, { NULL, NULL, D_illegal, 0, (Func_cmd) 0, NULL }, }; |