diff options
author | ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2007-07-26 12:28:22 +0000 |
---|---|---|
committer | ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2007-07-26 12:28:22 +0000 |
commit | eba4e394d834c5088f95412a6d3bdba622a691fc (patch) | |
tree | 6e3797a8747abf13746cd8c0ded5a683ce4d1835 /src/server | |
parent | 712be40f8df23e5d4688728b5b73dd36236ca850 (diff) | |
download | openocd+libswd-eba4e394d834c5088f95412a6d3bdba622a691fc.tar.gz openocd+libswd-eba4e394d834c5088f95412a6d3bdba622a691fc.tar.bz2 openocd+libswd-eba4e394d834c5088f95412a6d3bdba622a691fc.tar.xz openocd+libswd-eba4e394d834c5088f95412a6d3bdba622a691fc.zip |
- corrected stm32x_handle_options_write_command, incorrect options printed
- added prepare_reset_halt handler for cortex_m3
git-svn-id: svn://svn.berlios.de/openocd/trunk@184 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/server')
-rw-r--r-- | src/server/server.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/server/server.c b/src/server/server.c index 4c4fdecc..3ad6f377 100644 --- a/src/server/server.c +++ b/src/server/server.c @@ -386,7 +386,8 @@ int server_loop(command_context_t *command_context) MSG msg; while (PeekMessage(&msg,NULL,0,0,PM_REMOVE)) { - if (msg.message==WM_QUIT) shutdown_openocd = 1; + if (msg.message == WM_QUIT) + shutdown_openocd = 1; } #endif } @@ -422,10 +423,10 @@ int server_init() SetConsoleCtrlHandler( ControlHandler, TRUE ); - signal(SIGINT, sig_handler); - signal(SIGTERM, sig_handler); - signal(SIGBREAK, sig_handler); - signal(SIGABRT, sig_handler); + signal(SIGINT, sig_handler); + signal(SIGTERM, sig_handler); + signal(SIGBREAK, sig_handler); + signal(SIGABRT, sig_handler); #endif |