Fix compile error when _DEBUG_GDB_IO_ is set
authorJames Zhao <jamzhao@gmail.com>
Wed, 30 Nov 2011 22:23:24 +0000 (14:23 -0800)
committerØyvind Harboe <oyvindharboe@gmail.com>
Thu, 1 Dec 2011 06:12:00 +0000 (06:12 +0000)
commit4f4acc3669c403ca6b0b9ba07fa6a5f51b4a63ec
tree2d6456c052569cad437174d46307c1c855bddae5
parentea54ea5364b855ffc6d2733463308a63f9a8e307
Fix compile error when _DEBUG_GDB_IO_ is set

Compile error is encountered when _DEBUG_GDB_IO_ is set,
due to duplicate variables.
Fixed by renaming the variable.

Change-Id: I729c06e317fdb899142c9ceaf543b7f580088807
Signed-off-by: James Zhao <jamzhao@gmail.com>
Reviewed-on: http://openocd.zylin.com/243
Tested-by: jenkins
Reviewed-by: Øyvind Harboe <oyvindharboe@gmail.com>
src/server/gdb_server.c