From 90375a0e4d3c72f2f9e09a26339d0e5901a3c908 Mon Sep 17 00:00:00 2001 From: Pierre Muller Date: Tue, 3 May 2011 08:46:06 +0000 Subject: [PATCH] * nto-tdep.c (nto_target): Replace deprecated call to cygwin_conv_to_posix_path functions by cygwin_conv_path calls. --- gdb/ChangeLog | 5 +++++ gdb/nto-tdep.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 484ace5722..2422cadcec 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2011-05-03 Pierre Muller + + * nto-tdep.c (nto_target): Replace deprecated call to + cygwin_conv_to_posix_path functions by cygwin_conv_path calls. + 2011-05-03 Jan Kratochvil Fix false GCC warning. diff --git a/gdb/nto-tdep.c b/gdb/nto-tdep.c index 6dd7892606..1e30472036 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; -- 2.34.1