2003-02-02 Andrew Cagney <ac131313@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Sun, 2 Feb 2003 18:53:22 +0000 (18:53 +0000)
committerAndrew Cagney <cagney@redhat.com>
Sun, 2 Feb 2003 18:53:22 +0000 (18:53 +0000)
commit5f601589e1e0dad6276d458d25c818ff6458b3f3
treea500eeebde48c61fdf9cfe66f098f693e46a92e6
parent6a3fe0a431156fb3c8626e9d9c3e2de22356228c
2003-02-02  Andrew Cagney  <ac131313@redhat.com>

* frame.h: Note that namelen can be negative.
* frame.c (frame_map_name_to_regnum): When LEN is negative, use
NAME's length.

* NEWS: Mention that the d10v's `regs' command is deprecated.
* d10v-tdep.c (d10v_gdbarch_init): Set print_registers_info.
(d10v_print_registers_info): New function.
(show_regs): Call d10v_print_registers_info.
(_initialize_d10v_tdep): Mark "show regs" command as deprecated.
gdb/ChangeLog
gdb/NEWS
gdb/d10v-tdep.c
gdb/frame.c
gdb/frame.h