diff options
Diffstat (limited to 'gdb/remote.c')
-rw-r--r-- | gdb/remote.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/remote.c b/gdb/remote.c index e488ca6..dc3948b 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -10391,7 +10391,7 @@ remote_target::extended_remote_set_inferior_cwd () { if (packet_support (PACKET_QSetWorkingDir) != PACKET_DISABLE) { - const char *inferior_cwd = get_inferior_cwd (); + const char *inferior_cwd = current_inferior ()->cwd (); remote_state *rs = get_remote_state (); if (inferior_cwd != NULL) |