X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Fserver%2Fgdb_server.h;h=a8e8dadb1c99ece4efb42b04e0080fea0ea1f0f8;hb=4d8d1d32d0f0e0b8866a06cb1d3f304563fa6796;hp=239c50e02ede71a30b5512bdd265d4d33a1cc06d;hpb=53bfd73591037044b391dd9a849e77284a7932d1;p=openocd.git diff --git a/src/server/gdb_server.h b/src/server/gdb_server.h index 239c50e02e..a8e8dadb1c 100644 --- a/src/server/gdb_server.h +++ b/src/server/gdb_server.h @@ -26,9 +26,7 @@ #ifndef GDB_SERVER_H #define GDB_SERVER_H -#include "target.h" - -struct image_s; +struct image; #define GDB_BUFFER_SIZE 16384 @@ -39,7 +37,7 @@ struct gdb_connection int buf_cnt; int ctrl_c; enum target_state frontend_state; - struct image_s *vflash_image; + struct image *vflash_image; int closed; int busy; int noack_mode; @@ -49,13 +47,13 @@ struct gdb_connection }; -typedef struct gdb_service_s +struct gdb_service { - struct target_s *target; -} gdb_service_t; + struct target *target; +}; int gdb_init(void); -int gdb_register_commands(command_context_t *command_context); +int gdb_register_commands(struct command_context *command_context); #define ERROR_GDB_BUFFER_TOO_SMALL (-800) #define ERROR_GDB_TIMEOUT (-801)