summaryrefslogtreecommitdiff
path: root/src/target/mips32.c
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-08-24 18:20:49 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-08-24 18:20:49 +0000
commit8d73c2a9b0c00c870694a57f7cfbc23e354855ac (patch)
tree075eb1d11d8349fa8daa20ee2401b71666fa070f /src/target/mips32.c
parent6abf942baba746df2c7195abe01a9b05cec13b1e (diff)
downloadopenocd+libswd-8d73c2a9b0c00c870694a57f7cfbc23e354855ac.tar.gz
openocd+libswd-8d73c2a9b0c00c870694a57f7cfbc23e354855ac.tar.bz2
openocd+libswd-8d73c2a9b0c00c870694a57f7cfbc23e354855ac.tar.xz
openocd+libswd-8d73c2a9b0c00c870694a57f7cfbc23e354855ac.zip
duan ellis target tcl work in progress
converts a number of 'simple string lookup tables' into NVP tables. These NVP tables will be used by various commands coming in the next patch. git-svn-id: svn://svn.berlios.de/openocd/trunk@962 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/mips32.c')
-rw-r--r--src/target/mips32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/mips32.c b/src/target/mips32.c
index f338c1db..5870ae69 100644
--- a/src/target/mips32.c
+++ b/src/target/mips32.c
@@ -266,7 +266,7 @@ int mips32_arch_state(struct target_s *target)
}
LOG_USER("target halted due to %s, pc: 0x%8.8x",
- target_debug_reason_strings[target->debug_reason],
+ Jim_Nvp_value2name_simple( nvp_target_debug_reason, target->debug_reason )->name ,
buf_get_u32(mips32->core_cache->reg_list[MIPS32_PC].value, 0, 32));
return ERROR_OK;