From 8ce1b2d508169579cb479d5a095e48ba8a7c64f1 Mon Sep 17 00:00:00 2001 From: Michel Pollet Date: Tue, 7 Mar 2017 18:33:27 +0000 Subject: [PATCH] mmcu: Added tag for tracing pending IRQs This was missing from the header. Signed-off-by: Michel Pollet --- simavr/sim/avr/avr_mcu_section.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/simavr/sim/avr/avr_mcu_section.h b/simavr/sim/avr/avr_mcu_section.h index fd4edc1..ebeceb0 100644 --- a/simavr/sim/avr/avr_mcu_section.h +++ b/simavr/sim/avr/avr_mcu_section.h @@ -229,9 +229,11 @@ struct avr_mmcu_vcd_trace_t { #define AVR_MCU_VCD_IRQ(_irq_name) \ AVR_MCU_VCD_IRQ_TRACE(_irq_name##_vect_num, 1, #_irq_name) #define AVR_MCU_VCD_IRQ_PENDING(_irq_name) \ - AVR_MCU_VCD_IRQ_TRACE(_irq_name##_vect_num, 0, #_irq_name " pend") + AVR_MCU_VCD_IRQ_TRACE(_irq_name##_vect_num, 0, #_irq_name "_pend") #define AVR_MCU_VCD_ALL_IRQ() \ AVR_MCU_VCD_IRQ_TRACE(0xff, 1, "IRQ") +#define AVR_MCU_VCD_ALL_IRQ_PENDING() \ + AVR_MCU_VCD_IRQ_TRACE(0xff, 0, "IRQ_PENDING") /*! * This tag allows you to specify the voltages used by your board -- 2.39.5