diff options
author | drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2007-05-30 15:47:18 +0000 |
---|---|---|
committer | drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2007-05-30 15:47:18 +0000 |
commit | f94d66d7c5f3c018ba72593b720746e4c5be1a16 (patch) | |
tree | d4d7d3e2ac6d3fd940c1026417eb738decd8055f /src/target/etm.h | |
parent | cf013d2e135373438815315f48ce86e4b558c58b (diff) |
- reworked image handling to support multiple sections (tested with ihex file containing gaps)
This checkin is still experimental, not recommended for general use
git-svn-id: svn://svn.berlios.de/openocd/trunk@159 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/etm.h')
-rw-r--r-- | src/target/etm.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/target/etm.h b/src/target/etm.h index 59591788..65fd757c 100644 --- a/src/target/etm.h +++ b/src/target/etm.h @@ -23,6 +23,7 @@ #ifndef ETM_H
#define ETM_H
+#include "image.h"
#include "trace.h"
#include "target.h"
#include "register.h"
@@ -142,7 +143,7 @@ typedef struct etm_context_s etm_portmode_t portmode; /* normal, multiplexed or demultiplexed */
etmv1_tracemode_t tracemode; /* type of information the trace contains (data, addres, contextID, ...) */
armv4_5_state_t core_state; /* current core state (ARM, Thumb, Jazelle) */
-// trace_image_provider_t image_provider; /* source for target opcodes */
+ image_t image; /* source for target opcodes */
u32 pipe_index; /* current trace cycle */
u32 data_index; /* cycle holding next data packet */
u32 current_pc; /* current program counter */
|