1 2011-10-17 Mike Frysinger <vapier@gentoo.org>
3 * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER
4 call. Replace common.m4 include with SIM_AC_COMMON.
5 * configure: Regenerate.
7 2011-07-11 Mike Frysinger <vapier@gentoo.org>
9 * configure.ac: Rename from configure.in.
11 2011-07-11 Mike Frysinger <vapier@gentoo.org>
13 * configure.in: Add "dnl" before copyright notice.
15 2011-04-16 Mike Frysinger <vapier@gentoo.org>
17 * gdb-if.c (sim_complete_command): New stub function.
19 2011-01-11 Andrew Burgess <aburgess@broadcom.com>
21 * gdb-if.c (sim_store_register): Update return value to
24 2010-12-04 Masaki Muranaka <monaka@monami-software.com>
26 * Makefile.in: Use CC_FOR_BUILD to build opc2c.
28 2010-05-26 Ozkan Sezer <sezeroz@gmail.com>
30 * main.c (setup_tcp_console): Check error return from socket() call
31 by its equality to -1 not by it being negative.
33 2010-04-14 Mike Frysinger <vapier@gentoo.org>
35 * gdb-if.c (sim_write): Add const to buf arg.
36 * mem.h (mem_put_blk): Add const to bufptr arg.
37 * mem.c (mem_put_blk): Likewise, and add const to cast.
39 2010-01-20 DJ Delorie <dj@redhat.com>
41 * m32c.opc (MATH_OP): When doing subtraction, also set carry if
44 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
46 * configure: Regenerate.
48 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
50 * config.in: Regenerate.
51 * configure: Likewise.
53 * configure: Regenerate.
55 2009-08-14 DJ Delorie <dj@redhat.com>
57 * configure.in: Check for sys/select.h, termios.h, sys/socket.h,
58 netinet/in.h, and netinet/tcp.h.
59 * configure: Regenerate.
60 * config.in: Add those headers.
61 * main.c: Check for them.
62 (setup_tcp_console): Disable if no networking.
63 (main): Note missing networking or termios.
64 * mem.c: Check for those headers.
65 (stdin_ready): Disable if no termios.
66 (m32c_sim_restore_console): Disable if no termios.
67 (mem_get_byte): Disable console input if no termios.
69 2009-01-06 Joel Sherrill <joel.sherrill@oarcorp.com>
71 * r8c.opc, m32c.opc: Add parentheses to remove warnings.
73 2008-10-01 DJ Delorie <dj@redhat.com>
75 * int.c (trigger_peripheral_interrupt): Clear interrupt pending
76 bit when peripheral interrupts are serviced.
78 2008-07-11 Hans-Peter Nilsson <hp@axis.com>
80 * configure: Regenerate to track ../common/common.m4 changes.
83 2008-06-16 DJ Delorie <dj@redhat.com>
85 * m32c.opc (BRK, GDBBRK): Remove debug logic.
86 * main.c (main): Add option to set raw console.
87 * mem.h (m32c_use_raw_console): Declare.
88 * mem.c (m32c_sim_restore_console): Only restore console if it's
90 (m32c_use_raw_console): Define.
91 (mem_get_byte): Set raw console if m32c_use_raw_console is set.
93 2008-06-06 Vladimir Prus <vladimir@codesourcery.com>
94 Daniel Jacobowitz <dan@codesourcery.com>
95 Joseph Myers <joseph@codesourcery.com>
97 * configure: Regenerate.
99 2008-06-06 DJ Delorie <dj@redhat.com>
101 * Makefile.in: Add Timer A support.
102 * cpu.h (m32c_opcode_pc): New.
104 * gdb-if.c (sim_open): Add Timer A support. Support unbuffered
106 * int.c (trigger_interrupt): Manage the U flag properly.
107 (trigger_based_interrupt): Likewise.
108 (trigger_fixed_interrupt): New.
109 (trigger_peripheral_interrupt): New.
110 * int.h (trigger_peripheral_interrupt): New.
111 * m32c.opc: Use m32c_opcode_pc throughout, as needed.
112 (decode_m32c): Detect jump-to-zero with traceback.
113 (BRK): Try to do the right thing, keeping track of whether we're
114 in gdb or not, and if the user has provided a handler or not.
115 (GBRK): Alternate break opcode for gdb, in case the user's app
116 needs to use BRK for itself.
118 * main.c: Add Timer A support. Support TCP-based console.
119 (setup_tcp_console): New.
120 (main): Add Timer A support. Support TCP-based console.
121 * mem.h (m32c_sim_restore_console): New.
122 * mem.c: Add Timer A support. Support TCP-based console.
123 (mem_ptr): Enhance NULL pointer detection.
125 (m32c_sim_restore_console): New.
126 (mem_get_byte): Check for console input ready.
127 (update_timer_a): New.
128 * r8c.opc (SSTR): Use r0l, not r0h.
129 (REIT): Fix return frame logic.
130 * reg.c (print_flags): New.
131 (trace_register_changes): Use it.
132 (m32c_dump_all_registers): New.
135 * load.c: Fix indentation.
136 * trace.c: Fix indentation.
137 * trace.h: Fix indentation.
139 2006-06-26 DJ Delorie <dj@redhat.com>
141 * r8c.opc (decode_r8c): Don't bother reading the destination
142 before moving a constant into it. Fix borrow comparison for SUB.
144 2006-06-13 Richard Earnshaw <rearnsha@arm.com>
146 * configure: Regenerated.
148 2006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
150 * configure: Regenerated.
152 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
154 * configure: Regenerated.
156 2006-03-13 DJ Delorie <dj@redhat.com>
158 * mem.c (mem_put_byte): Hook simulated UART to stdout.
159 (mem_put_hi): Hook in simulated trace port.
160 (mem_get_byte): Hook in simulated uart control port.
161 * opc2c: Be more picky about matching special comments.
162 * r8c.opc (shift_op): Limit shift counts to -16..16.
163 (BMcnd): Map conditional codes.
164 * reg.c (condition_true): Mask condition code to 4 bits.
165 * syscalls.c: Include local syscall.h.
166 * syscall.h: New, copied from libgloss.
168 2005-10-06 Jim Blandy <jimb@redhat.com>
170 Simulator for Renesas M32C and M16C, by DJ Delorie <dj@redhat.com>,
171 with further work from Jim Blandy <jimb@redhat.com> and
172 Kevin Buettner <kevinb@redhat.com>.