Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9afb68 commit 29848f0Copy full SHA for 29848f0
1 file changed
Misc/gdbinit
@@ -61,11 +61,12 @@ define lineno
61
set $__p = $__p + 1
62
if ($__ad > $__lasti)
63
set $__continue = 0
64
+ else
65
+ set $__li = $__li + *$__p
66
+ set $__p = $__p + 1
67
end
- set $__li = $__li + *$__p
- set $__p = $__p + 1
68
- printf "%d", $__li
69
+ printf "%d\n", $__li
70
71
72
# print the current frame - verbose
0 commit comments