diff options
author | Geoffrey Noer <noer@cygnus> | 1998-11-19 21:21:34 +0000 |
---|---|---|
committer | Geoffrey Noer <noer@cygnus> | 1998-11-19 21:21:34 +0000 |
commit | 1a443730ce8d6054e8fae68a39c77a65b115a2bf (patch) | |
tree | be127917d6ed526f66dfc22f6970959abb01f40f /gdb | |
parent | 1798621bcfba5697d3f5229ba1124060d8f91432 (diff) | |
download | gdb-1a443730ce8d6054e8fae68a39c77a65b115a2bf.zip gdb-1a443730ce8d6054e8fae68a39c77a65b115a2bf.tar.gz gdb-1a443730ce8d6054e8fae68a39c77a65b115a2bf.tar.bz2 |
Thu Nov 19 13:06:22 1998 Geoffrey Noer <noer@cygnus.com>
* 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.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/win32-nat.c | 10 |
2 files changed, 11 insertions, 5 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3297653..bd47b86 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +Thu Nov 19 13:06:22 1998 Geoffrey Noer <noer@cygnus.com> + + * 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 <cagney@chook.cygnus.com> * 29k-share/udi/udip2soc.c (UDIConnect): Replace sys_errlist with diff --git a/gdb/win32-nat.c b/gdb/win32-nat.c index 2110e6a..04d8a9e 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]); |