aboutsummaryrefslogtreecommitdiff
path: root/gdbserver/server.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gdbserver/server.cc')
-rw-r--r--gdbserver/server.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdbserver/server.cc b/gdbserver/server.cc
index ab9a33f..30d0517 100644
--- a/gdbserver/server.cc
+++ b/gdbserver/server.cc
@@ -109,7 +109,7 @@ static struct {
its name with CURRENT_DIRECTORY. Otherwise, we leave the
name as-is because we'll try searching for it in $PATH. */
if (is_regular_file (m_path.c_str (), &reg_file_errno))
- m_path = gdb_abspath (m_path.c_str ());
+ m_path = gdb_abspath (m_path);
}
}