From cdd8f23b9b2ba4f78c4cb62b80321c20d4a29754 Mon Sep 17 00:00:00 2001 From: zwelch Date: Fri, 12 Jun 2009 22:06:02 +0000 Subject: David Brownell : Currently the "debug_level 3" command tracing ignores commands that could return values to TCL scripts (by plugging in to a slightly lower level of the interpreter stack). Fix that by abstracting the tracing command and starting to make some of those previously-untraced commands use this new mechanism. git-svn-id: svn://svn.berlios.de/openocd/trunk@2224 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/helper/command.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/helper/command.h') diff --git a/src/helper/command.h b/src/helper/command.h index d5b87641..293eb141 100644 --- a/src/helper/command.h +++ b/src/helper/command.h @@ -123,4 +123,6 @@ DEFINE_PARSE_ULONG(u32, uint32_t, UINT32_MAX) DEFINE_PARSE_ULONG(u16, uint16_t, UINT16_MAX) DEFINE_PARSE_ULONG(u8, uint8_t, UINT8_MAX) +void script_debug(Jim_Interp *interp, const char *cmd, int argc, Jim_Obj *const *argv); + #endif /* COMMAND_H */ -- cgit v1.2.3