From: Lancelot SIX <lsix@lancelotsix.com>
To: Andrew Burgess <andrew.burgess@embecosm.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCHv3 1/3] gdb/python: introduce gdb.TargetConnection object type
Date: Wed, 20 Oct 2021 22:33:55 +0000 [thread overview]
Message-ID: <20211020223059.znboom6wdoxynpaf@ubuntu.lan> (raw)
In-Reply-To: <b2a47740d7e99b46b49f96f775b39c11929141f1.1634638441.git.andrew.burgess@embecosm.com>
Hi,
There is a tiny typo in the commit message I guess
On Tue, Oct 19, 2021 at 11:17:07AM +0100, Andrew Burgess wrote:
> This commit adds a new object type gdb.TargetConnection. This new
> type represents a connection within GDB (a connection as displayed by
> 'info connections').
>
> There's three ways to find a gdb.TargetConnection, there's a new
> 'gdb.connections()' function, which returns a list of all currently
> active connections.
>
> Or you can read the new 'connection' property on the gdb.Inferior
> object type, this contains the connection for that inferior (or None
> if the inferior has no connection, for example, it is exited).
>
> Finally, there's a new gdb.events.connection_removed event registry,
> this emits a new gdb.ConnectionEvent whenever a connection is removed
> from GDB (this happens when all inferiors using a connection exit).
> The gdb.ConnectionEvent has a 'connection' property, which is the
> gdb.TargetConnection being removed from GDB.
>
> The gdb.TargetConnection has a 'is_valid()' method. A connection
> object becomes invalid when the underlying connection is removed from
> GDB (all inferiors using the connection exit).
>
> The gdb.TargetConnection has the following read-only properties:
>
> 'num': The number for this connection,
>
> 'type': e.g. 'native', 'remove', 'sim', etc
remove -> remote
>
> 'description': The longer description as seen in the 'info
> connections' command output.
>
> 'details': A string or None. Extra details for the connection, for
> example, a remote connection's details might be
> 'hostname:port'.
Best,
Lancelot.
next prev parent reply other threads:[~2021-10-20 22:34 UTC|newest]
Thread overview: 52+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-11 16:03 [PATCH 0/3] Python API for target connections, and packet sending Andrew Burgess
2021-09-11 16:03 ` [PATCH 1/3] gdb/python: introduce gdb.TargetConnection object type Andrew Burgess
2021-09-11 16:19 ` Eli Zaretskii
2021-09-11 16:03 ` [PATCH 2/3] gdb: make packet_command function available outside remote.c Andrew Burgess
2021-09-11 16:03 ` [PATCH 3/3] gdb/python: add TargetConnection.send_remote_packet method Andrew Burgess
2021-09-11 16:10 ` Eli Zaretskii
2021-10-18 9:45 ` [PATCHv2 0/3] Python API for target connections, and packet sending Andrew Burgess
2021-10-18 9:45 ` [PATCHv2 1/3] gdb/python: introduce gdb.TargetConnection object type Andrew Burgess
2021-10-18 12:44 ` Eli Zaretskii
2021-10-18 15:53 ` Simon Marchi
2021-10-18 9:45 ` [PATCHv2 2/3] gdb: make packet_command function available outside remote.c Andrew Burgess
2021-10-18 9:45 ` [PATCHv2 3/3] gdb/python: add TargetConnection.send_remote_packet method Andrew Burgess
2021-10-18 12:57 ` Eli Zaretskii
2021-10-18 15:46 ` Simon Marchi
2021-10-19 10:17 ` [PATCHv3 0/3] Python API for target connections, and packet sending Andrew Burgess
2021-10-19 10:17 ` [PATCHv3 1/3] gdb/python: introduce gdb.TargetConnection object type Andrew Burgess
2021-10-19 12:26 ` Eli Zaretskii
2021-10-20 22:33 ` Lancelot SIX [this message]
2021-10-21 2:00 ` Simon Marchi
2021-10-19 10:17 ` [PATCHv3 2/3] gdb: make packet_command function available outside remote.c Andrew Burgess
2021-10-21 2:23 ` Simon Marchi
2021-10-19 10:17 ` [PATCHv3 3/3] gdb/python: add gdb.RemoteTargetConnection.send_packet Andrew Burgess
2021-10-19 12:28 ` Eli Zaretskii
2021-10-21 2:43 ` Simon Marchi
2021-10-22 11:08 ` Andrew Burgess
2021-10-22 11:18 ` Simon Marchi
2021-10-22 17:11 ` Andrew Burgess
2021-10-22 10:58 ` [PATCHv4 0/4] Python API for target connections, and packet sending Andrew Burgess
2021-10-22 10:58 ` [PATCHv4 1/4] gdb/python: introduce gdb.TargetConnection object type Andrew Burgess
2021-10-22 10:58 ` [PATCHv4 2/4] gdb: make packet_command function available outside remote.c Andrew Burgess
2021-10-22 10:58 ` [PATCHv4 3/4] gdb/python: add gdb.RemoteTargetConnection.send_packet Andrew Burgess
2021-10-22 10:58 ` [PATCHv4 4/4] gdb: handle binary data in 'maint packet' and RemoteTargetConnection.send_packet Andrew Burgess
2021-10-22 17:10 ` [PATCHv5 0/4] Python API for target connections, and packet sending Andrew Burgess
2021-10-22 17:10 ` [PATCHv5 1/4] gdb/python: introduce gdb.TargetConnection object type Andrew Burgess
2021-10-22 17:10 ` [PATCHv5 2/4] gdb: make packet_command function available outside remote.c Andrew Burgess
2021-10-22 17:10 ` [PATCHv5 3/4] gdb/python: add gdb.RemoteTargetConnection.send_packet Andrew Burgess
2021-11-15 2:08 ` Simon Marchi
2021-11-15 9:25 ` Andrew Burgess
2021-11-15 13:16 ` Simon Marchi
2021-10-22 17:10 ` [PATCHv5 4/4] gdb: handle binary data in 'maint packet' and RemoteTargetConnection.send_packet Andrew Burgess
2021-11-15 2:44 ` Simon Marchi
2021-11-09 10:04 ` [PATCHv5 0/4] Python API for target connections, and packet sending Andrew Burgess
2021-11-15 17:40 ` [PATCHv6 0/3] " Andrew Burgess
2021-11-15 17:40 ` [PATCHv6 1/3] gdb/python: introduce gdb.TargetConnection object type Andrew Burgess
2021-11-15 17:40 ` [PATCHv6 2/3] gdb: make packet_command function available outside remote.c Andrew Burgess
2021-11-15 17:40 ` [PATCHv6 3/3] gdb/python: add gdb.RemoteTargetConnection.send_packet Andrew Burgess
2021-11-15 18:42 ` Eli Zaretskii
2021-11-15 19:38 ` Simon Marchi
2021-11-15 19:29 ` Simon Marchi
2021-11-16 12:48 ` Andrew Burgess
2021-11-16 15:10 ` Simon Marchi
2021-11-30 12:15 ` Andrew Burgess
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211020223059.znboom6wdoxynpaf@ubuntu.lan \
--to=lsix@lancelotsix.com \
--cc=andrew.burgess@embecosm.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).