missing pointer's declaration when enable macro -D_DEBUG_GDB_IO_.

reproducable when "./configure --enable-maintainer-mode CFLAGS=-D_DEBUG_GDB_IO_"

Signed-off-by: Jun Ma <sync.jma@gmail.com>
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
__archive__
Jun Ma 2010-05-14 21:04:14 +08:00 committed by Øyvind Harboe
parent dcca0b7694
commit 9597dcefaa
1 changed files with 3 additions and 0 deletions

View File

@ -171,6 +171,9 @@ static int gdb_get_char_inner(struct connection *connection, int* next_char)
struct gdb_connection *gdb_con = connection->priv;
int retval = ERROR_OK;
#ifdef _DEBUG_GDB_IO_
char *debug_buffer;
#endif
for (;;)
{
if (connection->service->type == CONNECTION_PIPE)