Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0a9397f

Browse files
committed
A newline in lineno output breaks pyframe output.
1 parent a01799f commit 0a9397f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Misc/gdbinit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ define lineno
6666
set $__p = $__p + 1
6767
end
6868
end
69-
printf "%d\n", $__li
69+
printf "%d", $__li
7070
end
7171

7272
# print the current frame - verbose

0 commit comments

Comments
 (0)