* 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.
This commit is contained in:
parent
2bcebd8052
commit
e7ddc19715
5 changed files with 24 additions and 8 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue