aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/call_stack.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/call_stack.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/call_stack.cpp b/src/call_stack.cpp
index 30abaad..4a13b3a 100644
--- a/src/call_stack.cpp
+++ b/src/call_stack.cpp
@@ -27,14 +27,14 @@ static std::string put_between_brackets(const T& x) {
}
std::string format_address_fallback(Address addr) {
- return put_between_brackets(format_address(addr));
+ return put_between_brackets(address::format(addr));
}
std::string offset_from(const std::string& thing, Address offset) {
if (offset == 0)
return put_between_brackets(thing);
else
- return put_between_brackets(thing + "+" + format_address(offset));
+ return put_between_brackets(thing + "+" + address::format(offset));
}
std::string offset_from_module(const ModuleInfo& module, Address addr) {
@@ -107,7 +107,7 @@ std::string CallStack::pretty_print_address(const DbgHelp& dbghelp, Address addr
void CallStack::dump(std::ostream& os, const DbgHelp& dbghelp) const {
for_each_address([&](Address addr) {
- os << format_address(addr) << ' ' << pretty_print_address(dbghelp, addr) << '\n';
+ os << address::format(addr) << ' ' << pretty_print_address(dbghelp, addr) << '\n';
return true;
});
}