target: less implicit inclusion of "etm.h"
authorDavid Brownell <dbrownell@users.sourceforge.net>
Mon, 16 Nov 2009 18:19:33 +0000 (10:19 -0800)
committerDavid Brownell <dbrownell@users.sourceforge.net>
Mon, 16 Nov 2009 18:19:33 +0000 (10:19 -0800)
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 <dbrownell@users.sourceforge.net>
src/target/arm11.c
src/target/arm11_dbgtap.c
src/target/arm7_9_common.c
src/target/arm7_9_common.h
src/target/armv4_5.c
src/target/armv4_5.h
src/target/etb.c
src/target/etm.c
src/target/trace.h

index e4d26931c3a738efacccb1b8a7540a794a46d3a9..750c1f5902dce37873815e5ee6b8a12f98a7cf43 100644 (file)
 #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"
index 7010eab5c19efca222a3bc82205b956e533139a5..bdbcc8f3890ecdf921aaeebd137031fe0d5c7d3d 100644 (file)
@@ -24,6 +24,7 @@
 #include "config.h"
 #endif
 
+#include "arm_jtag.h"
 #include "arm11_dbgtap.h"
 
 #include "time_support.h"
index 780ccf9273d9616ffd0899f2209a5c8b96d54f50..27a9b8dbfc565a2911b98cdbfcfb11f417dd3823 100644 (file)
@@ -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"
index e5a2bb71385542b76f61e1bcd0b835b8a8927004..266bf800234a3bce150252770ff9761b89c34567 100644 (file)
@@ -30,6 +30,7 @@
 #define ARM7_9_COMMON_H
 
 #include "armv4_5.h"
+#include "arm_jtag.h"
 
 #define        ARM7_9_COMMON_MAGIC 0x0a790a79 /**< */
 
index 9fa1ac09a5a1982436a55e828d5c0653d5844e0a..0d890b80be9532609f18e9d941ebddfadc9f646c 100644 (file)
@@ -28,6 +28,7 @@
 #endif
 
 #include "armv4_5.h"
+#include "arm_jtag.h"
 #include "breakpoints.h"
 #include "arm_disassembler.h"
 #include "binarybuffer.h"
index ea46488c90e838a4cd3a7523e53b232af522c3c7..ffcd7c029061e798166606e03bc8c3416ba4f0c6 100644 (file)
@@ -27,7 +27,7 @@
 #define ARMV4_5_H
 
 #include "target.h"
-#include "etm.h"
+#include "log.h"
 
 typedef enum armv4_5_mode
 {
index 21c375c35a1d28a35275710251116f016fb36178..196df6c9232e0b2557276cf032194809a0677b03 100644 (file)
@@ -22,6 +22,7 @@
 #endif
 
 #include "armv4_5.h"
+#include "etm.h"
 #include "etb.h"
 #include "register.h"
 
index 936c9e60f8e20692f1116927b99647997b64b4d9..5a0ffed553c512ba73a952a965c4119bdb84e19d 100644 (file)
@@ -22,6 +22,7 @@
 #endif
 
 #include "armv4_5.h"
+#include "etm.h"
 #include "etb.h"
 #include "image.h"
 #include "arm_disassembler.h"
index d6fd63e4ba9a33d5c5beda14c4f7152f7125b0db..c554c731000459a6282a6e9db88c71ed8eb7677d 100644 (file)
@@ -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,

Linking to existing account procedure

If you already have an account and want to add another login method you MUST first sign in with your existing account and then change URL to read https://review.openocd.org/login/?link to get to this page again but this time it'll work for linking. Thank you.

SSH host keys fingerprints

1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=..              |
|+o..   .         |
|*.o   . .        |
|+B . . .         |
|Bo. = o S        |
|Oo.+ + =         |
|oB=.* = . o      |
| =+=.+   + E     |
|. .=o   . o      |
+----[SHA256]-----+
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)