GDB (xrefs)
|
#include "defs.h"
#include "python-internal.h"
#include "process-stratum-target.h"
#include "inferior.h"
#include "observable.h"
#include "target-connection.h"
#include "py-events.h"
#include "py-event.h"
#include "arch-utils.h"
#include "remote.h"
#include "charset.h"
#include <map>
Go to the source code of this file.
Classes | |
struct | connection_object |
struct | py_send_packet_callbacks |
Macros | |
#define | CONNPY_REQUIRE_VALID(connection) |
Variables | |
static std::map< process_stratum_target *, gdbpy_ref< connection_object > > | all_connection_objects |
static PyMethodDef | connection_object_methods [] |
static PyMethodDef | remote_connection_object_methods [] |
static gdb_PyGetSetDef | connection_object_getset [] |
PyTypeObject | connection_object_type |
PyTypeObject | remote_connection_object_type |
#define CONNPY_REQUIRE_VALID | ( | connection | ) |
Definition at line 56 of file py-connection.c.
Referenced by connpy_get_connection_details(), connpy_get_connection_num(), connpy_get_connection_type(), connpy_get_description(), and connpy_send_packet().
void _initialize_py_connection | ( | ) |
Definition at line 444 of file py-connection.c.
Referenced by initialize_all_files().
|
static |
Definition at line 182 of file py-connection.c.
References connection_object::target.
|
static |
Definition at line 159 of file py-connection.c.
References all_connection_objects, emit_connection_event(), evregpy_no_listeners_p(), gdb_py_events, gdb_python_initialized, and gdbpy_print_stack().
Definition at line 273 of file py-connection.c.
References process_stratum_target::connection_string(), CONNPY_REQUIRE_VALID, host_string_to_python_string(), and connection_object::target.
Definition at line 233 of file py-connection.c.
References process_stratum_target::connection_number, CONNPY_REQUIRE_VALID, gdb_py_object_from_longest(), and connection_object::target.
Definition at line 246 of file py-connection.c.
References CONNPY_REQUIRE_VALID, host_string_to_python_string(), target_ops::shortname(), and connection_object::target.
Definition at line 259 of file py-connection.c.
References CONNPY_REQUIRE_VALID, host_string_to_python_string(), target_ops::longname(), and connection_object::target.
Definition at line 220 of file py-connection.c.
References connection_object::target.
Definition at line 201 of file py-connection.c.
References process_stratum_target::connection_number, make_target_connection_string(), and connection_object::target.
Definition at line 374 of file py-connection.c.
References CONNPY_REQUIRE_VALID, gdb_PyArg_ParseTupleAndKeywords(), gdbpy_convert_exception(), py_send_packet_callbacks::result(), send_remote_packet(), switch_to_target_no_thread(), and connection_object::target.
|
extern |
|
extern |
|
static |
Definition at line 141 of file py-connection.c.
References create_event_object(), evpy_add_attribute(), evpy_emit_event(), and target_to_connection_object().
Referenced by connpy_connection_removed().
Definition at line 115 of file py-connection.c.
References all_non_exited_process_targets(), and target_to_connection_object().
|
static |
Definition at line 289 of file py-connection.c.
References connection_object_type, gdb_module, gdb_pymodule_addobject(), and remote_connection_object_type.
GDBPY_INITIALIZE_FILE | ( | gdbpy_initialize_connection | ) |
gdbpy_ref target_to_connection_object | ( | process_stratum_target * | target | ) |
Definition at line 80 of file py-connection.c.
References all_connection_objects, connection_object_type, is_remote_target(), remote_connection_object_type, and type.
Referenced by emit_connection_event(), gdbpy_connections(), and infpy_get_connection().
|
static |
Definition at line 70 of file py-connection.c.
Referenced by connpy_connection_removed(), and target_to_connection_object().
|
static |
Definition at line 475 of file py-connection.c.
|
static |
Definition at line 454 of file py-connection.c.
PyTypeObject connection_object_type |
Definition at line 490 of file py-connection.c.
Referenced by gdbpy_initialize_connection(), and target_to_connection_object().
|
static |
Definition at line 464 of file py-connection.c.
PyTypeObject remote_connection_object_type |
Definition at line 533 of file py-connection.c.
Referenced by gdbpy_initialize_connection(), and target_to_connection_object().