3 * gdb-if.c (sim_load): Add const to prog.
7 * configure: Regenerate.
11 * aclocal.m4, configure: Regenerate.
15 * config.in, configure: Regenerate.
21 Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
26 * gdb-if.c: Include config.h before system header files.
28 * syscalls.c: Likewise.
33 * aclocal.m4, config.in, configure: Regenerate.
37 * blinky.S, gloss.S, sample.S: Reformat copyright header.
41 * aclocal.m4: New file.
42 * configure: Regenerate.
46 * configure.ac: Change include to common/acinclude.m4.
50 * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER
51 call. Replace common.m4 include with SIM_AC_COMMON.
52 * configure: Regenerate.
56 * configure.ac: Rename from configure.in.
60 * configure.in: Add "dnl" before copyright notice.
64 * gdb-if.c (sim_complete_command): New stub function.
68 * gdb-if.c (sim_store_register): Update return value to
73 * Makefile.in: Use CC_FOR_BUILD to build opc2c.
77 * main.c (setup_tcp_console): Check error return from socket() call
78 by its equality to -1 not by it being negative.
82 * gdb-if.c (sim_write): Add const to buf arg.
83 * mem.h (mem_put_blk): Add const to bufptr arg.
84 * mem.c (mem_put_blk): Likewise, and add const to cast.
88 * m32c.opc (MATH_OP): When doing subtraction, also set carry if
93 * configure: Regenerate.
97 * config.in: Regenerate.
98 * configure: Likewise.
100 * configure: Regenerate.
104 * configure.in: Check for sys/select.h, termios.h, sys/socket.h,
105 netinet/in.h, and netinet/tcp.h.
106 * configure: Regenerate.
107 * config.in: Add those headers.
108 * main.c: Check for them.
109 (setup_tcp_console): Disable if no networking.
110 (main): Note missing networking or termios.
111 * mem.c: Check for those headers.
112 (stdin_ready): Disable if no termios.
113 (m32c_sim_restore_console): Disable if no termios.
114 (mem_get_byte): Disable console input if no termios.
118 * r8c.opc, m32c.opc: Add parentheses to remove warnings.
122 * int.c (trigger_peripheral_interrupt): Clear interrupt pending
123 bit when peripheral interrupts are serviced.
127 * configure: Regenerate to track ../common/common.m4 changes.
132 * m32c.opc (BRK, GDBBRK): Remove debug logic.
133 * main.c (main): Add option to set raw console.
134 * mem.h (m32c_use_raw_console): Declare.
135 * mem.c (m32c_sim_restore_console): Only restore console if it's
137 (m32c_use_raw_console): Define.
138 (mem_get_byte): Set raw console if m32c_use_raw_console is set.
144 * configure: Regenerate.
148 * Makefile.in: Add Timer A support.
149 * cpu.h (m32c_opcode_pc): New.
151 * gdb-if.c (sim_open): Add Timer A support. Support unbuffered
153 * int.c (trigger_interrupt): Manage the U flag properly.
154 (trigger_based_interrupt): Likewise.
155 (trigger_fixed_interrupt): New.
156 (trigger_peripheral_interrupt): New.
157 * int.h (trigger_peripheral_interrupt): New.
158 * m32c.opc: Use m32c_opcode_pc throughout, as needed.
159 (decode_m32c): Detect jump-to-zero with traceback.
160 (BRK): Try to do the right thing, keeping track of whether we're
161 in gdb or not, and if the user has provided a handler or not.
162 (GBRK): Alternate break opcode for gdb, in case the user's app
163 needs to use BRK for itself.
165 * main.c: Add Timer A support. Support TCP-based console.
166 (setup_tcp_console): New.
167 (main): Add Timer A support. Support TCP-based console.
168 * mem.h (m32c_sim_restore_console): New.
169 * mem.c: Add Timer A support. Support TCP-based console.
170 (mem_ptr): Enhance NULL pointer detection.
172 (m32c_sim_restore_console): New.
173 (mem_get_byte): Check for console input ready.
174 (update_timer_a): New.
175 * r8c.opc (SSTR): Use r0l, not r0h.
176 (REIT): Fix return frame logic.
177 * reg.c (print_flags): New.
178 (trace_register_changes): Use it.
179 (m32c_dump_all_registers): New.
182 * load.c: Fix indentation.
183 * trace.c: Fix indentation.
184 * trace.h: Fix indentation.
188 * r8c.opc (decode_r8c): Don't bother reading the destination
189 before moving a constant into it. Fix borrow comparison for SUB.
193 * configure: Regenerated.
197 * configure: Regenerated.
201 * configure: Regenerated.
205 * mem.c (mem_put_byte): Hook simulated UART to stdout.
206 (mem_put_hi): Hook in simulated trace port.
207 (mem_get_byte): Hook in simulated uart control port.
208 * opc2c: Be more picky about matching special comments.
209 * r8c.opc (shift_op): Limit shift counts to -16..16.
210 (BMcnd): Map conditional codes.
211 * reg.c (condition_true): Mask condition code to 4 bits.
212 * syscalls.c: Include local syscall.h.
213 * syscall.h: New, copied from libgloss.