diff options
author | Pierre Muller <muller@sourceware.org> | 2011-05-03 08:46:06 +0000 |
---|---|---|
committer | Pierre Muller <muller@sourceware.org> | 2011-05-03 08:46:06 +0000 |
commit | 90375a0e4d3c72f2f9e09a26339d0e5901a3c908 (patch) | |
tree | 361fede2effe4919d99a76df5f32c0c80c2bfc5f /gdb/nto-tdep.c | |
parent | 0892011df2297f665f1fd9b558a6aa4edef74a48 (diff) | |
download | gdb-90375a0e4d3c72f2f9e09a26339d0e5901a3c908.zip gdb-90375a0e4d3c72f2f9e09a26339d0e5901a3c908.tar.gz gdb-90375a0e4d3c72f2f9e09a26339d0e5901a3c908.tar.bz2 |
* nto-tdep.c (nto_target): Replace deprecated call to
cygwin_conv_to_posix_path functions by cygwin_conv_path calls.
Diffstat (limited to 'gdb/nto-tdep.c')
-rw-r--r-- | gdb/nto-tdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/nto-tdep.c b/gdb/nto-tdep.c index 6dd7892..1e30472 100644 --- a/gdb/nto-tdep.c +++ b/gdb/nto-tdep.c @@ -59,9 +59,9 @@ nto_target (void) #ifdef __CYGWIN__ static char buf[PATH_MAX]; if (p) - cygwin_conv_to_posix_path (p, buf); + cygwin_conv_path (CCP_WIN_A_TO_POSIX, p, buf, PATH_MAX); else - cygwin_conv_to_posix_path (default_nto_target, buf); + cygwin_conv_path (CCP_WIN_A_TO_POSIX, default_nto_target, buf, PATH_MAX); return buf; #else return p ? p : default_nto_target; |