aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc/debug.h
diff options
context:
space:
mode:
authorMichael Meissner <gnu@the-meissners.org>1995-11-24 16:44:37 +0000
committerMichael Meissner <gnu@the-meissners.org>1995-11-24 16:44:37 +0000
commit45525d8d6da63f0dead75426c3b84f33d8289da9 (patch)
tree7330a21a4b19e72e3cf46570fce4aa8963271680 /sim/ppc/debug.h
parent46c065ab31c014af2cb61a65a489a389400b3230 (diff)
downloadgdb-45525d8d6da63f0dead75426c3b84f33d8289da9.zip
gdb-45525d8d6da63f0dead75426c3b84f33d8289da9.tar.gz
gdb-45525d8d6da63f0dead75426c3b84f33d8289da9.tar.bz2
Fix warnings to everything can be compiled with -Wall; Redo model specific changes once again to speed things up
Diffstat (limited to 'sim/ppc/debug.h')
-rw-r--r--sim/ppc/debug.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sim/ppc/debug.h b/sim/ppc/debug.h
index e1cb053..d63c3ed 100644
--- a/sim/ppc/debug.h
+++ b/sim/ppc/debug.h
@@ -51,6 +51,7 @@ typedef enum {
trace_idecode,
trace_alu,
trace_load_store,
+ trace_model,
/**/
trace_vm,
trace_core,
@@ -58,6 +59,7 @@ typedef enum {
trace_device_init,
trace_cpu,
trace_breakpoint,
+ trace_opts,
nr_trace_options
} trace_options;
@@ -77,7 +79,7 @@ do { \
#define ITRACE(OBJECT, ARGS) \
do { \
if (ppc_trace[OBJECT]) { \
- printf_filtered("%s:%d:0x%x", my_prefix, cpu_nr(processor) + 1, cia); \
+ printf_filtered("%s:%d:0x%lx", my_prefix, (int)(cpu_nr(processor) + 1), (unsigned long)cia); \
printf_filtered ARGS; \
} \
} while (0)