diff options
Diffstat (limited to 'overlay/mgdb/gdb')
-rw-r--r-- | overlay/mgdb/gdb/winnt-nat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/overlay/mgdb/gdb/winnt-nat.c b/overlay/mgdb/gdb/winnt-nat.c index 4f40f5b..a93be98 100644 --- a/overlay/mgdb/gdb/winnt-nat.c +++ b/overlay/mgdb/gdb/winnt-nat.c @@ -477,7 +477,7 @@ static void winnt_add_thread(int pfd, ptid_t ptid) struct winnt_thread * thread; mcontext_t * tctx; - pid = ptid_get_pid(inferior_ptid); + pid = ptid_get_pid(ptid); pidinfo = winnt_process_record(pid); if (!(thread = (struct winnt_thread *)calloc(1,sizeof(*thread)))) |