* sh-tdep.h (sh_show_regs): Add FRAME parameter.
authorUlrich Weigand <uweigand@de.ibm.com>
Fri, 15 Jun 2007 22:31:01 +0000 (22:31 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Fri, 15 Jun 2007 22:31:01 +0000 (22:31 +0000)
commitc458d6db4beec11df86f11c63e69cb0e28cb1d40
treea81ec7bb5fa4c680c4c196e6e0f7b80f882b9527
parenta961495892f6fcdb2386428c9bb63e19f364006f
* sh-tdep.h (sh_show_regs): Add FRAME parameter.
* sh-tdep.c (sh_show_regs): Likewise.
(sh_show_regs_command): Pass current frame to sh_show_regs routine.
(sh_generic_show_regs): Add FRAME parameter.  Use register
values from that frame instead of calling read_register.
(sh3_show_regs, sh2e_show_regs, sh2a_show_regs, sh2a_nofpu_show_regs,
sh3e_show_regs, sh3_dsp_show_regs, sh4_show_regs, sh4_nofpu_show_regs,
sh_dsp_show_regs): Likewise.
* sh64-tdep.c (sh64_show_media_regs, sh64_show_compact_regs,
sh64_show_regs): Likewise.
gdb/ChangeLog
gdb/sh-tdep.c
gdb/sh-tdep.h
gdb/sh64-tdep.c