Remove misleading typedef and redundant suffix from struct gdb_service.
int gdb_new_connection(connection_t *connection)
{
struct gdb_connection *gdb_connection = malloc(sizeof(struct gdb_connection));
int gdb_new_connection(connection_t *connection)
{
struct gdb_connection *gdb_connection = malloc(sizeof(struct gdb_connection));
- gdb_service_t *gdb_service = connection->service->priv;
+ struct gdb_service *gdb_service = connection->service->priv;
int retval;
int initial_ack;
int retval;
int initial_ack;
int gdb_connection_closed(connection_t *connection)
{
int gdb_connection_closed(connection_t *connection)
{
- gdb_service_t *gdb_service = connection->service->priv;
+ struct gdb_service *gdb_service = connection->service->priv;
struct gdb_connection *gdb_connection = connection->priv;
/* we're done forwarding messages. Tear down callback before
struct gdb_connection *gdb_connection = connection->priv;
/* we're done forwarding messages. Tear down callback before
int gdb_v_packet(connection_t *connection, target_t *target, char *packet, int packet_size)
{
struct gdb_connection *gdb_connection = connection->priv;
int gdb_v_packet(connection_t *connection, target_t *target, char *packet, int packet_size)
{
struct gdb_connection *gdb_connection = connection->priv;
- gdb_service_t *gdb_service = connection->service->priv;
+ struct gdb_service *gdb_service = connection->service->priv;
int result;
/* if flash programming disabled - send a empty reply */
int result;
/* if flash programming disabled - send a empty reply */
int gdb_detach(connection_t *connection, target_t *target)
{
int gdb_detach(connection_t *connection, target_t *target)
{
- gdb_service_t *gdb_service = connection->service->priv;
+ struct gdb_service *gdb_service = connection->service->priv;
target_call_event_callbacks(gdb_service->target, TARGET_EVENT_GDB_DETACH);
target_call_event_callbacks(gdb_service->target, TARGET_EVENT_GDB_DETACH);
int gdb_input_inner(connection_t *connection)
{
int gdb_input_inner(connection_t *connection)
{
- gdb_service_t *gdb_service = connection->service->priv;
+ struct gdb_service *gdb_service = connection->service->priv;
target_t *target = gdb_service->target;
char *packet = gdb_packet_buffer;
int packet_size;
target_t *target = gdb_service->target;
char *packet = gdb_packet_buffer;
int packet_size;
- gdb_service_t *gdb_service;
+ struct gdb_service *gdb_service;
target_t *target = all_targets;
if (!target)
target_t *target = all_targets;
if (!target)
{
/* only a single gdb connection when using a pipe */
{
/* only a single gdb connection when using a pipe */
- gdb_service = malloc(sizeof(gdb_service_t));
+ gdb_service = malloc(sizeof(struct gdb_service));
gdb_service->target = target;
add_service("gdb", CONNECTION_PIPE, 0, 1, gdb_new_connection, gdb_input, gdb_connection_closed, gdb_service);
gdb_service->target = target;
add_service("gdb", CONNECTION_PIPE, 0, 1, gdb_new_connection, gdb_input, gdb_connection_closed, gdb_service);
- gdb_service = malloc(sizeof(gdb_service_t));
+ gdb_service = malloc(sizeof(struct gdb_service));
gdb_service->target = target;
add_service("gdb", CONNECTION_TCP,
gdb_service->target = target;
add_service("gdb", CONNECTION_TCP,
-typedef struct gdb_service_s
{
struct target_s *target;
{
struct target_s *target;
int gdb_init(void);
int gdb_register_commands(command_context_t *command_context);
int gdb_init(void);
int gdb_register_commands(command_context_t *command_context);
Linking to existing account procedure
If you already have an account and want to add another login method
you
MUST first sign in with your existing account and
then change URL to read
https://review.openocd.org/login/?link
to get to this page again but this time it'll work for linking. Thank you.
SSH host keys fingerprints
1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=.. |
|+o.. . |
|*.o . . |
|+B . . . |
|Bo. = o S |
|Oo.+ + = |
|oB=.* = . o |
| =+=.+ + E |
|. .=o . o |
+----[SHA256]-----+
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)