Line 194... |
Line 194... |
char *log_file_name;
|
char *log_file_name;
|
/** bin file to load to each area or null */
|
/** bin file to load to each area or null */
|
char *bin_filename[NUM_MEM_BLOCKS];
|
char *bin_filename[NUM_MEM_BLOCKS];
|
/** map file to be used for function call tracing, if any */
|
/** map file to be used for function call tracing, if any */
|
char *map_filename;
|
char *map_filename;
|
/** offset into area (in bytes) where bin wile will be loaded */
|
/** offset into area (in bytes) where bin will be loaded */
|
|
/* only used when loading a linux kernel image */
|
uint32_t offset[NUM_MEM_BLOCKS];
|
uint32_t offset[NUM_MEM_BLOCKS];
|
} t_args;
|
} t_args;
|
/** Parse cmd line args globally accessible */
|
/** Parse cmd line args globally accessible */
|
t_args cmd_line_args;
|
t_args cmd_line_args;
|
|
|
Line 318... |
Line 319... |
int log_triggered; /**< !=0 if log has been triggered */
|
int log_triggered; /**< !=0 if log has been triggered */
|
uint32_t log_trigger_address; /**< */
|
uint32_t log_trigger_address; /**< */
|
int pr[32]; /**< last value of register bank */
|
int pr[32]; /**< last value of register bank */
|
int hi, lo, epc, status; /**< last value of internal regs */
|
int hi, lo, epc, status; /**< last value of internal regs */
|
int disasm_ptr; /**< disassembly pointer */
|
int disasm_ptr; /**< disassembly pointer */
|
/** Cycles remaining to trigger irq[i], or -1 if irq inactive */
|
/** Instruction cycles remaining to trigger irq[i], or -1 if irq inactive */
|
int32_t irq_trigger_countdown[NUM_HW_IRQS]; /**< (in instructions) */
|
int32_t irq_trigger_countdown[NUM_HW_IRQS]; /**< (in instructions) */
|
} t_trace;
|
} t_trace;
|
|
|
typedef struct s_state {
|
typedef struct s_state {
|
unsigned failed_assertions; /**< assertion bitmap */
|
unsigned failed_assertions; /**< assertion bitmap */
|