GDB (xrefs)
|
#include "defs.h"
#include "target-connection.h"
#include <map>
#include "inferior.h"
#include "target.h"
#include "observable.h"
Go to the source code of this file.
Functions | |
void | connection_list_add (process_stratum_target *t) |
void | connection_list_remove (process_stratum_target *t) |
std::string | make_target_connection_string (process_stratum_target *t) |
static void | print_connection (struct ui_out *uiout, const char *requested_connections) |
static void | info_connections_command (const char *args, int from_tty) |
void | _initialize_target_connection () |
Variables | |
static std::map< int, process_stratum_target * > | process_targets |
static int | highest_target_connection_num |
void _initialize_target_connection | ( | ) |
Definition at line 156 of file target-connection.c.
Referenced by initialize_all_files().
void connection_list_add | ( | process_stratum_target * | t | ) |
Definition at line 39 of file target-connection.c.
References process_stratum_target::connection_number, highest_target_connection_num, and process_targets.
Referenced by target_stack::push().
void connection_list_remove | ( | process_stratum_target * | t | ) |
Definition at line 51 of file target-connection.c.
References process_stratum_target::connection_number, gdb::observers::connection_removed, and process_targets.
Referenced by target_ops_ref_policy::decref().
|
static |
Definition at line 148 of file target-connection.c.
References current_uiout, and print_connection().
std::string make_target_connection_string | ( | process_stratum_target * | t | ) |
Definition at line 63 of file target-connection.c.
References process_stratum_target::connection_string(), and target_ops::shortname().
Referenced by check_multi_target_resumption(), connpy_repr(), print_connection(), switch_to_inferior_and_push_target(), and uiout_field_connection().
|
static |
Definition at line 79 of file target-connection.c.
References process_stratum_target::connection_number, current_inferior(), ui_out::field_signed(), ui_out::field_skip(), ui_out::field_string(), target_ops::longname(), make_target_connection_string(), ui_out::message(), number_is_in_list(), process_targets, ui_out::table_body(), ui_out::table_header(), ui_out::text(), and ui_left.
Referenced by info_connections_command().
|
static |
Definition at line 34 of file target-connection.c.
Referenced by connection_list_add().
|
static |
Definition at line 31 of file target-connection.c.
Referenced by connection_list_add(), connection_list_remove(), and print_connection().