#ifndef GDB_SERVER_H
#define GDB_SERVER_H
-#include "target.h"
-
struct image;
#define GDB_BUFFER_SIZE 16384
struct target *target;
};
-int gdb_init(void);
-int gdb_register_commands(command_context_t *command_context);
+int gdb_target_add_one(struct target *target);
+int gdb_target_add_all(struct target *target);
+int gdb_register_commands(struct command_context *command_context);
#define ERROR_GDB_BUFFER_TOO_SMALL (-800)
#define ERROR_GDB_TIMEOUT (-801)