aboutsummaryrefslogtreecommitdiff
path: root/gdb/target-connection.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/target-connection.c')
-rw-r--r--gdb/target-connection.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/gdb/target-connection.c b/gdb/target-connection.c
index 35c786b..c8c63ab 100644
--- a/gdb/target-connection.c
+++ b/gdb/target-connection.c
@@ -53,12 +53,9 @@ connection_list_remove (process_stratum_target *t)
t->connection_number = 0;
}
-/* Make a target connection string for T. This is usually T's
- shortname, but it includes the result of
- process_stratum_target::connection_string() too if T supports
- it. */
+/* See target-connection.h. */
-static std::string
+std::string
make_target_connection_string (process_stratum_target *t)
{
if (t->connection_string () != NULL)