Commit:    527ac404a124a574321bdcc209fd4f30d05d7144
Author:    Rasmus Lerdorf <ras...@php.net>         Mon, 1 Apr 2013 16:27:09 
-0700
Parents:   7b07d05917d9ff40a70bd6ecffca840e2458ea86
Branches:  master

Link:       
http://git.php.net/?p=php-src.git;a=commitdiff;h=527ac404a124a574321bdcc209fd4f30d05d7144

Log:
The printf modifier for a double is just %f

Changed paths:
  M  .gdbinit


Diff:
diff --git a/.gdbinit b/.gdbinit
index e7a565d..b14b03d 100644
--- a/.gdbinit
+++ b/.gdbinit
@@ -106,7 +106,7 @@ define dump_bt
                                                printf "%ld", 
$zvalue->value.lval
                                        end
                                        if $type == 2
-                                               printf "%lf", 
$zvalue->value.dval
+                                               printf "%f", $zvalue->value.dval
                                        end
                                        if $type == 3
                                                if $zvalue->value.lval
@@ -185,7 +185,7 @@ define ____printzv_contents
                printf "long: %ld", $zvalue->value.lval
        end
        if $type == 2
-               printf "double: %lf", $zvalue->value.dval
+               printf "double: %f", $zvalue->value.dval
        end
        if $type == 3
                printf "bool: "


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to