From: Geoffrey Noer Date: Thu, 19 Nov 1998 21:21:34 +0000 (+0000) Subject: Thu Nov 19 13:06:22 1998 Geoffrey Noer X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1a443730ce8d6054e8fae68a39c77a65b115a2bf;p=binutils-gdb.git Thu Nov 19 13:06:22 1998 Geoffrey Noer * main.c: Wait until more time has passed before calling new cygwin_ funcs, revert back to the cygwin32_ ones for now. * win32-nat.c: Ditto. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 329765330f4..bd47b8665d3 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +Thu Nov 19 13:06:22 1998 Geoffrey Noer + + * main.c: Wait until more time has passed before calling + new cygwin_ funcs, revert back to the cygwin32_ ones for now. + * win32-nat.c: Ditto. + Wed Nov 18 15:03:17 1998 Andrew Cagney * 29k-share/udi/udip2soc.c (UDIConnect): Replace sys_errlist with diff --git a/gdb/win32-nat.c b/gdb/win32-nat.c index 2110e6a034f..04d8a9eff43 100644 --- a/gdb/win32-nat.c +++ b/gdb/win32-nat.c @@ -759,7 +759,7 @@ child_create_inferior (exec_file, allargs, env) memset (&si, 0, sizeof (si)); si.cb = sizeof (si); - cygwin_conv_to_win32_path (exec_file, real_path); + cygwin32_conv_to_win32_path (exec_file, real_path); flags = DEBUG_ONLY_THIS_PROCESS; @@ -805,9 +805,9 @@ child_create_inferior (exec_file, allargs, env) len = strlen (conv_path_names[j]); if (strncmp (conv_path_names[j], env[i], len) == 0) { - if (cygwin_posix_path_list_p (env[i] + len)) + if (cygwin32_posix_path_list_p (env[i] + len)) envlen += len - + cygwin_posix_to_win32_path_list_buf_size (env[i] + len); + + cygwin32_posix_to_win32_path_list_buf_size (env[i] + len); else envlen += strlen (env[i]) + 1; break; @@ -829,10 +829,10 @@ child_create_inferior (exec_file, allargs, env) len = strlen (conv_path_names[j]); if (strncmp (conv_path_names[j], env[i], len) == 0) { - if (cygwin_posix_path_list_p (env[i] + len)) + if (cygwin32_posix_path_list_p (env[i] + len)) { memcpy (temp, env[i], len); - cygwin_posix_to_win32_path_list (env[i] + len, temp + len); + cygwin32_posix_to_win32_path_list (env[i] + len, temp + len); } else strcpy (temp, env[i]);