X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Ftarget%2Ftrace.h;h=f7d9e5b1a7667d040ae93289eec36813f0bf7a27;hb=8fc9bcb7f57306e822deaf2e0facd51b96dc4fb2;hp=0279d51fa63ad4c29f91552102195f4a156f56a7;hpb=29000b204d039bc1123027eba755329ab36a3dde;p=openocd.git diff --git a/src/target/trace.h b/src/target/trace.h index 0279d51fa6..f7d9e5b1a7 100644 --- a/src/target/trace.h +++ b/src/target/trace.h @@ -21,6 +21,8 @@ #define TRACE_H #include "target.h" +#include "command.h" +#include "types.h" typedef struct trace_point_s { @@ -49,6 +51,7 @@ typedef enum trace_status } trace_status_t; extern int trace_point(struct target_s *target, int number); +extern int trace_register_commands(struct command_context_s *cmd_ctx); #define ERROR_TRACE_IMAGE_UNAVAILABLE -(1500) #define ERROR_TRACE_INSTRUCTION_UNAVAILABLE -(1501)