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