X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fserver%2Fgdb_server.h;h=fb4cdbab6becf713d84aab1218a02d4c8f221f65;hp=daa9156fef79e5890bf1a7bc72a400acecca70a5;hb=8b994145b849c40b0a195c3fb332b9770b2f9097;hpb=2b9dbccfcf17d9915a066b558c7066f6b96088e0 diff --git a/src/server/gdb_server.h b/src/server/gdb_server.h index daa9156fef..fb4cdbab6b 100644 --- a/src/server/gdb_server.h +++ b/src/server/gdb_server.h @@ -2,6 +2,12 @@ * Copyright (C) 2005 by Dominic Rath * * Dominic.Rath@gmx.de * * * + * Copyright (C) 2007,2008 Øyvind Harboe * + * oyvind.harboe@zylin.com * + * * + * Copyright (C) 2008 by Spencer Oliver * + * spen@spen-soft.co.uk * + * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * @@ -21,8 +27,8 @@ #define GDB_SERVER_H #include "target.h" -#include "server.h" -#include "image.h" + +struct image_s; #define GDB_BUFFER_SIZE 16384 @@ -33,9 +39,10 @@ typedef struct gdb_connection_s int buf_cnt; int ctrl_c; enum target_state frontend_state; - image_t *vflash_image; + struct image_s *vflash_image; int closed; int busy; + int noack_mode; } gdb_connection_t; typedef struct gdb_service_s @@ -43,7 +50,7 @@ typedef struct gdb_service_s struct target_s *target; } gdb_service_t; -extern int gdb_init(); +extern int gdb_init(void); extern int gdb_register_commands(command_context_t *command_context); #define ERROR_GDB_BUFFER_TOO_SMALL (-800)