From ea1f7d4c8e76be752583e1829e94dc487d5f77f7 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 26 May 2011 00:14:43 +0000 Subject: [PATCH] sim: bfin: switch to new syscall trace level Now that the common code supports the syscall trace level, change the Blackfin code from using the event level to the syscall level. Signed-off-by: Mike Frysinger --- sim/bfin/ChangeLog | 4 ++++ sim/bfin/sim-main.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/sim/bfin/ChangeLog b/sim/bfin/ChangeLog index 3ff4b5a969e..717d83ea986 100644 --- a/sim/bfin/ChangeLog +++ b/sim/bfin/ChangeLog @@ -1,3 +1,7 @@ +2011-05-25 Mike Frysinger + + * sim-main.h (TRACE_SYSCALL): Change EVENTS to SYSCALL. + 2011-05-25 Mike Frysinger * dv-bfin_cec.h (BFIN_COREMMR_CEC_{BASE,SIZE}): Move to ... diff --git a/sim/bfin/sim-main.h b/sim/bfin/sim-main.h index 3a937034817..31f531deb2c 100644 --- a/sim/bfin/sim-main.h +++ b/sim/bfin/sim-main.h @@ -82,7 +82,7 @@ struct sim_state { #define TRACE_INSN(cpu, fmt, ...) MAYBE_TRACE (INSN, cpu, fmt, ## __VA_ARGS__) #define TRACE_DECODE(cpu, fmt, ...) MAYBE_TRACE (DECODE, cpu, fmt, ## __VA_ARGS__) #define TRACE_EXTRACT(cpu, fmt, ...) MAYBE_TRACE (EXTRACT, cpu, fmt, ## __VA_ARGS__) -#define TRACE_SYSCALL(cpu, fmt, ...) MAYBE_TRACE (EVENTS, cpu, fmt, ## __VA_ARGS__) +#define TRACE_SYSCALL(cpu, fmt, ...) MAYBE_TRACE (SYSCALL, cpu, fmt, ## __VA_ARGS__) #define TRACE_CORE(cpu, addr, size, map, val) \ do { \ MAYBE_TRACE (CORE, cpu, "%cBUS %s %i bytes @ 0x%08x: 0x%0*x", \ -- 2.30.2