improve gdb_init() sequence
[fw/openocd] / src / server / gdb_server.h
index a8e8dadb1c99ece4efb42b04e0080fea0ea1f0f8..041497510cd15b8ec865a13c807d29d8d0d47c1c 100644 (file)
@@ -52,7 +52,8 @@ struct gdb_service
        struct target *target;
 };
 
-int gdb_init(void);
+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)