Stop GDB when polling fails, srst assert or powerdropout is detected

This commit is contained in:
Øyvind Harboe
2009-10-08 14:53:25 +02:00
parent d75b9ec697
commit f525f2ef0d
3 changed files with 25 additions and 5 deletions

View File

@@ -714,7 +714,7 @@ int gdb_target_callback_event_handler(struct target_s *target, enum target_event
target_handle_event(target, event);
switch (event)
{
case TARGET_EVENT_EARLY_HALTED:
case TARGET_EVENT_GDB_HALT:
gdb_frontend_halted(target, connection);
break;
case TARGET_EVENT_HALTED: