Fix string warning I introduced with indirect function support.
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@176360 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Plugins/Process/POSIX/ProcessPOSIX.cpp b/source/Plugins/Process/POSIX/ProcessPOSIX.cpp
index 0a741bc..417b941 100644
--- a/source/Plugins/Process/POSIX/ProcessPOSIX.cpp
+++ b/source/Plugins/Process/POSIX/ProcessPOSIX.cpp
@@ -491,7 +491,8 @@
error.SetErrorStringWithFormat("unable to determine direct function call for NULL address");
} else if (!InferiorCall(this, address, function_addr)) {
function_addr = LLDB_INVALID_ADDRESS;
- error.SetErrorStringWithFormat("unable to determine direct function call for indirect function with address %x", address);
+ error.SetErrorStringWithFormat("unable to determine direct function call for indirect function %s",
+ address->CalculateSymbolContextSymbol()->GetName().AsCString());
}
return function_addr;
}