diff options
author | j_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-04-04 07:58:14 +0000 |
---|---|---|
committer | j_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-04-04 07:58:14 +0000 |
commit | b62b461bd3850d21c18056a94181828c94ea2f79 (patch) | |
tree | 637d6e072925b5b78ce578779a8a8f2dd7346c7f | |
parent | bc98a7efa43efae9fc17062c87cc43c589d3cbae (diff) | |
download | qemu-b62b461bd3850d21c18056a94181828c94ea2f79.zip qemu-b62b461bd3850d21c18056a94181828c94ea2f79.tar.gz qemu-b62b461bd3850d21c18056a94181828c94ea2f79.tar.bz2 |
TARGET_FMT_ld may also be useful for debugging purposes.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2593 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r-- | cpu-defs.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -44,10 +44,12 @@ typedef int32_t target_long; typedef uint32_t target_ulong; #define TARGET_FMT_lx "%08x" +#define TARGET_FMT_ld "%d" #elif TARGET_LONG_SIZE == 8 typedef int64_t target_long; typedef uint64_t target_ulong; #define TARGET_FMT_lx "%016" PRIx64 +#define TARGET_FMT_ld "%" PRId64 #else #error TARGET_LONG_SIZE undefined #endif |