3 * config.in: Regenerate.
6 * configure: Regenerate.
10 * configure.in: Check for sys/select.h, termios.h, sys/socket.h,
11 netinet/in.h, and netinet/tcp.h.
12 * configure: Regenerate.
13 * config.in: Add those headers.
14 * main.c: Check for them.
15 (setup_tcp_console): Disable if no networking.
16 (main): Note missing networking or termios.
17 * mem.c: Check for those headers.
18 (stdin_ready): Disable if no termios.
19 (m32c_sim_restore_console): Disable if no termios.
20 (mem_get_byte): Disable console input if no termios.
24 * r8c.opc, m32c.opc: Add parentheses to remove warnings.
28 * int.c (trigger_peripheral_interrupt): Clear interrupt pending
29 bit when peripheral interrupts are serviced.
33 * configure: Regenerate to track ../common/common.m4 changes.
38 * m32c.opc (BRK, GDBBRK): Remove debug logic.
39 * main.c (main): Add option to set raw console.
40 * mem.h (m32c_use_raw_console): Declare.
41 * mem.c (m32c_sim_restore_console): Only restore console if it's
43 (m32c_use_raw_console): Define.
44 (mem_get_byte): Set raw console if m32c_use_raw_console is set.
50 * configure: Regenerate.
54 * Makefile.in: Add Timer A support.
55 * cpu.h (m32c_opcode_pc): New.
57 * gdb-if.c (sim_open): Add Timer A support. Support unbuffered
59 * int.c (trigger_interrupt): Manage the U flag properly.
60 (trigger_based_interrupt): Likewise.
61 (trigger_fixed_interrupt): New.
62 (trigger_peripheral_interrupt): New.
63 * int.h (trigger_peripheral_interrupt): New.
64 * m32c.opc: Use m32c_opcode_pc throughout, as needed.
65 (decode_m32c): Detect jump-to-zero with traceback.
66 (BRK): Try to do the right thing, keeping track of whether we're
67 in gdb or not, and if the user has provided a handler or not.
68 (GBRK): Alternate break opcode for gdb, in case the user's app
69 needs to use BRK for itself.
71 * main.c: Add Timer A support. Support TCP-based console.
72 (setup_tcp_console): New.
73 (main): Add Timer A support. Support TCP-based console.
74 * mem.h (m32c_sim_restore_console): New.
75 * mem.c: Add Timer A support. Support TCP-based console.
76 (mem_ptr): Enhance NULL pointer detection.
78 (m32c_sim_restore_console): New.
79 (mem_get_byte): Check for console input ready.
80 (update_timer_a): New.
81 * r8c.opc (SSTR): Use r0l, not r0h.
82 (REIT): Fix return frame logic.
83 * reg.c (print_flags): New.
84 (trace_register_changes): Use it.
85 (m32c_dump_all_registers): New.
88 * load.c: Fix indentation.
89 * trace.c: Fix indentation.
90 * trace.h: Fix indentation.
94 * r8c.opc (decode_r8c): Don't bother reading the destination
95 before moving a constant into it. Fix borrow comparison for SUB.
99 * configure: Regenerated.
103 * configure: Regenerated.
107 * configure: Regenerated.
111 * mem.c (mem_put_byte): Hook simulated UART to stdout.
112 (mem_put_hi): Hook in simulated trace port.
113 (mem_get_byte): Hook in simulated uart control port.
114 * opc2c: Be more picky about matching special comments.
115 * r8c.opc (shift_op): Limit shift counts to -16..16.
116 (BMcnd): Map conditional codes.
117 * reg.c (condition_true): Mask condition code to 4 bits.
118 * syscalls.c: Include local syscall.h.
119 * syscall.h: New, copied from libgloss.