Skip to content

Commit 318cf7e

Browse files
committed
Get ready for release 1.1.3
2 parents b77a6cd + d060df0 commit 318cf7e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+695
-169
lines changed

.editorconfig

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# This is an EditorConfig file
2+
# https://EditorConfig.org
3+
4+
root = true
5+
6+
[*]
7+
end_of_line = lf
8+
insert_final_newline = true
9+
charset = utf-8
10+
indent_style = tab
11+
indent_size = 4
12+
insert_final_newline = true
13+
14+
[*.yml]
15+
indent_style = space
16+
indent_size = 2
17+
end_of_line = lf
18+
insert_final_newline = true
19+
20+
[*.py]
21+
indent_style = space
22+
indent_size = 4
23+
end_of_line = lf
24+
insert_final_newline = true
25+
26+
# Tab indentation (no size specified)
27+
[Makefile]
28+
indent_style = tab

ChangeLog

Lines changed: 249 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,252 @@
1+
2023-03-05 R. Bernstein <[email protected]>
2+
3+
* : Get ready for release 1.1.3
4+
5+
2023-03-01 rocky <[email protected]>
6+
7+
* command/quit.sh, command/run.sh, lib/sig.sh,
8+
test/data/Makefile.am, test/data/action.right,
9+
test/data/brkpt1.right, test/data/bug-args.right,
10+
test/data/bug-delete.right, test/data/bug-errexit.right,
11+
test/data/bug-ksharrays.right, test/data/bugIFS.right,
12+
test/data/bugIFS2.right, test/data/condition.right,
13+
test/data/debug.right, test/data/delete.right,
14+
test/data/enable.right, test/data/examine-5.4.1.right,
15+
test/data/examine.right, test/data/export-5.4.1.right,
16+
test/data/export.right, test/data/frame-5.8.1.right,
17+
test/data/frame.right, test/data/list.right, test/data/lopts.right,
18+
test/data/multi1.right, test/data/multi2.right,
19+
test/data/multi3.right, test/data/next.right,
20+
test/data/setshow-5.4.1.right, test/data/setshow.right,
21+
test/data/skip.right, test/data/sopts.right, test/data/step.right,
22+
test/data/subshell-5.4.1.right, test/data/subshell.right,
23+
test/data/tbreak.right, test/integration/test-frame.in, zshdb.in:
24+
Trap debugged-program exit
25+
26+
2023-03-01 rocky <[email protected]>
27+
28+
* command/info.sh, configure.ac: Bump version number
29+
30+
2023-02-27 rocky <[email protected]>
31+
32+
* lib/processor.sh: Update debug prompt string on successful cmd
33+
34+
2023-01-05 rocky <[email protected]>
35+
36+
* command/complete.sh, command/help.sh, dbg-opts.sh: misc tweaks... complete.sh: use Dbg_ prefix more often help.sh: add typeset -A
37+
which might be needed by demo fragments db-opts.sh - update
38+
copyright
39+
40+
2022-07-03 rocky <[email protected]>
41+
42+
* .circleci/config.yml: Adjust CI for newer environment
43+
44+
2022-06-30 R. Bernstein <[email protected]>
45+
46+
* : Merge pull request #36 from dbitouze/master Typo fixed
47+
48+
2021-07-18 R. Bernstein <[email protected]>
49+
50+
* : Merge pull request #34 from roc007/master add a unit test : test -z "$a"
51+
52+
2021-07-17 R. Bernstein <[email protected]>
53+
54+
* : Merge pull request #32 from roc007/master add the return code of the evaluated expression
55+
56+
2021-07-17 R. Bernstein <[email protected]>
57+
58+
* : Merge pull request #30 from roc007/master pattern matching modification
59+
60+
2021-01-13 rocky <[email protected]>
61+
62+
* test/unit/test-fns.sh.in: Adjust test variable
63+
64+
2021-01-13 rocky <[email protected]>
65+
66+
* .circleci/config.yml: CircleCI attempt 2
67+
68+
2021-01-13 rocky <[email protected]>
69+
70+
* .circleci/config.yml, command/complete.sh, command/down.sh,
71+
command/examine.sh, command/help.sh, command/set_sub/annotate.sh,
72+
command/set_sub/autoeval.sh, command/set_sub/autolist.sh,
73+
command/set_sub/basename.sh, command/set_sub/confirm.sh,
74+
command/set_sub/debug.sh, command/set_sub/different.sh,
75+
command/set_sub/editing.sh, command/set_sub/filename-display.sh,
76+
command/set_sub/highlight.sh, command/set_sub/history.sh,
77+
command/set_sub/linetrace.sh, command/set_sub/listsize.sh,
78+
command/set_sub/showcommand.sh, command/set_sub/style.sh,
79+
command/set_sub/trace-commands.sh, command/show_sub/autoeval.sh,
80+
command/show_sub/autolist.sh, command/show_sub/basename.sh,
81+
command/show_sub/commands.sh, command/show_sub/filename-display.sh,
82+
command/up.sh, lib/journal.sh, lib/save-restore.sh: Joachim Ansorg's
83+
whitespace in filename patches Also try fossa on circleci
84+
85+
2021-01-13 rocky <[email protected]>
86+
87+
* lib/fns.sh, lib/processor.sh, test/unit/test-fns.sh.in: Joachim
88+
Ansorg's dbg_copies fixes $result -> $Dbg_result
89+
90+
2020-10-21 R. Bernstein <[email protected]>
91+
92+
* : Merge pull request #29 from srinivas32/master Update .travis.yml
93+
94+
2020-09-04 R. Bernstein <[email protected]>
95+
96+
* : Merge pull request #28 from hcaw/patch-1 Fix simple typo
97+
98+
2020-07-07 rocky <[email protected]>
99+
100+
* docs/commands/set/basename.rst,
101+
docs/commands/set/filename-display.rst: RsT formatting
102+
103+
2020-07-07 rocky <[email protected]>
104+
105+
* command/set.sh, command/set_sub/basename.sh,
106+
command/set_sub/filename-display.sh, command/show.sh,
107+
command/show_sub/basename.sh, command/show_sub/filename-display.sh,
108+
docs/commands/running/continue.rst, docs/commands/running/step.rst,
109+
docs/commands/set.rst, docs/commands/set/basename.rst,
110+
docs/commands/set/debug.rst,
111+
docs/commands/set/filename-display.rst, docs/commands/show.rst,
112+
docs/commands/show/basename.rst,
113+
docs/commands/show/filename-display.rst, lib/help.sh,
114+
test/data/setshow-5.4.1.right: Add gdb-like set/show
115+
filename-display
116+
117+
2020-06-08 rocky <[email protected]>
118+
119+
* command/info.sh, command/info_sub/Makefile.am,
120+
command/info_sub/functions.sh, command/info_sub/variables.sh,
121+
command/list.sh, dbg-opts.sh, docs/commands/info.rst,
122+
docs/commands/info/functions.rst, lib/info-help.sh: Add gdb "info
123+
functions"
124+
125+
2020-05-18 rocky <[email protected]>
126+
127+
* command/info_sub/variables.sh: don't exit "info var" on error
128+
and... order list of properties alphabetically
129+
130+
2020-05-18 rocky <[email protected]>
131+
132+
* command/info.sh, command/show.sh: Joachim Ansorg's patch for
133+
spaces in filenames... to load in "info" and "show" subcommands. Thanks Joachim!
134+
135+
2020-05-02 rocky <[email protected]>
136+
137+
* zterm-background.sh: Update term-background
138+
139+
2020-05-02 R. Bernstein <[email protected]>
140+
141+
* : Merge pull request #26 from bitwranglr/master A few more bugfixes
142+
143+
2020-04-28 bitwranglr <[email protected]>
144+
145+
* command/eval.sh, command/source.sh, lib/file.sh: Fix some issues
146+
when spaces appear in paths (there are a lot of these bugs)
147+
148+
2020-04-26 R. Bernstein <[email protected]>
149+
150+
* : Merge pull request #25 from bitwranglr/master Fix issue #24: use correct tty for prompt/commands
151+
152+
2020-04-24 rocky <[email protected]>
153+
154+
* .circleci/config.yml: Try to fix CI
155+
156+
2020-04-24 R. Bernstein <[email protected]>
157+
158+
* .github/FUNDING.yml: Create FUNDING.yml
159+
160+
2020-03-10 rocky <[email protected]>
161+
162+
* docs/commands/stack.rst: Small doc correction
163+
164+
2020-03-07 rocky <[email protected]>
165+
166+
* : commit b55f44a67aafb35e349a7e475409cae8fda5295a Author: rocky
167+
<[email protected]> Date: Sat Mar 7 09:22:51 2020 -0500
168+
169+
2020-03-06 R. Bernstein <[email protected]>
170+
171+
* : Merge pull request #23 from rocky/feature/travis-ci-macos Add macOS CI support for Travis-CI
172+
173+
2020-03-05 rocky <[email protected]>
174+
175+
* docs/commands/set/highlight.rst, docs/commands/set/linetrace.rst,
176+
docs/commands/set/listsize.rst, docs/commands/set/style.rst,
177+
docs/commands/set/trace-commands.rst, docs/commands/set/width.rst,
178+
docs/commands/show/aliases.rst, docs/commands/show/args.rst,
179+
docs/commands/show/autoeval.rst, docs/commands/show/autolist.rst,
180+
docs/commands/show/basename.rst, docs/commands/show/confirm.rst,
181+
docs/commands/show/different.rst, docs/commands/show/editing.rst,
182+
docs/commands/show/highlight.rst, docs/commands/show/linetrace.rst,
183+
docs/commands/show/listsize.rst, docs/commands/show/style.rst,
184+
docs/commands/show/trace-commands.rst, docs/commands/show/width.rst:
185+
Regularize zshdb titles
186+
187+
2020-03-05 rocky <[email protected]>
188+
189+
* docs/commands/breakpoints/delete.rst,
190+
docs/commands/data/Makefile, docs/commands/data/display.rst,
191+
docs/commands/data/eval.rst, docs/commands/data/examine.rst,
192+
docs/commands/data/load.rst, docs/commands/files/Makefile,
193+
docs/commands/files/edit.rst, docs/commands/files/list.rst,
194+
docs/commands/info/breakpoints.rst, docs/commands/running/Makefile,
195+
docs/commands/running/continue.rst,
196+
docs/commands/running/debug.rst, docs/commands/running/kill.rst,
197+
docs/commands/running/next.rst, docs/commands/running/quit.rst,
198+
docs/commands/running/run.rst, docs/commands/running/skip.rst,
199+
docs/commands/running/step.rst, docs/commands/set/Makefile,
200+
docs/commands/set/annotate.rst, docs/commands/set/args.rst,
201+
docs/commands/set/autoeval.rst, docs/commands/set/autolist.rst,
202+
docs/commands/set/basename.rst, docs/commands/set/confirm.rst,
203+
docs/commands/set/debug.rst, docs/commands/set/different.rst,
204+
docs/commands/set/editing.rst, docs/commands/stack/Makefile,
205+
docs/commands/stack/backtrace.rst, docs/commands/stack/down.rst,
206+
docs/commands/stack/frame.rst, docs/commands/stack/up.rst,
207+
docs/commands/support/Makefile, docs/commands/support/alias.rst,
208+
docs/commands/support/help.rst, docs/commands/support/source.rst,
209+
docs/commands/support/unalias.rst: Go over readthedocs
210+
211+
2020-03-01 rocky <[email protected]>
212+
213+
* docs/commands/breakpoints/break.rst,
214+
docs/commands/breakpoints/tbreak.rst: See above
215+
216+
2020-03-01 rocky <[email protected]>
217+
218+
* docs/commands/data/display.rst, docs/commands/data/eval.rst,
219+
docs/commands/running/continue.rst,
220+
docs/commands/running/debug.rst, docs/commands/running/kill.rst,
221+
docs/commands/running/next.rst, docs/commands/running/quit.rst,
222+
docs/commands/running/run.rst, docs/commands/running/step.rst: More
223+
of the last commit
224+
225+
2020-03-01 rocky <[email protected]>
226+
227+
* docs/commands/breakpoints/break.rst,
228+
docs/commands/breakpoints/condition.rst,
229+
docs/commands/breakpoints/delete.rst,
230+
docs/commands/breakpoints/disable.rst,
231+
docs/commands/breakpoints/enable.rst,
232+
docs/commands/breakpoints/tbreak.rst,
233+
docs/commands/data/display.rst, docs/commands/data/eval.rst,
234+
docs/commands/data/examine.rst, docs/commands/data/load.rst,
235+
docs/commands/data/undisplay.rst, docs/commands/files/edit.rst,
236+
docs/commands/files/list.rst, docs/commands/set/debug.rst,
237+
docs/install.rst: Start redoing command titles
238+
239+
2020-02-06 rocky <[email protected]>
240+
241+
* docs/commands/info.rst, docs/commands/set.rst, docs/conf.py,
242+
docs/index.rst, docs/install.rst: Go over sphinx doc warnings
243+
244+
2020-02-06 rocky <[email protected]>
245+
246+
* ChangeLog, admin/how-to-make-a-release.md, docs/.gitignore,
247+
docs/index.rst, test/example/bug-args.sh: Add packaging status to
248+
readthedocs... and some administrivia
249+
1250
2019-12-10 rocky <[email protected]>
2251

