diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | command.c | 2 | ||||
-rw-r--r-- | command.y | 2 |
4 files changed, 13 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2014-09-28 Arnold D. Robbins <arnold@skeeve.com> + + * command.y (cmdtab): Add "where" as an alias for "backtrace". + Finally! + 2014-09-27 Arnold D. Robbins <arnold@skeeve.com> * awkgram.y (check_for_bad): Bitwise-and the bad character with 0xFF @@ -19,7 +24,7 @@ * awkgram.y (yylex): Don't check for junk characters inside quoted strings. Caused issues on DJGPP and Solaris. - Unrelated + Unrelated: * io.c (devopen): Straighten things out with respect to compatibility with BWK awk. @@ -30,6 +30,9 @@ Changes from 4.1.1 to 4.1.2 If you feel that you must have this misfeature, use `configure --help' to see what option to use when configuring gawk to reenable it. +7. The "where" command has been added to the debugger as an alias + for "backtrace". This will make life easier for long-time GDB users. + XX. A number of bugs have been fixed. See the ChangeLog. Changes from 4.1.0 to 4.1.1 @@ -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 }, }; @@ -897,6 +897,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 }, }; |