* avr-tdep.c (avr_address_to_pointer): Shift code addrs right 1 bit.
authorTheodore A. Roth <troth@openavr.org>
Fri, 13 Jun 2003 17:52:28 +0000 (17:52 +0000)
committerTheodore A. Roth <troth@openavr.org>
Fri, 13 Jun 2003 17:52:28 +0000 (17:52 +0000)
commit4ea2465e326958603cb2e94329e2c3e7db6bddc0
tree3340d3c39fa6113cc4f20c65196ed1bac981fd8c
parent1581182a448382596b344ebc0857138310bec402
* avr-tdep.c (avr_address_to_pointer): Shift code addrs right 1 bit.
(avr_pointer_to_address): Shift code addrs left 1 bit.
(avr_convert_from_func_ptr_addr): Delete function since operation is
better handled by avr_address_to_pointer and avr_pointer_to_address.
(avr_gdbarch_init): Don't set convert_from_func_ptr_add method.
gdb/ChangeLog
gdb/avr-tdep.c