]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - sim/m32c/ChangeLog
sim: constify sim_write source buffer (part 2)
[thirdparty/binutils-gdb.git] / sim / m32c / ChangeLog
CommitLineData
5558e7e6
MF
12010-04-14 Mike Frysinger <vapier@gentoo.org>
2
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.
6
2b1a61a6
DD
72010-01-20 DJ Delorie <dj@redhat.com>
8
9 * m32c.opc (MATH_OP): When doing subtraction, also set carry if
10 the result is zero.
11
3725885a
RW
122010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
13
14 * configure: Regenerate.
15
d6416cdc
RW
162009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
17
81ecdfbb
RW
18 * config.in: Regenerate.
19 * configure: Likewise.
20
d6416cdc
RW
21 * configure: Regenerate.
22
340cf1cf
DD
232009-08-14 DJ Delorie <dj@redhat.com>
24
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.
36
ed25d732
JS
372009-01-06 Joel Sherrill <joel.sherrill@oarcorp.com>
38
39 * r8c.opc, m32c.opc: Add parentheses to remove warnings.
40
bec7fb47
DD
412008-10-01 DJ Delorie <dj@redhat.com>
42
43 * int.c (trigger_peripheral_interrupt): Clear interrupt pending
44 bit when peripheral interrupts are serviced.
45
b5bd9624
HPN
462008-07-11 Hans-Peter Nilsson <hp@axis.com>
47
48 * configure: Regenerate to track ../common/common.m4 changes.
49 * config.in: Ditto.
50
e7ddc197
DD
512008-06-16 DJ Delorie <dj@redhat.com>
52
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
57 been previously set.
58 (m32c_use_raw_console): Define.
59 (mem_get_byte): Set raw console if m32c_use_raw_console is set.
60
6efef468
JM
612008-06-06 Vladimir Prus <vladimir@codesourcery.com>
62 Daniel Jacobowitz <dan@codesourcery.com>
63 Joseph Myers <joseph@codesourcery.com>
64
65 * configure: Regenerate.
66
3877a145
DD
672008-06-06 DJ Delorie <dj@redhat.com>
68
69 * Makefile.in: Add Timer A support.
70 * cpu.h (m32c_opcode_pc): New.
71 (in_gdb): New.
72 * gdb-if.c (sim_open): Add Timer A support. Support unbuffered
73 console.
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.
85 (BRK2): Implement.
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.
7cc70e53 89 * mem.h (m32c_sim_restore_console): New.
3877a145
DD
90 * mem.c: Add Timer A support. Support TCP-based console.
91 (mem_ptr): Enhance NULL pointer detection.
92 (stdin_ready): New.
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.
101 * timer_a.h: New.
102
103 * load.c: Fix indentation.
104 * trace.c: Fix indentation.
105 * trace.h: Fix indentation.
106
f4f21c20
DD
1072006-06-26 DJ Delorie <dj@redhat.com>
108
109 * r8c.opc (decode_r8c): Don't bother reading the destination
110 before moving a constant into it. Fix borrow comparison for SUB.
111
e85e3205
RE
1122006-06-13 Richard Earnshaw <rearnsha@arm.com>
113
114 * configure: Regenerated.
115
2f0122dc
DJ
1162006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
117
118 * configure: Regenerated.
119
20e95c23
DJ
1202006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
121
122 * configure: Regenerated.
123
727b6b4b
DD
1242006-03-13 DJ Delorie <dj@redhat.com>
125
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.
135
d45a4bef
JB
1362005-10-06 Jim Blandy <jimb@redhat.com>
137
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>.
141
142 * ChangeLog: New.
143 * Makefile.in: New.
144 * blinky.S: New.
145 * config.in: New.
146 * configure: New.
147 * configure.in: New.
148 * cpu.h: New.
149 * gdb-if.c: New.
150 * gloss.S: New.
151 * int.c: New.
152 * int.h: New.
153 * load.c: New.
154 * load.h: New.
155 * m32c.opc: New.
156 * main.c: New.
157 * mem.c: New.
158 * mem.h: New.
159 * misc.c: New.
160 * misc.h: New.
161 * opc2c.c: New.
162 * r8c.opc: New.
163 * reg.c: New.
164 * safe-fgets.c: New.
165 * safe-fgets.h: New.
166 * sample.S: New.
167 * sample.ld: New.
168 * sample2.c: New.
169 * srcdest.c: New.
170 * syscalls.c: New.
171 * syscalls.h: New.
172 * trace.c: New.
173 * trace.h: New.
174
175