aboutsummaryrefslogtreecommitdiff
path: root/gdb/windows-tdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/windows-tdep.c')
-rw-r--r--gdb/windows-tdep.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/windows-tdep.c b/gdb/windows-tdep.c
index 2f223b3..42083e7 100644
--- a/gdb/windows-tdep.c
+++ b/gdb/windows-tdep.c
@@ -327,7 +327,7 @@ display_one_tib (ptid_t ptid)
if (target_get_tib_address (ptid, &thread_local_base) == 0)
{
printf_filtered (_("Unable to get thread local base for %s\n"),
- target_pid_to_str (ptid));
+ target_pid_to_str (ptid).c_str ());
return -1;
}
@@ -336,13 +336,13 @@ display_one_tib (ptid_t ptid)
{
printf_filtered (_("Unable to read thread information "
"block for %s at address %s\n"),
- target_pid_to_str (ptid),
- paddress (target_gdbarch (), thread_local_base));
+ target_pid_to_str (ptid).c_str (),
+ paddress (target_gdbarch (), thread_local_base));
return -1;
}
printf_filtered (_("Thread Information Block %s at %s\n"),
- target_pid_to_str (ptid),
+ target_pid_to_str (ptid).c_str (),
paddress (target_gdbarch (), thread_local_base));
index = (gdb_byte *) tib;