sas created this revision.
sas added reviewers: clayborg, ADodds.
sas added a subscriber: lldb-commits.
Size specifier should come after `%` not before.
http://reviews.llvm.org/D12203
Files:
source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
Index: source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
===================================================================
--- source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
+++ source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
@@ -4603,7 +4603,7 @@
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);
@@ -4653,7 +4653,7 @@
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);
Index: source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
===================================================================
--- source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
+++ source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
@@ -4603,7 +4603,7 @@
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);
@@ -4653,7 +4653,7 @@
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);
_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits