]> git.sur5r.net Git - openocd/commit
target: add debug_reason_name()
authorDavid Brownell <dbrownell@users.sourceforge.net>
Mon, 7 Dec 2009 22:55:08 +0000 (14:55 -0800)
committerDavid Brownell <dbrownell@users.sourceforge.net>
Mon, 7 Dec 2009 22:57:44 +0000 (14:57 -0800)
commitbbb754aa395be74ceac0c01640fb33c0fae52c20
tree54c581f26df52ec5b0f7fe3efe73b406d3acdb88
parent19ad7f828ba36f398f52749c2f33e25a3ea78ac2
target: add debug_reason_name()

Provide and use debug_reason_name() instead of expecting targets
to call Jim_Nvp_value2name_simple().  Less dependency on Jim, and
the code becomes more clear too.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
src/target/armv4_5.c
src/target/armv7m.c
src/target/mips32.c
src/target/target.c
src/target/target.h