1 2010-04-14 Mike Frysinger <vapier@gentoo.org>
3 * gdb-if.c (sim_write): Add const to buf arg.
4 * mem.h (mem_put_blk): Add const to bufptr arg.
5 * mem.c (mem_put_blk): Likewise, and add const to cast.
7 2010-01-20 DJ Delorie <dj@redhat.com>
9 * m32c.opc (MATH_OP): When doing subtraction, also set carry if
12 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 * configure: Regenerate.
16 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
18 * config.in: Regenerate.
19 * configure: Likewise.
21 * configure: Regenerate.
23 2009-08-14 DJ Delorie <dj@redhat.com>
25 * configure.in: Check for sys/select.h, termios.h, sys/socket.h,
26 netinet/in.h, and netinet/tcp.h.
27 * configure: Regenerate.
28 * config.in: Add those headers.
29 * main.c: Check for them.
30 (setup_tcp_console): Disable if no networking.
31 (main): Note missing networking or termios.
32 * mem.c: Check for those headers.
33 (stdin_ready): Disable if no termios.
34 (m32c_sim_restore_console): Disable if no termios.
35 (mem_get_byte): Disable console input if no termios.
37 2009-01-06 Joel Sherrill <joel.sherrill@oarcorp.com>
39 * r8c.opc, m32c.opc: Add parentheses to remove warnings.
41 2008-10-01 DJ Delorie <dj@redhat.com>
43 * int.c (trigger_peripheral_interrupt): Clear interrupt pending
44 bit when peripheral interrupts are serviced.
46 2008-07-11 Hans-Peter Nilsson <hp@axis.com>
48 * configure: Regenerate to track ../common/common.m4 changes.
51 2008-06-16 DJ Delorie <dj@redhat.com>
53 * m32c.opc (BRK, GDBBRK): Remove debug logic.
54 * main.c (main): Add option to set raw console.
55 * mem.h (m32c_use_raw_console): Declare.
56 * mem.c (m32c_sim_restore_console): Only restore console if it's
58 (m32c_use_raw_console): Define.
59 (mem_get_byte): Set raw console if m32c_use_raw_console is set.
61 2008-06-06 Vladimir Prus <vladimir@codesourcery.com>
62 Daniel Jacobowitz <dan@codesourcery.com>
63 Joseph Myers <joseph@codesourcery.com>
65 * configure: Regenerate.
67 2008-06-06 DJ Delorie <dj@redhat.com>
69 * Makefile.in: Add Timer A support.
70 * cpu.h (m32c_opcode_pc): New.
72 * gdb-if.c (sim_open): Add Timer A support. Support unbuffered
74 * int.c (trigger_interrupt): Manage the U flag properly.
75 (trigger_based_interrupt): Likewise.
76 (trigger_fixed_interrupt): New.
77 (trigger_peripheral_interrupt): New.
78 * int.h (trigger_peripheral_interrupt): New.
79 * m32c.opc: Use m32c_opcode_pc throughout, as needed.
80 (decode_m32c): Detect jump-to-zero with traceback.
81 (BRK): Try to do the right thing, keeping track of whether we're
82 in gdb or not, and if the user has provided a handler or not.
83 (GBRK): Alternate break opcode for gdb, in case the user's app
84 needs to use BRK for itself.
86 * main.c: Add Timer A support. Support TCP-based console.
87 (setup_tcp_console): New.
88 (main): Add Timer A support. Support TCP-based console.
89 * mem.h (m32c_sim_restore_console): New.
90 * mem.c: Add Timer A support. Support TCP-based console.
91 (mem_ptr): Enhance NULL pointer detection.
93 (m32c_sim_restore_console): New.
94 (mem_get_byte): Check for console input ready.
95 (update_timer_a): New.
96 * r8c.opc (SSTR): Use r0l, not r0h.
97 (REIT): Fix return frame logic.
98 * reg.c (print_flags): New.
99 (trace_register_changes): Use it.
100 (m32c_dump_all_registers): New.
103 * load.c: Fix indentation.
104 * trace.c: Fix indentation.
105 * trace.h: Fix indentation.
107 2006-06-26 DJ Delorie <dj@redhat.com>
109 * r8c.opc (decode_r8c): Don't bother reading the destination
110 before moving a constant into it. Fix borrow comparison for SUB.
112 2006-06-13 Richard Earnshaw <rearnsha@arm.com>
114 * configure: Regenerated.
116 2006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
118 * configure: Regenerated.
120 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
122 * configure: Regenerated.
124 2006-03-13 DJ Delorie <dj@redhat.com>
126 * mem.c (mem_put_byte): Hook simulated UART to stdout.
127 (mem_put_hi): Hook in simulated trace port.
128 (mem_get_byte): Hook in simulated uart control port.
129 * opc2c: Be more picky about matching special comments.
130 * r8c.opc (shift_op): Limit shift counts to -16..16.
131 (BMcnd): Map conditional codes.
132 * reg.c (condition_true): Mask condition code to 4 bits.
133 * syscalls.c: Include local syscall.h.
134 * syscall.h: New, copied from libgloss.
136 2005-10-06 Jim Blandy <jimb@redhat.com>
138 Simulator for Renesas M32C and M16C, by DJ Delorie <dj@redhat.com>,
139 with further work from Jim Blandy <jimb@redhat.com> and
140 Kevin Buettner <kevinb@redhat.com>.