projects
/
fw
/
openocd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcca0b7
)
missing pointer's declaration when enable macro -D_DEBUG_GDB_IO_.
author
Jun Ma
<sync.jma@gmail.com>
Fri, 14 May 2010 13:04:14 +0000
(21:04 +0800)
committer
Øyvind Harboe
<oyvind.harboe@zylin.com>
Fri, 14 May 2010 13:08:29 +0000
(15:08 +0200)
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>
src/server/gdb_server.c
patch
|
blob
|
history
diff --git
a/src/server/gdb_server.c
b/src/server/gdb_server.c
index 275d41468daa40597fb2ea40cd0d3506c9300be0..5b4fb7a606db14e3a65f873dbc3985d6ff51883a 100644
(file)
--- a/
src/server/gdb_server.c
+++ b/
src/server/gdb_server.c
@@
-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)