From: David B. <dbr...@us...> - 2009-11-16 19:19:48
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Main OpenOCD repository". The branch, master has been updated via 9a98e83b49fe3541cb0d79924b13c2d86484aee2 (commit) from dc1685ca25567fe75c8d50c825fb0303fbb66fac (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 9a98e83b49fe3541cb0d79924b13c2d86484aee2 Author: David Brownell <dbr...@us...> Date: Mon Nov 16 10:19:33 2009 -0800 target: less implicit inclusion of "etm.h" Don't include it in more headers than necessary; just use it in the few files that actually need it. Signed-off-by: David Brownell <dbr...@us...> diff --git a/src/target/arm11.c b/src/target/arm11.c index e4d2693..750c1f5 100644 --- a/src/target/arm11.c +++ b/src/target/arm11.c @@ -26,10 +26,10 @@ #include "config.h" #endif +#include "etm.h" #include "arm11.h" #include "breakpoints.h" #include "arm11_dbgtap.h" -#include "armv4_5.h" #include "arm_simulator.h" #include "time_support.h" #include "target_type.h" diff --git a/src/target/arm11_dbgtap.c b/src/target/arm11_dbgtap.c index 7010eab..bdbcc8f 100644 --- a/src/target/arm11_dbgtap.c +++ b/src/target/arm11_dbgtap.c @@ -24,6 +24,7 @@ #include "config.h" #endif +#include "arm_jtag.h" #include "arm11_dbgtap.h" #include "time_support.h" diff --git a/src/target/arm7_9_common.c b/src/target/arm7_9_common.c index 780ccf9..27a9b8d 100644 --- a/src/target/arm7_9_common.c +++ b/src/target/arm7_9_common.c @@ -34,6 +34,7 @@ #include "embeddedice.h" #include "target_request.h" #include "arm7_9_common.h" +#include "etm.h" #include "time_support.h" #include "arm_simulator.h" #include "algorithm.h" diff --git a/src/target/arm7_9_common.h b/src/target/arm7_9_common.h index e5a2bb7..266bf80 100644 --- a/src/target/arm7_9_common.h +++ b/src/target/arm7_9_common.h @@ -30,6 +30,7 @@ #define ARM7_9_COMMON_H #include "armv4_5.h" +#include "arm_jtag.h" #define ARM7_9_COMMON_MAGIC 0x0a790a79 /**< */ diff --git a/src/target/armv4_5.c b/src/target/armv4_5.c index 9fa1ac0..0d890b8 100644 --- a/src/target/armv4_5.c +++ b/src/target/armv4_5.c @@ -28,6 +28,7 @@ #endif #include "armv4_5.h" +#include "arm_jtag.h" #include "breakpoints.h" #include "arm_disassembler.h" #include "binarybuffer.h" diff --git a/src/target/armv4_5.h b/src/target/armv4_5.h index ea46488..ffcd7c0 100644 --- a/src/target/armv4_5.h +++ b/src/target/armv4_5.h @@ -27,7 +27,7 @@ #define ARMV4_5_H #include "target.h" -#include "etm.h" +#include "log.h" typedef enum armv4_5_mode { diff --git a/src/target/etb.c b/src/target/etb.c index 21c375c..196df6c 100644 --- a/src/target/etb.c +++ b/src/target/etb.c @@ -22,6 +22,7 @@ #endif #include "armv4_5.h" +#include "etm.h" #include "etb.h" #include "register.h" diff --git a/src/target/etm.c b/src/target/etm.c index 936c9e6..5a0ffed 100644 --- a/src/target/etm.c +++ b/src/target/etm.c @@ -22,6 +22,7 @@ #endif #include "armv4_5.h" +#include "etm.h" #include "etb.h" #include "image.h" #include "arm_disassembler.h" diff --git a/src/target/trace.h b/src/target/trace.h index d6fd63e..c554c73 100644 --- a/src/target/trace.h +++ b/src/target/trace.h @@ -42,6 +42,11 @@ struct trace int trace_history_overflowed; }; +/** + * \todo This enum is one of the few things in this file related + * to *hardware* tracing ... split such "real" tracing out from + * the contrib/libdcc support. + */ typedef enum trace_status { TRACE_IDLE = 0x0, ----------------------------------------------------------------------- Summary of changes: src/target/arm11.c | 2 +- src/target/arm11_dbgtap.c | 1 + src/target/arm7_9_common.c | 1 + src/target/arm7_9_common.h | 1 + src/target/armv4_5.c | 1 + src/target/armv4_5.h | 2 +- src/target/etb.c | 1 + src/target/etm.c | 1 + src/target/trace.h | 5 +++++ 9 files changed, 13 insertions(+), 2 deletions(-) hooks/post-receive -- Main OpenOCD repository |