commit | 29848f0570ad595b1f0ae4e7a3d85f6694187cd3 | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Thu Oct 21 12:59:14 2010 +0000 |
committer | Georg Brandl <georg@python.org> | Thu Oct 21 12:59:14 2010 +0000 |
tree | 6906bee7a1220bf260007622bc0903848e1094f5 | |
parent | a9afb68789cdc2d8d3262afc2ffa209b5d8e224a [diff] [blame] |
#9919: fix off-by-one error in lineno command in Misc/gdbinit; also add newline to its output.
diff --git a/Misc/gdbinit b/Misc/gdbinit index 3b4dec6..275df10 100644 --- a/Misc/gdbinit +++ b/Misc/gdbinit
@@ -61,11 +61,12 @@ set $__p = $__p + 1 if ($__ad > $__lasti) set $__continue = 0 + else + set $__li = $__li + *$__p + set $__p = $__p + 1 end - set $__li = $__li + *$__p - set $__p = $__p + 1 end - printf "%d", $__li + printf "%d\n", $__li end # print the current frame - verbose