summaryrefslogtreecommitdiff
path: root/src/target/mips32.h
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 08:43:26 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:11 -0800
commit1bd7a78d92e06fcd403c915f0e9d3ecdbcc8305d (patch)
tree03dd0fbd5a588a13e47e5a33909064abc75cf803 /src/target/mips32.h
parentef36a7fb3b87bddc14ad9c5d98fde1d041a0de2d (diff)
downloadopenocd+libswd-1bd7a78d92e06fcd403c915f0e9d3ecdbcc8305d.tar.gz
openocd+libswd-1bd7a78d92e06fcd403c915f0e9d3ecdbcc8305d.tar.bz2
openocd+libswd-1bd7a78d92e06fcd403c915f0e9d3ecdbcc8305d.tar.xz
openocd+libswd-1bd7a78d92e06fcd403c915f0e9d3ecdbcc8305d.zip
mips32_comparator_t -> struct mips32_comparator
Remove misleading typedef and redundant suffix from struct mips32_comparator.
Diffstat (limited to 'src/target/mips32.h')
-rw-r--r--src/target/mips32.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/target/mips32.h b/src/target/mips32.h
index 476b7688..5398ddf7 100644
--- a/src/target/mips32.h
+++ b/src/target/mips32.h
@@ -37,13 +37,13 @@ enum
MIPS32NUMCOREREGS
};
-typedef struct mips32_comparator_s
+struct mips32_comparator
{
int used;
//int type;
uint32_t bp_value;
uint32_t reg_address;
-} mips32_comparator_t;
+};
typedef struct mips32_common_s
{
@@ -58,8 +58,8 @@ typedef struct mips32_common_s
int num_data_bpoints;
int num_inst_bpoints_avail;
int num_data_bpoints_avail;
- mips32_comparator_t *inst_break_list;
- mips32_comparator_t *data_break_list;
+ struct mips32_comparator *inst_break_list;
+ struct mips32_comparator *data_break_list;
/* register cache to processor synchronization */
int (*read_core_reg)(struct target_s *target, int num);