aboutsummaryrefslogtreecommitdiff
path: root/gdb/windows-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/windows-nat.c')
-rw-r--r--gdb/windows-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c
index a8ce053..26ad04b 100644
--- a/gdb/windows-nat.c
+++ b/gdb/windows-nat.c
@@ -2123,7 +2123,7 @@ windows_nat_target::files_info ()
gdb_printf ("\tUsing the running image of %s %s.\n",
inf->attach_flag ? "attached" : "child",
- target_pid_to_str (inferior_ptid).c_str ());
+ target_pid_to_str (ptid_t (inf->pid)).c_str ());
}
/* Modify CreateProcess parameters for use of a new separate console.