diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | command.c | 2 | ||||
-rw-r--r-- | command.y | 2 | ||||
-rw-r--r-- | doc/ChangeLog | 5 | ||||
-rw-r--r-- | doc/gawk.info | 379 | ||||
-rw-r--r-- | doc/gawk.texi | 6 | ||||
-rw-r--r-- | doc/gawktexi.in | 6 |
8 files changed, 224 insertions, 186 deletions
@@ -1,8 +1,15 @@ +2015-11-26 Arnold D. Robbins <arnold@skeeve.com> + + * command.y (cmdtab): Add "exit" as synonym for "quit". + Suggested by Joep van Delft <joepvandelft@xs4all.nl>. + * NEWS: Document this. + 2015-11-24 Arnold D. Robbins <arnold@skeeve.com> * debug.c (debug_pre_execute): Fix to check watchpoints before checking breakpoints. Gives more natural behavior for the user. * NEWS: Document this. + Issue reported by Joep van Delft <joepvandelft@xs4all.nl>. 2015-10-28 Arnold D. Robbins <arnold@skeeve.com> @@ -16,6 +16,9 @@ Changes from 4.1.3 to 4.1.x reports watchpoints that have fired before checking for breakpoints. This gives more natural behavior to the user. +4. The "exit" command has been added to the debugger as an alias + for "quit". + Changes from 4.1.2 to 4.1.3 --------------------------- @@ -2592,6 +2592,8 @@ struct cmdtoken cmdtab[] = { gettext_noop("end - end a list of commands or awk statements.") }, { "eval", "", D_eval, D_EVAL, do_eval, gettext_noop("eval stmt|[p1, p2, ...] - evaluate awk statement(s).") }, +{ "exit", "", D_quit, D_QUIT, do_quit, + gettext_noop("exit - (same as quit) exit debugger.") }, { "finish", "", D_finish, D_FINISH, do_finish, gettext_noop("finish - execute until selected stack frame returns.") }, { "frame", "f", D_frame, D_FRAME, do_frame, @@ -841,6 +841,8 @@ struct cmdtoken cmdtab[] = { gettext_noop("end - end a list of commands or awk statements.") }, { "eval", "", D_eval, D_EVAL, do_eval, gettext_noop("eval stmt|[p1, p2, ...] - evaluate awk statement(s).") }, +{ "exit", "", D_quit, D_QUIT, do_quit, + gettext_noop("exit - (same as quit) exit debugger.") }, { "finish", "", D_finish, D_FINISH, do_finish, gettext_noop("finish - execute until selected stack frame returns.") }, { "frame", "f", D_frame, D_FRAME, do_frame, diff --git a/doc/ChangeLog b/doc/ChangeLog index ea99bfee..da3c921f 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,8 @@ +2015-11-26 Arnold D. Robbins <arnold@skeeve.com> + + * gawktexi.in: Add "exit" as synonym for "quit" in the + debugger. Suggested by Joep van Delft <joepvandelft@xs4all.nl>. + 2015-11-15 Arnold D. Robbins <arnold@skeeve.com> * gawktexi.in: Minor edits. diff --git a/doc/gawk.info b/doc/gawk.info index 7c8ad56d..f2ff3a91 100644 --- a/doc/gawk.info +++ b/doc/gawk.info @@ -21476,6 +21476,9 @@ categories, as follows: -| [ :0xfcc1a0] Op_after_endfile : gawk> +'exit' + Exit the debugger. See the entry for 'quit', later in this list. + 'help' 'h' Print a list of all of the 'gawk' debugger commands with a short @@ -32342,16 +32345,16 @@ Index (line 39) * debugger commands, frame: Execution Stack. (line 27) * debugger commands, h (help): Miscellaneous Debugger Commands. - (line 66) + (line 69) * debugger commands, help: Miscellaneous Debugger Commands. - (line 66) + (line 69) * debugger commands, i (info): Debugger Info. (line 13) * debugger commands, ignore: Breakpoint Control. (line 87) * debugger commands, info: Debugger Info. (line 13) * debugger commands, l (list): Miscellaneous Debugger Commands. - (line 72) + (line 75) * debugger commands, list: Miscellaneous Debugger Commands. - (line 72) + (line 75) * debugger commands, n (next): Debugger Execution Control. (line 43) * debugger commands, next: Debugger Execution Control. @@ -32369,9 +32372,9 @@ Index * debugger commands, printf: Viewing And Changing Data. (line 53) * debugger commands, q (quit): Miscellaneous Debugger Commands. - (line 99) + (line 102) * debugger commands, quit: Miscellaneous Debugger Commands. - (line 99) + (line 102) * debugger commands, r (run): Debugger Execution Control. (line 62) * debugger commands, return: Debugger Execution Control. @@ -32393,7 +32396,7 @@ Index * debugger commands, t (tbreak): Breakpoint Control. (line 90) * debugger commands, tbreak: Breakpoint Control. (line 90) * debugger commands, trace: Miscellaneous Debugger Commands. - (line 107) + (line 110) * debugger commands, u (until): Debugger Execution Control. (line 82) * debugger commands, undisplay: Viewing And Changing Data. @@ -32636,11 +32639,15 @@ Index * exclamation point (!), !~ operator <6>: Precedence. (line 79) * exclamation point (!), !~ operator <7>: Expression Patterns. (line 24) +* exit debugger command: Miscellaneous Debugger Commands. + (line 66) * exit statement: Exit Statement. (line 6) * exit status, of gawk: Exit Status. (line 6) * exit status, of VMS: VMS Running. (line 28) * exit the debugger: Miscellaneous Debugger Commands. - (line 99) + (line 66) +* exit the debugger <1>: Miscellaneous Debugger Commands. + (line 102) * exp: Numeric Functions. (line 19) * expand utility: Very Simple. (line 73) * Expat XML parser library: gawkextlib. (line 35) @@ -33102,7 +33109,7 @@ Index * gsub() function, arguments of: String Functions. (line 463) * gsub() function, escape processing: Gory Details. (line 6) * h debugger command (alias for help): Miscellaneous Debugger Commands. - (line 66) + (line 69) * Hankerson, Darrel: Acknowledgments. (line 60) * Hankerson, Darrel <1>: Contributors. (line 61) * Haque, John: Contributors. (line 109) @@ -33110,7 +33117,7 @@ Index * Hartholz, Marshall: Acknowledgments. (line 38) * Hasegawa, Isamu: Contributors. (line 95) * help debugger command: Miscellaneous Debugger Commands. - (line 66) + (line 69) * hexadecimal numbers: Nondecimal-numbers. (line 6) * hexadecimal values, enabling interpretation of: Options. (line 209) * history expansion, in debugger: Readline Support. (line 6) @@ -33258,7 +33265,7 @@ Index * Knights, jedi: Undocumented. (line 6) * Kwok, Conrad: Contributors. (line 35) * l debugger command (alias for list): Miscellaneous Debugger Commands. - (line 72) + (line 75) * labels.awk program: Labels Program. (line 51) * Langston, Peter: Advanced Features. (line 6) * languages, data-driven: Basic High Level. (line 74) @@ -33335,7 +33342,7 @@ Index * Linux <2>: Glossary. (line 748) * list all global variables, in debugger: Debugger Info. (line 48) * list debugger command: Miscellaneous Debugger Commands. - (line 72) + (line 75) * list function definitions, in debugger: Debugger Info. (line 30) * loading extensions, @load directive: Loading Shared Libraries. (line 8) @@ -33798,7 +33805,7 @@ Index * programming, concepts <1>: Basic Concepts. (line 6) * pwcat program: Passwd Functions. (line 23) * q debugger command (alias for quit): Miscellaneous Debugger Commands. - (line 99) + (line 102) * QSE awk: Other Versions. (line 135) * Quanstrom, Erik: Alarm Program. (line 8) * question mark (?), ?: operator: Precedence. (line 91) @@ -33807,7 +33814,7 @@ Index (line 62) * QuikTrim Awk: Other Versions. (line 139) * quit debugger command: Miscellaneous Debugger Commands. - (line 99) + (line 102) * QUIT signal (MS-Windows): Profiling. (line 213) * quoting in gawk command lines: Long. (line 26) * quoting in gawk command lines, tricks for: Quoting. (line 91) @@ -34290,7 +34297,7 @@ Index * toupper: String Functions. (line 530) * tr utility: Translate Program. (line 6) * trace debugger command: Miscellaneous Debugger Commands. - (line 107) + (line 110) * traceback, display in debugger: Execution Stack. (line 13) * translate string: I18N Functions. (line 21) * translate.awk program: Translate Program. (line 55) @@ -34863,176 +34870,176 @@ Node: Viewing And Changing Data857687 Node: Execution Stack861061 Node: Debugger Info862698 Node: Miscellaneous Debugger Commands866769 -Node: Readline Support871778 -Node: Limitations872674 -Node: Debugging Summary874783 -Node: Arbitrary Precision Arithmetic875956 -Node: Computer Arithmetic877372 -Ref: table-numeric-ranges880963 -Ref: Computer Arithmetic-Footnote-1881685 -Node: Math Definitions881742 -Ref: table-ieee-formats885056 -Ref: Math Definitions-Footnote-1885659 -Node: MPFR features885764 -Node: FP Math Caution887437 -Ref: FP Math Caution-Footnote-1888509 -Node: Inexactness of computations888878 -Node: Inexact representation889838 -Node: Comparing FP Values891198 -Node: Errors accumulate892280 -Node: Getting Accuracy893713 -Node: Try To Round896423 -Node: Setting precision897322 -Ref: table-predefined-precision-strings898019 -Node: Setting the rounding mode899849 -Ref: table-gawk-rounding-modes900223 -Ref: Setting the rounding mode-Footnote-1903631 -Node: Arbitrary Precision Integers903810 -Ref: Arbitrary Precision Integers-Footnote-1906794 -Node: POSIX Floating Point Problems906943 -Ref: POSIX Floating Point Problems-Footnote-1910825 -Node: Floating point summary910863 -Node: Dynamic Extensions913053 -Node: Extension Intro914606 -Node: Plugin License915872 -Node: Extension Mechanism Outline916669 -Ref: figure-load-extension917108 -Ref: figure-register-new-function918673 -Ref: figure-call-new-function919765 -Node: Extension API Description921828 -Node: Extension API Functions Introduction923276 -Node: General Data Types928088 -Ref: General Data Types-Footnote-1934043 -Node: Memory Allocation Functions934342 -Ref: Memory Allocation Functions-Footnote-1937187 -Node: Constructor Functions937286 -Node: Registration Functions939031 -Node: Extension Functions939716 -Node: Exit Callback Functions942015 -Node: Extension Version String943265 -Node: Input Parsers943928 -Node: Output Wrappers953813 -Node: Two-way processors958325 -Node: Printing Messages960589 -Ref: Printing Messages-Footnote-1961663 -Node: Updating ERRNO961816 -Node: Requesting Values962555 -Ref: table-value-types-returned963292 -Node: Accessing Parameters964175 -Node: Symbol Table Access965411 -Node: Symbol table by name965923 -Node: Symbol table by cookie967944 -Ref: Symbol table by cookie-Footnote-1972093 -Node: Cached values972157 -Ref: Cached values-Footnote-1975658 -Node: Array Manipulation975749 -Ref: Array Manipulation-Footnote-1976848 -Node: Array Data Types976885 -Ref: Array Data Types-Footnote-1979543 -Node: Array Functions979635 -Node: Flattening Arrays983494 -Node: Creating Arrays990402 -Node: Extension API Variables995174 -Node: Extension Versioning995810 -Node: Extension API Informational Variables997701 -Node: Extension API Boilerplate998765 -Node: Finding Extensions1002579 -Node: Extension Example1003139 -Node: Internal File Description1003937 -Node: Internal File Ops1008017 -Ref: Internal File Ops-Footnote-11019779 -Node: Using Internal File Ops1019919 -Ref: Using Internal File Ops-Footnote-11022302 -Node: Extension Samples1022577 -Node: Extension Sample File Functions1024106 -Node: Extension Sample Fnmatch1031755 -Node: Extension Sample Fork1033242 -Node: Extension Sample Inplace1034460 -Node: Extension Sample Ord1037670 -Node: Extension Sample Readdir1038506 -Ref: table-readdir-file-types1039395 -Node: Extension Sample Revout1040200 -Node: Extension Sample Rev2way1040789 -Node: Extension Sample Read write array1041529 -Node: Extension Sample Readfile1043471 -Node: Extension Sample Time1044566 -Node: Extension Sample API Tests1045914 -Node: gawkextlib1046406 -Node: Extension summary1048830 -Node: Extension Exercises1052522 -Node: Language History1054019 -Node: V7/SVR3.11055675 -Node: SVR41057827 -Node: POSIX1059261 -Node: BTL1060641 -Node: POSIX/GNU1061371 -Node: Feature History1066892 -Node: Common Extensions1080221 -Node: Ranges and Locales1081504 -Ref: Ranges and Locales-Footnote-11086120 -Ref: Ranges and Locales-Footnote-21086147 -Ref: Ranges and Locales-Footnote-31086382 -Node: Contributors1086603 -Node: History summary1092172 -Node: Installation1093552 -Node: Gawk Distribution1094497 -Node: Getting1094981 -Node: Extracting1095942 -Node: Distribution contents1097580 -Node: Unix Installation1103333 -Node: Quick Installation1103949 -Node: Additional Configuration Options1106376 -Node: Configuration Philosophy1108180 -Node: Non-Unix Installation1110550 -Node: PC Installation1111008 -Node: PC Binary Installation1112328 -Node: PC Compiling1114180 -Ref: PC Compiling-Footnote-11117204 -Node: PC Testing1117313 -Node: PC Using1118493 -Node: Cygwin1122607 -Node: MSYS1123377 -Node: VMS Installation1123878 -Node: VMS Compilation1124669 -Ref: VMS Compilation-Footnote-11125899 -Node: VMS Dynamic Extensions1125957 -Node: VMS Installation Details1127642 -Node: VMS Running1129895 -Node: VMS GNV1132736 -Node: VMS Old Gawk1133471 -Node: Bugs1133942 -Node: Other Versions1138139 -Node: Installation summary1144725 -Node: Notes1145783 -Node: Compatibility Mode1146648 -Node: Additions1147430 -Node: Accessing The Source1148355 -Node: Adding Code1149791 -Node: New Ports1156010 -Node: Derived Files1160498 -Ref: Derived Files-Footnote-11165983 -Ref: Derived Files-Footnote-21166018 -Ref: Derived Files-Footnote-31166616 -Node: Future Extensions1166730 -Node: Implementation Limitations1167388 -Node: Extension Design1168571 -Node: Old Extension Problems1169725 -Ref: Old Extension Problems-Footnote-11171243 -Node: Extension New Mechanism Goals1171300 -Ref: Extension New Mechanism Goals-Footnote-11174664 -Node: Extension Other Design Decisions1174853 -Node: Extension Future Growth1176966 -Node: Old Extension Mechanism1177802 -Node: Notes summary1179565 -Node: Basic Concepts1180747 -Node: Basic High Level1181428 -Ref: figure-general-flow1181710 -Ref: figure-process-flow1182395 -Ref: Basic High Level-Footnote-11185696 -Node: Basic Data Typing1185881 -Node: Glossary1189209 -Node: Copying1221155 -Node: GNU Free Documentation License1258694 -Node: Index1283812 +Node: Readline Support871857 +Node: Limitations872753 +Node: Debugging Summary874862 +Node: Arbitrary Precision Arithmetic876035 +Node: Computer Arithmetic877451 +Ref: table-numeric-ranges881042 +Ref: Computer Arithmetic-Footnote-1881764 +Node: Math Definitions881821 +Ref: table-ieee-formats885135 +Ref: Math Definitions-Footnote-1885738 +Node: MPFR features885843 +Node: FP Math Caution887516 +Ref: FP Math Caution-Footnote-1888588 +Node: Inexactness of computations888957 +Node: Inexact representation889917 +Node: Comparing FP Values891277 +Node: Errors accumulate892359 +Node: Getting Accuracy893792 +Node: Try To Round896502 +Node: Setting precision897401 +Ref: table-predefined-precision-strings898098 +Node: Setting the rounding mode899928 +Ref: table-gawk-rounding-modes900302 +Ref: Setting the rounding mode-Footnote-1903710 +Node: Arbitrary Precision Integers903889 +Ref: Arbitrary Precision Integers-Footnote-1906873 +Node: POSIX Floating Point Problems907022 +Ref: POSIX Floating Point Problems-Footnote-1910904 +Node: Floating point summary910942 +Node: Dynamic Extensions913132 +Node: Extension Intro914685 +Node: Plugin License915951 +Node: Extension Mechanism Outline916748 +Ref: figure-load-extension917187 +Ref: figure-register-new-function918752 +Ref: figure-call-new-function919844 +Node: Extension API Description921907 +Node: Extension API Functions Introduction923355 +Node: General Data Types928167 +Ref: General Data Types-Footnote-1934122 +Node: Memory Allocation Functions934421 +Ref: Memory Allocation Functions-Footnote-1937266 +Node: Constructor Functions937365 +Node: Registration Functions939110 +Node: Extension Functions939795 +Node: Exit Callback Functions942094 +Node: Extension Version String943344 +Node: Input Parsers944007 +Node: Output Wrappers953892 +Node: Two-way processors958404 +Node: Printing Messages960668 +Ref: Printing Messages-Footnote-1961742 +Node: Updating ERRNO961895 +Node: Requesting Values962634 +Ref: table-value-types-returned963371 +Node: Accessing Parameters964254 +Node: Symbol Table Access965490 +Node: Symbol table by name966002 +Node: Symbol table by cookie968023 +Ref: Symbol table by cookie-Footnote-1972172 +Node: Cached values972236 +Ref: Cached values-Footnote-1975737 +Node: Array Manipulation975828 +Ref: Array Manipulation-Footnote-1976927 +Node: Array Data Types976964 +Ref: Array Data Types-Footnote-1979622 +Node: Array Functions979714 +Node: Flattening Arrays983573 +Node: Creating Arrays990481 +Node: Extension API Variables995253 +Node: Extension Versioning995889 +Node: Extension API Informational Variables997780 +Node: Extension API Boilerplate998844 +Node: Finding Extensions1002658 +Node: Extension Example1003218 +Node: Internal File Description1004016 +Node: Internal File Ops1008096 +Ref: Internal File Ops-Footnote-11019858 +Node: Using Internal File Ops1019998 +Ref: Using Internal File Ops-Footnote-11022381 +Node: Extension Samples1022656 +Node: Extension Sample File Functions1024185 +Node: Extension Sample Fnmatch1031834 +Node: Extension Sample Fork1033321 +Node: Extension Sample Inplace1034539 +Node: Extension Sample Ord1037749 +Node: Extension Sample Readdir1038585 +Ref: table-readdir-file-types1039474 +Node: Extension Sample Revout1040279 +Node: Extension Sample Rev2way1040868 +Node: Extension Sample Read write array1041608 +Node: Extension Sample Readfile1043550 +Node: Extension Sample Time1044645 +Node: Extension Sample API Tests1045993 +Node: gawkextlib1046485 +Node: Extension summary1048909 +Node: Extension Exercises1052601 +Node: Language History1054098 +Node: V7/SVR3.11055754 +Node: SVR41057906 +Node: POSIX1059340 +Node: BTL1060720 +Node: POSIX/GNU1061450 +Node: Feature History1066971 +Node: Common Extensions1080300 +Node: Ranges and Locales1081583 +Ref: Ranges and Locales-Footnote-11086199 +Ref: Ranges and Locales-Footnote-21086226 +Ref: Ranges and Locales-Footnote-31086461 +Node: Contributors1086682 +Node: History summary1092251 +Node: Installation1093631 +Node: Gawk Distribution1094576 +Node: Getting1095060 +Node: Extracting1096021 +Node: Distribution contents1097659 +Node: Unix Installation1103412 +Node: Quick Installation1104028 +Node: Additional Configuration Options1106455 +Node: Configuration Philosophy1108259 +Node: Non-Unix Installation1110629 +Node: PC Installation1111087 +Node: PC Binary Installation1112407 +Node: PC Compiling1114259 +Ref: PC Compiling-Footnote-11117283 +Node: PC Testing1117392 +Node: PC Using1118572 +Node: Cygwin1122686 +Node: MSYS1123456 +Node: VMS Installation1123957 +Node: VMS Compilation1124748 +Ref: VMS Compilation-Footnote-11125978 +Node: VMS Dynamic Extensions1126036 +Node: VMS Installation Details1127721 +Node: VMS Running1129974 +Node: VMS GNV1132815 +Node: VMS Old Gawk1133550 +Node: Bugs1134021 +Node: Other Versions1138218 +Node: Installation summary1144804 +Node: Notes1145862 +Node: Compatibility Mode1146727 +Node: Additions1147509 +Node: Accessing The Source1148434 +Node: Adding Code1149870 +Node: New Ports1156089 +Node: Derived Files1160577 +Ref: Derived Files-Footnote-11166062 +Ref: Derived Files-Footnote-21166097 +Ref: Derived Files-Footnote-31166695 +Node: Future Extensions1166809 +Node: Implementation Limitations1167467 +Node: Extension Design1168650 +Node: Old Extension Problems1169804 +Ref: Old Extension Problems-Footnote-11171322 +Node: Extension New Mechanism Goals1171379 +Ref: Extension New Mechanism Goals-Footnote-11174743 +Node: Extension Other Design Decisions1174932 +Node: Extension Future Growth1177045 +Node: Old Extension Mechanism1177881 +Node: Notes summary1179644 +Node: Basic Concepts1180826 +Node: Basic High Level1181507 +Ref: figure-general-flow1181789 +Ref: figure-process-flow1182474 +Ref: Basic High Level-Footnote-11185775 +Node: Basic Data Typing1185960 +Node: Glossary1189288 +Node: Copying1221234 +Node: GNU Free Documentation License1258773 +Node: Index1283891 End Tag Table diff --git a/doc/gawk.texi b/doc/gawk.texi index 6f691be5..995bca95 100644 --- a/doc/gawk.texi +++ b/doc/gawk.texi @@ -29917,6 +29917,12 @@ gawk> @kbd{dump} gawk> @end smallexample +@cindex @code{exit} debugger command +@cindex exit the debugger +@item @code{exit} +Exit the debugger. +See the entry for @samp{quit}, later in this list. + @cindex debugger commands, @code{h} (@code{help}) @cindex debugger commands, @code{help} @cindex @code{help} debugger command diff --git a/doc/gawktexi.in b/doc/gawktexi.in index e688280e..58ccaaf6 100644 --- a/doc/gawktexi.in +++ b/doc/gawktexi.in @@ -29008,6 +29008,12 @@ gawk> @kbd{dump} gawk> @end smallexample +@cindex @code{exit} debugger command +@cindex exit the debugger +@item @code{exit} +Exit the debugger. +See the entry for @samp{quit}, later in this list. + @cindex debugger commands, @code{h} (@code{help}) @cindex debugger commands, @code{help} @cindex @code{help} debugger command |