diff options
author | Rasmus Lerdorf <rasmus@php.net> | 2013-04-01 16:27:09 -0700 |
---|---|---|
committer | Rasmus Lerdorf <rasmus@php.net> | 2013-04-01 16:27:09 -0700 |
commit | 527ac404a124a574321bdcc209fd4f30d05d7144 (patch) | |
tree | ef2a9a14ae8b21472f1c0dc532f1bcec6ad232c9 /.gdbinit | |
parent | 7b07d05917d9ff40a70bd6ecffca840e2458ea86 (diff) | |
download | php-git-527ac404a124a574321bdcc209fd4f30d05d7144.tar.gz |
The printf modifier for a double is just %f
Diffstat (limited to '.gdbinit')
-rw-r--r-- | .gdbinit | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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: " |