aboutsummaryrefslogtreecommitdiff
path: root/src/helper
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-03-05 10:28:32 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-03-05 10:28:32 +0000
commit6d95014674415e3b9ea9d46d5148d3410f96bbfd (patch)
tree44aac36e9d004c270e1208f2052367ff24dbca42 /src/helper
parent6445cc6479cc04d7d88447526394210f5867c0ba (diff)
downloadriscv-openocd-6d95014674415e3b9ea9d46d5148d3410f96bbfd.zip
riscv-openocd-6d95014674415e3b9ea9d46d5148d3410f96bbfd.tar.gz
riscv-openocd-6d95014674415e3b9ea9d46d5148d3410f96bbfd.tar.bz2
* fixed malloc corruption in target->debug_reason
* GDB remote server will now remain online even if the target is in a funny state, e.g. if it requires a reset, it is running while GDB is not in the continue or step packet, e.g. via monitor resume/halt commands in GDB script. * Added some _DEBUG_GDB_IO_ debug tools * Fixed a couple of GDB server lockups, e.g. when O packets detect a severed connection * added ACK upon connection (send +). * added keep-alive messages to reset so GDB protocol remains happy. * fixed crash when timing out connection to GDB git-svn-id: svn://svn.berlios.de/openocd/trunk@445 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/helper')
-rw-r--r--src/helper/command.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/helper/command.c b/src/helper/command.c
index aa71f0b..5df1290 100644
--- a/src/helper/command.c
+++ b/src/helper/command.c
@@ -447,7 +447,6 @@ void command_print_help_line(command_context_t* context, struct command_s *comma
char indent_text[indent + 2];
char *help = "no help available";
char name_buf[64];
- int i;
if (indent)
{
@@ -478,7 +477,6 @@ void command_print_help_line(command_context_t* context, struct command_s *comma
int command_print_help_match(command_context_t* context, command_t* c_first, char* name, char** args, int argc)
{
command_t * c;
- int i;
for (c = c_first; c; c = c->next)
{