Add "info connections" command, "info inferiors" connection number/string
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 7d15993f92e6f6ce060878eae86c1cc67b65b061..d07a792ae5d7800586fe44ed12663d5cdd340063 100644 (file)
@@ -1,3 +1,21 @@
+2020-01-10  Pedro Alves  <palves@redhat.com>
+
+       * Makefile.in (COMMON_SFILES): Add target-connection.c.
+       * inferior.c (uiout_field_connection): New function.
+       (print_inferior): Add new "connection-id" column.
+       (add_inferior_command): Show connection number/string of added
+       inferior.
+       * process-stratum-target.h
+       (process_stratum_target::connection_string): New virtual method.
+       (process_stratum_target::connection_number): New field.
+       * remote.c (remote_target::connection_string): New override.
+       * target-connection.c: New file.
+       * target-connection.h: New file.
+       * target.c (decref_target): Remove process_stratum targets from
+       the connection list.
+       (target_stack::push): Add process_stratum targets to the
+       connection list.
+
 2020-01-10  Pedro Alves  <palves@redhat.com>
 
        Revert:
This page took 0.028661 seconds and 4 git commands to generate.