Skip to content

Commit

Permalink
Fix some format strings in ProcessGDBRemote.cpp.
Browse files Browse the repository at this point in the history
Summary: Size specifier should come after `%` not before.

Reviewers: clayborg, ADodds

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D12203

llvm-svn: 245608
  • Loading branch information
sas committed Aug 20, 2015
1 parent 7a4062e commit 03fc3f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
Expand Up @@ -4615,7 +4615,7 @@ ProcessGDBRemote::GetLoadedModuleList (GDBLoadedModuleInfoList & list)
module.get_base (base);
module.get_dynamic (ld);

log->Printf ("found (link_map:0x08%" PRIx64 ", base:0x08%" PRIx64 ", ld:0x08%" PRIx64 ", name:'%s')", lm, base, ld, name.c_str());
log->Printf ("found (link_map:0x%08" PRIx64 ", base:0x%08" PRIx64 ", ld:0x%08" PRIx64 ", name:'%s')", lm, base, ld, name.c_str());
}

list.add (module);
Expand Down Expand Up @@ -4665,7 +4665,7 @@ ProcessGDBRemote::GetLoadedModuleList (GDBLoadedModuleInfoList & list)
module.get_name (name);
module.get_base (base);

log->Printf ("found (base:0x%" PRIx64 ", name:'%s')", base, name.c_str());
log->Printf ("found (base:0x%08" PRIx64 ", name:'%s')", base, name.c_str());
}

list.add (module);
Expand Down

0 comments on commit 03fc3f7

Please sign in to comment.