3252
* ChangeLog, NEWS.md, admin/how-to-make-a-release.md, configure.ac:

NEWS.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
Version 1.1.3 2023-03-15 Ron Frankel
2+
------------------------------------
3+
4+
* Trap debugged-program exit like we do in bashdb
5+
* Update debug prompt string command number after a successful cmd
6+
* Use `Dbg_` prefix more often
7+
* Do not exit on "info var" error.
8+
* Add gdb "info fufunctions" and order list of properties alphabetically
9+
* Tolerate spaces in filenames (Joachim Ansoorg)
10+
* Update version of `term-background` used
11+
* Go over readthedocs and regularize titles in zshdb Rst docs
12+
* Go over readthedocs sphinx warnings.
13+
* Miscellaneous small bugs and typos from dbitouze, roc007, bitwranglr, Joachim Ansorg, srinivas32, and hcaw
14+
115
Version 1.1.2 2019-12-10 gecko gecko
216
------------------------------------
317

THANKS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ needed to get this off the ground and make debugging possible.
44
Thanks to Kate Ward, Stéphane Chazelas and Nikolaj Schumacher for
55
programs used in conjunction with zshdb.
66

7+
Joachim Ansorg for supporting the project and JetBrainse bashdb IDE support

command/display.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# -*- shell-script -*-
22
# display.sh - gdb-like "(un)display" and list display debugger commands
33
#
4-
# Copyright (C) 2002-2003, 200-2011, 2016
4+
# Copyright (C) 2002-2003, 200-2011, 2016, 2023
55
# Rocky Bernstein <[email protected]>
66
#
77
# This program is free software; you can redistribute it and/or
@@ -22,7 +22,7 @@
2222
_Dbg_help_add display \
2323
"**display** [*stmt*]
2424
25-
Evalute *stmt* each time the debugger is stopped. If *stmt* is omitted, evaluate
25+
Evaluate *stmt* each time the debugger is stopped. If *stmt* is omitted, evaluate
2626
all of the display statements that are active. In contrast, **info display**
2727
shows the display statements without evaluating them.
2828

