summaryrefslogtreecommitdiff
path: root/src/target/xscale.h
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 08:45:32 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:12 -0800
commitea34dc988f63ffa1a9ba9e592a65f2f46e78f82a (patch)
tree0c43e8871ff0077499a0540a2c3991409de3df98 /src/target/xscale.h
parent73ad5cbb1a6d60ee2209ad9faadd19df0295942a (diff)
downloadopenocd+libswd-ea34dc988f63ffa1a9ba9e592a65f2f46e78f82a.tar.gz
openocd+libswd-ea34dc988f63ffa1a9ba9e592a65f2f46e78f82a.tar.bz2
openocd+libswd-ea34dc988f63ffa1a9ba9e592a65f2f46e78f82a.tar.xz
openocd+libswd-ea34dc988f63ffa1a9ba9e592a65f2f46e78f82a.zip
xscale_trace_data_t -> struct xscale_trace_data
Remove misleading typedef and redundant suffix from struct xscale_trace_data.
Diffstat (limited to 'src/target/xscale.h')
-rw-r--r--src/target/xscale.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/target/xscale.h b/src/target/xscale.h
index d5de8dc8..a47bce72 100644
--- a/src/target/xscale.h
+++ b/src/target/xscale.h
@@ -56,21 +56,21 @@ typedef struct xscale_trace_entry_s
enum xscale_trace_entry_type type;
} xscale_trace_entry_t;
-typedef struct xscale_trace_data_s
+struct xscale_trace_data
{
xscale_trace_entry_t *entries;
int depth;
uint32_t chkpt0;
uint32_t chkpt1;
uint32_t last_instruction;
- struct xscale_trace_data_s *next;
-} xscale_trace_data_t;
+ struct xscale_trace_data *next;
+};
typedef struct xscale_trace_s
{
trace_status_t capture_status; /* current state of capture run */
struct image_s *image; /* source for target opcodes */
- xscale_trace_data_t *data; /* linked list of collected trace data */
+ struct xscale_trace_data *data; /* linked list of collected trace data */
int buffer_enabled; /* whether trace buffer is enabled */
int buffer_fill; /* maximum number of trace runs to read (-1 for wrap-around) */
int pc_ok;