2003-05-02 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Fri, 2 May 2003 23:56:12 +0000 (23:56 +0000)
committerAndrew Cagney <cagney@redhat.com>
Fri, 2 May 2003 23:56:12 +0000 (23:56 +0000)
commit27d94c493022d2df99367343248bd552f17c79a1
treeadec6db216e85b526b2db3a812f577b5633e636b
parentdd69d2926038c4272ee9d6f42fc96dbb8fc28c27
2003-05-02  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh (REGISTER_SIZE, REGISTER_BYTES): Make optional.
* gdbarch.h, gdbarch.c: Re-generate.
* d10v-tdep.c (d10v_gdbarch_init): Do not set register_size,
register_virtual_size, pc_regnum, or register_bytes.
(D10V_PC_REGNUM): Rename _PC_REGNUM.
(d10v_register_type): Use D10V_PC_REGNUM.
(d10v_print_registers_info, d10v_read_pc): Ditto.
(d10v_write_pc, d10v_eva_prepare_to_trace): Ditto.
(d10v_unwind_pc, d10v_frame_prev_register): Ditto.
gdb/ChangeLog
gdb/d10v-tdep.c
gdb/gdbarch.c
gdb/gdbarch.h
gdb/gdbarch.sh