error number: review

Review allocation of error numbers in openocd
to avoid overlap.
Put brackets around negative numbers to avoid
issues during macro expansion.

Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
Antonio Borneo
2010-06-23 00:53:17 +08:00
committed by Øyvind Harboe
parent 4fa3cc7746
commit 6cb2d6dd7a
3 changed files with 11 additions and 11 deletions

View File

@@ -59,7 +59,7 @@ typedef enum trace_status
int trace_point(struct target *target, uint32_t number);
int trace_register_commands(struct command_context *cmd_ctx);
#define ERROR_TRACE_IMAGE_UNAVAILABLE -(1500)
#define ERROR_TRACE_INSTRUCTION_UNAVAILABLE -(1501)
#define ERROR_TRACE_IMAGE_UNAVAILABLE (-1500)
#define ERROR_TRACE_INSTRUCTION_UNAVAILABLE (-1501)
#endif /* TRACE_H */