summaryrefslogtreecommitdiff
path: root/src/server
diff options
context:
space:
mode:
Diffstat (limited to 'src/server')
-rw-r--r--src/server/gdb_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/gdb_server.c b/src/server/gdb_server.c
index 6c369a3a..b5a35f58 100644
--- a/src/server/gdb_server.c
+++ b/src/server/gdb_server.c
@@ -665,7 +665,7 @@ int gdb_target_callback_event_handler(struct target_s *target, enum target_event
target_handle_event( target, event );
switch (event)
{
- case TARGET_EVENT_HALTED:
+ case TARGET_EVENT_EARLY_HALTED:
gdb_frontend_halted(target, connection);
break;
case TARGET_EVENT_GDB_FLASH_ERASE_START: