From 482660031a7c9e32fdc6e9aacf7b3f4c342e6965 Mon Sep 17 00:00:00 2001 From: Spencer Oliver Date: Thu, 10 May 2012 21:03:31 +0100 Subject: [PATCH] target: remove duplicate target events Change-Id: Iba9ae441f3e6d48a7dfafe59ed093fef56a34723 Signed-off-by: Spencer Oliver Reviewed-on: http://openocd.zylin.com/633 Reviewed-by: Freddie Chopin Tested-by: jenkins Reviewed-by: Bill Traynor --- doc/openocd.texi | 2 -- src/target/target.c | 4 ---- 2 files changed, 6 deletions(-) diff --git a/doc/openocd.texi b/doc/openocd.texi index 45454faf7..b3556609f 100644 --- a/doc/openocd.texi +++ b/doc/openocd.texi @@ -4320,8 +4320,6 @@ when reset disables PLLs needed to use a fast clock. @* Before any target is resumed @item @b{resume-end} @* After all targets have resumed -@item @b{resume-ok} -@* Success @item @b{resumed} @* Target has resumed @end itemize diff --git a/src/target/target.c b/src/target/target.c index 1778a5aa3..450a8bd0e 100644 --- a/src/target/target.c +++ b/src/target/target.c @@ -199,10 +199,6 @@ static const Jim_Nvp nvp_target_event[] = { { .value = TARGET_EVENT_GDB_FLASH_ERASE_START, .name = "gdb-flash-erase-start" }, { .value = TARGET_EVENT_GDB_FLASH_ERASE_END , .name = "gdb-flash-erase-end" }, - { .value = TARGET_EVENT_RESUME_START, .name = "resume-start" }, - { .value = TARGET_EVENT_RESUMED , .name = "resume-ok" }, - { .value = TARGET_EVENT_RESUME_END , .name = "resume-end" }, - { .name = NULL, .value = -1 } };