diff options
author | Øyvind Harboe <oyvind.harboe@zylin.com> | 2009-10-08 14:53:25 +0200 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2009-10-08 14:53:25 +0200 |
commit | f525f2ef0d95f68d5db02849133f730baa245812 (patch) | |
tree | ce41cef6eb27e6767b6f1f66ba1e7c0217ca5a8f /src/server/gdb_server.c | |
parent | d75b9ec69713a5ab07f1ea94d0b94d0796e6195f (diff) | |
download | riscv-openocd-f525f2ef0d95f68d5db02849133f730baa245812.zip riscv-openocd-f525f2ef0d95f68d5db02849133f730baa245812.tar.gz riscv-openocd-f525f2ef0d95f68d5db02849133f730baa245812.tar.bz2 |
Stop GDB when polling fails, srst assert or powerdropout is detected
Diffstat (limited to 'src/server/gdb_server.c')
-rw-r--r-- | src/server/gdb_server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/gdb_server.c b/src/server/gdb_server.c index 44d9de8..a0077e9 100644 --- a/src/server/gdb_server.c +++ b/src/server/gdb_server.c @@ -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: |