]> granicus.if.org Git - python/commitdiff
A newline in lineno output breaks pyframe output.
authorGeorg Brandl <georg@python.org>
Wed, 3 Nov 2010 07:41:00 +0000 (07:41 +0000)
committerGeorg Brandl <georg@python.org>
Wed, 3 Nov 2010 07:41:00 +0000 (07:41 +0000)
Misc/gdbinit

index 275df10083b48c95467d74601bdb99a42b485832..9484b51824a3dd5b567edee5bd2ce1074736edaf 100644 (file)
@@ -66,7 +66,7 @@ define lineno
         set $__p = $__p + 1
       end
     end
-    printf "%d\n", $__li
+    printf "%d", $__li
 end
 
 # print the current frame - verbose