summaryrefslogtreecommitdiffstats
path: root/lldb/source/Target/ThreadPlanStepThrough.cpp
diff options
context:
space:
mode:
authorDaniel Malea <daniel.malea@intel.com>2012-11-29 21:49:15 +0000
committerDaniel Malea <daniel.malea@intel.com>2012-11-29 21:49:15 +0000
commitd01b2953fac73977de3bc97e72ea04ad1ec6600f (patch)
tree1883eeb5c13d5a2aa557d50eb40a0e08f43a8ec1 /lldb/source/Target/ThreadPlanStepThrough.cpp
parent05d3bf77a1af49e8f6513729e4ccce780ffae4bb (diff)
downloadbcm5719-llvm-d01b2953fac73977de3bc97e72ea04ad1ec6600f.tar.gz
bcm5719-llvm-d01b2953fac73977de3bc97e72ea04ad1ec6600f.zip
Resolve printf formatting warnings on Linux:
- use macros from inttypes.h for format strings instead of OS-specific types Patch from Matt Kopec! llvm-svn: 168945
Diffstat (limited to 'lldb/source/Target/ThreadPlanStepThrough.cpp')
-rw-r--r--lldb/source/Target/ThreadPlanStepThrough.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Target/ThreadPlanStepThrough.cpp b/lldb/source/Target/ThreadPlanStepThrough.cpp
index 003d199e379..21e1eeb8d3c 100644
--- a/lldb/source/Target/ThreadPlanStepThrough.cpp
+++ b/lldb/source/Target/ThreadPlanStepThrough.cpp
@@ -65,7 +65,7 @@ ThreadPlanStepThrough::ThreadPlanStepThrough (Thread &thread, StackID &m_stack_i
LogSP log(lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_STEP));
if (log)
{
- log->Printf ("Setting backstop breakpoint %d at address: 0x%llx", m_backstop_bkpt_id, m_backstop_addr);
+ log->Printf ("Setting backstop breakpoint %d at address: 0x%" PRIx64, m_backstop_bkpt_id, m_backstop_addr);
}
}
}
@@ -103,11 +103,11 @@ ThreadPlanStepThrough::LookForPlanToStepThroughFromCurrentPC()
{
StreamString s;
m_sub_plan_sp->GetDescription(&s, lldb::eDescriptionLevelFull);
- log->Printf ("Found step through plan from 0x%llx: %s", current_address, s.GetData());
+ log->Printf ("Found step through plan from 0x%" PRIx64 ": %s", current_address, s.GetData());
}
else
{
- log->Printf ("Couldn't find step through plan from address 0x%llx.", current_address);
+ log->Printf ("Couldn't find step through plan from address 0x%" PRIx64 ".", current_address);
}
}
}
OpenPOWER on IntegriCloud