aboutsummaryrefslogtreecommitdiff
path: root/gdb/target-debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/target-debug.h')
-rw-r--r--gdb/target-debug.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/target-debug.h b/gdb/target-debug.h
index efe695e..b5eb338 100644
--- a/gdb/target-debug.h
+++ b/gdb/target-debug.h
@@ -308,7 +308,7 @@ target_debug_print_target_waitstatus_p (struct target_waitstatus *status)
/* Functions that are used via TARGET_DEBUG_PRINTER. */
-static const char *
+static std::string
target_debug_print_step (int step)
{ return step ? "step" : "continue"; }
@@ -331,7 +331,7 @@ target_debug_print_signals (gdb::array_view<const unsigned char> sigs)
return s;
}
-static const char *
+static std::string
target_debug_print_size_t (size_t size)
{
return pulongest (size);