aboutsummaryrefslogtreecommitdiff
path: root/sim/common/sim-trace.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1997-05-07 13:58:52 +0000
committerAndrew Cagney <cagney@redhat.com>1997-05-07 13:58:52 +0000
commit381f42ef5d76943fb09494130c95abfb9b70e024 (patch)
treef45512a238920ab0e21b11e3efdb62d924984c9d /sim/common/sim-trace.h
parentbd3274c6d9a56ad8cafa149fd72f0a0cc1a6d0fc (diff)
downloadgdb-381f42ef5d76943fb09494130c95abfb9b70e024.zip
gdb-381f42ef5d76943fb09494130c95abfb9b70e024.tar.gz
gdb-381f42ef5d76943fb09494130c95abfb9b70e024.tar.bz2
o Clean-up tic80 fp tracing
o Fill in more tic80 insns
Diffstat (limited to 'sim/common/sim-trace.h')
-rw-r--r--sim/common/sim-trace.h16
1 files changed, 12 insertions, 4 deletions
diff --git a/sim/common/sim-trace.h b/sim/common/sim-trace.h
index e1cb786..a22da63 100644
--- a/sim/common/sim-trace.h
+++ b/sim/common/sim-trace.h
@@ -121,14 +121,22 @@ struct _sim_cpu;
#define TRACE_FPU_P(cpu) TRACE_P (cpu, TRACE_FPU_IDX)
#define TRACE_BRANCH_P(cpu) TRACE_P (cpu, TRACE_BRANCH_IDX)
-extern void trace_one_insn PARAMS ((SIM_DESC, sim_cpu *,
- address_word, int,
- const char *, int,
- const char *, const char *));
+extern void trace_one_insn PARAMS ((SIM_DESC sd,
+ sim_cpu * cpu,
+ address_word cia,
+ int print_linenum_p,
+ const char *file_name,
+ int line_nr,
+ const char *unit,
+ const char *fmt,
+ ...))
+ __attribute__((format (printf, 8, 9)));
extern void trace_printf PARAMS ((SIM_DESC, sim_cpu *, const char *, ...))
__attribute__((format (printf, 3, 4)));
+extern void trace_vprintf PARAMS ((SIM_DESC, sim_cpu *, const char *, va_list));
+
/* Debug support.
This is included here because there isn't enough of it to justify
a sim-debug.h. */