Oops, missed some warnings.
authorDJ Delorie <dj@redhat.com>
Fri, 6 Jun 2008 19:26:10 +0000 (19:26 +0000)
committerDJ Delorie <dj@redhat.com>
Fri, 6 Jun 2008 19:26:10 +0000 (19:26 +0000)
* mem.h (m32c_sim_restore_console): New.

sim/m32c/ChangeLog
sim/m32c/gdb-if.c
sim/m32c/mem.c
sim/m32c/mem.h
sim/m32c/timer_a.h

index 121670d12e9d295d40749d34b5c3793d890e708c..76cad22fb2649c13d54661fc65991531a9b21d47 100644 (file)
@@ -20,6 +20,7 @@
        * main.c: Add Timer A support.  Support TCP-based console.
        (setup_tcp_console): New.
        (main): Add Timer A support.  Support TCP-based console.
+       * mem.h (m32c_sim_restore_console): New.
        * mem.c: Add Timer A support.  Support TCP-based console.
        (mem_ptr): Enhance NULL pointer detection.
        (stdin_ready): New.
index a8ba3920cd4b677d78a9b51c020b8263c729e1c4..04c5dbad057b93483e1b3c6a2d81fbb30d9ee733 100644 (file)
@@ -35,6 +35,9 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 #include "mem.h"
 #include "load.h"
 #include "syscalls.h"
+#ifdef TIMER_A
+#include "timer_a.h"
+#endif
 
 /* I don't want to wrap up all the minisim's data structures in an
    object and pass that around.  That'd be a big change, and neither
index a277787e3c65c2d1a77e65569bcf12fd36c91391..474fc5e75f9bf97a01bb92c9240aec8d581334c5 100644 (file)
@@ -374,7 +374,7 @@ mem_get_pc ()
 }
 
 static int console_raw = 0;
-static struct termios attr, oattr;
+static struct termios oattr;
 
 static int
 stdin_ready ()
index c4354e442c334358f4fc5be6d9ff7f10596dc6f5..ad53a01f595569cd03620815bad9778dfd18a34e 100644 (file)
@@ -39,3 +39,5 @@ unsigned long mem_get_si (int address);
 void mem_get_blk (int address, void *bufptr, int nbytes);
 
 int sign_ext (int v, int bits);
+
+void m32c_sim_restore_console ();
index e1e7f216bf2a8e4975da14bc2b907e1337038393..abf58833b08a6f9c9aff741850dec7083d842ead 100644 (file)
@@ -10,3 +10,5 @@ typedef struct
 } Timer_A;
 
 extern Timer_A timer_a;
+
+extern void update_timer_a ();
This page took 0.026068 seconds and 4 git commands to generate.