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>
This commit is contained in:
parent
dcca0b7694
commit
9597dcefaa
|
@ -171,6 +171,9 @@ static int gdb_get_char_inner(struct connection *connection, int* next_char)
|
||||||
struct gdb_connection *gdb_con = connection->priv;
|
struct gdb_connection *gdb_con = connection->priv;
|
||||||
int retval = ERROR_OK;
|
int retval = ERROR_OK;
|
||||||
|
|
||||||
|
#ifdef _DEBUG_GDB_IO_
|
||||||
|
char *debug_buffer;
|
||||||
|
#endif
|
||||||
for (;;)
|
for (;;)
|
||||||
{
|
{
|
||||||
if (connection->service->type == CONNECTION_PIPE)
|
if (connection->service->type == CONNECTION_PIPE)
|
||||||
|
|
Loading…
Reference in New Issue