diff options
author | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-23 22:36:56 +0000 |
---|---|---|
committer | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-23 22:36:56 +0000 |
commit | 9af5e445b796f3b4a51d41f9d2eeaf1f5cd78e3b (patch) | |
tree | 454f5975d6d44abec57d19aa50f11e773af2273f /src/server/gdb_server.c | |
parent | 50c086ffb94f199c088f4cc52b7887b668dddf00 (diff) | |
download | riscv-openocd-9af5e445b796f3b4a51d41f9d2eeaf1f5cd78e3b.zip riscv-openocd-9af5e445b796f3b4a51d41f9d2eeaf1f5cd78e3b.tar.gz riscv-openocd-9af5e445b796f3b4a51d41f9d2eeaf1f5cd78e3b.tar.bz2 |
- Replace 'switch(' with 'switch ('.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2359 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/server/gdb_server.c')
-rw-r--r-- | src/server/gdb_server.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/gdb_server.c b/src/server/gdb_server.c index 2720068..bf11be1 100644 --- a/src/server/gdb_server.c +++ b/src/server/gdb_server.c @@ -188,7 +188,7 @@ int gdb_get_char(connection_t *connection, int* next_char) #ifdef _WIN32 errno = WSAGetLastError(); - switch(errno) + switch (errno) { case WSAEWOULDBLOCK: usleep(1000); @@ -204,7 +204,7 @@ int gdb_get_char(connection_t *connection, int* next_char) exit(-1); } #else - switch(errno) + switch (errno) { case EAGAIN: usleep(1000); @@ -1964,7 +1964,7 @@ int gdb_v_packet(connection_t *connection, target_t *target, char *packet, int p int gdb_detach(connection_t *connection, target_t *target) { - switch( detach_mode ) + switch ( detach_mode ) { case GDB_DETACH_RESUME: target_handle_event( target, TARGET_EVENT_OLD_pre_resume ); |