diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-03-30 02:41:51 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-03-30 12:58:23 -0400 |
commit | 58b991b14e7c2e26805cb8cf98e384dbd8afcd38 (patch) | |
tree | 5f47f233d3ed98a10615cc120269d971bb2afd8d /sim/arm/wrapper.c | |
parent | c4c9c44f57763ef4acacb440cdf601f5ce087edb (diff) | |
download | gdb-58b991b14e7c2e26805cb8cf98e384dbd8afcd38.zip gdb-58b991b14e7c2e26805cb8cf98e384dbd8afcd38.tar.gz gdb-58b991b14e7c2e26805cb8cf98e384dbd8afcd38.tar.bz2 |
sim: arm: clean up misc warnings
Also delete a few unused funcs.
Diffstat (limited to 'sim/arm/wrapper.c')
-rw-r--r-- | sim/arm/wrapper.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/sim/arm/wrapper.c b/sim/arm/wrapper.c index 0ccc7fb..c1b5321 100644 --- a/sim/arm/wrapper.c +++ b/sim/arm/wrapper.c @@ -52,9 +52,6 @@ static char *myname; /* Memory size in bytes. */ static int mem_size = (1 << 21); -/* Non-zero to display start up banner, and maybe other things. */ -static int verbosity; - /* Non-zero to set big endian mode. */ static int big_endian; @@ -152,22 +149,11 @@ init (void) state->bigendSig = (big_endian ? HIGH : LOW); ARMul_MemoryInit (state, mem_size); ARMul_OSInit (state); - state->verbose = verbosity; + state->verbose = 0; done = 1; } } -/* Set verbosity level of simulator. - This is not intended to produce detailed tracing or debugging information. - Just summaries. */ -/* FIXME: common/run.c doesn't do this yet. */ - -void -sim_set_verbose (int v) -{ - verbosity = v; -} - /* Set the memory size to SIZE bytes. Must be called before initializing simulator. */ /* FIXME: Rename to sim_set_mem_size. */ |