command/eval.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Often when one is stopped at the line of the first part of an "if",
4848
"elif", "case", "return", "while" compound statement or an assignment
4949
statement, one wants to eval is just the expression portion. For
5050
this, use eval?. Actually, any alias that ends in ? which is aliased
51-
to eval will do thie same thing.
51+
to eval will do the same thing.
5252
5353
If no string is given, we run the string from the current source code
5454
about to be run. If the command ends `?` (via an alias) and no string is

command/kill.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# -*- shell-script -*-
22
# gdb-like "kill" debugger command
33
#
4-
# Copyright (C) 2002-2006, 2008-2011, 2016-2019 Rocky Bernstein
4+
# Copyright (C) 2002-2006, 2008-2011, 2016-2019, 2023 Rocky Bernstein
55
66
#
77
# This program is free software; you can redistribute it and/or
@@ -35,7 +35,7 @@ run an interrupt handler can be sent too.
3535
3636
Giving a negative number is the same as using its positive value.
3737
38-
When the ! suffix appears, no confirmation is neeeded.
38+
When the ! suffix appears, no confirmation is needed.
3939
4040
Examples:
4141
---------

command/next.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# -*- shell-script -*-
2-
# gdb-like "next" (step through) commmand.
2+
# gdb-like "next" (step through) command.
33
#
4-
# Copyright (C) 2008, 2010, 2016 Rocky Bernstein [email protected]
4+
# Copyright (C) 2008, 2010, 2016, 2023 Rocky Bernstein [email protected]
55
#
66
# This program is free software; you can redistribute it and/or
77
# modify it under the terms of the GNU General Public License as

command/quit.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@ _Dbg_do_quit() {
7474
# Get the last command into the history
7575
# set -o incappendhistory
7676
print -s -- $_Dbg_orig_cmd >/dev/null
77+
if (($_Dbg_in_exit_handler != 0)); then
78+
_Dbg_exit_from_exit_handler=1
79+
return 1
80+
fi
81+
7782
_Dbg_cleanup
7883
fi
7984

command/run.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# -*- shell-script -*-
22
# run command.
33
#
4-
# Copyright (C) 2008-2010, 2016 Rocky Bernstein [email protected]
4+
# Copyright (C) 2008-2010, 2016, 2023 Rocky Bernstein [email protected]
55
#
66
# This program is free software; you can redistribute it and/or
77
# modify it under the terms of the GNU General Public License as
@@ -80,7 +80,9 @@ _Dbg_do_run() {
8080

8181
builtin cd $_Dbg_init_cwd
8282

83-
_Dbg_cleanup
83+
if (( $_Dbg_in_exit_handler != 0)); then
84+
_Dbg_cleanup
85+
fi
8486
eval "exec $exec_cmd"
8587
}
8688

0 commit comments

Comments
 (0)