aboutsummaryrefslogtreecommitdiff
path: root/sim/m32c/mem.h
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2008-06-17 00:34:37 +0000
committerDJ Delorie <dj@redhat.com>2008-06-17 00:34:37 +0000
commite7ddc197153de3bcee60451d867d95a13d5f146f (patch)
treed6ba28ee533b366885344fb2c18635bae33be308 /sim/m32c/mem.h
parent2bcebd805259eee3878a47ba21068278d6d8495f (diff)
downloadbinutils-e7ddc197153de3bcee60451d867d95a13d5f146f.zip
binutils-e7ddc197153de3bcee60451d867d95a13d5f146f.tar.gz
binutils-e7ddc197153de3bcee60451d867d95a13d5f146f.tar.bz2
* m32c.opc (BRK, GDBBRK): Remove debug logic.
* main.c (main): Add option to set raw console. * mem.h (m32c_use_raw_console): Declare. * mem.c (m32c_sim_restore_console): Only restore console if it's been previously set. (m32c_use_raw_console): Define. (mem_get_byte): Set raw console if m32c_use_raw_console is set.
Diffstat (limited to 'sim/m32c/mem.h')
-rw-r--r--sim/m32c/mem.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sim/m32c/mem.h b/sim/m32c/mem.h
index ad53a01..52ad2d6 100644
--- a/sim/m32c/mem.h
+++ b/sim/m32c/mem.h
@@ -41,3 +41,5 @@ void mem_get_blk (int address, void *bufptr, int nbytes);
int sign_ext (int v, int bits);
void m32c_sim_restore_console ();
+
+extern int m32c_use_raw_console;