X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Ftarget%2Ftarget.h;h=5b160d1265b5ce7a8afe344d5cac2b60ce9539ee;hb=5ea46227b06af1a3680f62dc30715846f1e92e69;hp=f6f5177e63d68158505b4cd786a040f2a4ea38cf;hpb=5ac8036b7fdaa32d44fb756f46f60d8de33e3a50;p=openocd.git diff --git a/src/target/target.h b/src/target/target.h index f6f5177e63..5b160d1265 100644 --- a/src/target/target.h +++ b/src/target/target.h @@ -2,9 +2,12 @@ * Copyright (C) 2005 by Dominic Rath * * Dominic.Rath@gmx.de * * * - * Copyright (C) 2007,2008 Øyvind Harboe * + * Copyright (C) 2007,2008 Øyvind Harboe * * oyvind.harboe@zylin.com * * * + * Copyright (C) 2008 by Spencer Oliver * + * spen@spen-soft.co.uk * + * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * @@ -278,6 +281,10 @@ enum target_event TARGET_EVENT_OLD_post_reset, TARGET_EVENT_OLD_pre_resume, + /* allow GDB to do stuff before others handle the halted event, + this is in lieu of defining ordering of invocation of events, + which would be more complicated */ + TARGET_EVENT_EARLY_HALTED, TARGET_EVENT_HALTED, /* target entered debug state from normal execution or reset */ TARGET_EVENT_RESUMED, /* target resumed to normal execution */ TARGET_EVENT_RESUME_START, @@ -432,11 +439,3 @@ extern const Jim_Nvp nvp_error_target[]; extern const char *target_strerror_safe( int err ); #endif /* TARGET_H */ - - -/* - * Local Variables: *** - * c-basic-offset: 4 *** - * tab-width: 4 *** - * End: *** - */