2010-12-28 Hui Zhu <teawater@gmail.com>
authorHui Zhu <teawater@gmail.com>
Tue, 28 Dec 2010 16:00:13 +0000 (16:00 +0000)
committerHui Zhu <teawater@gmail.com>
Tue, 28 Dec 2010 16:00:13 +0000 (16:00 +0000)
commit175ff332d0cbd9e522a396be6a990d20fdd0ea07
tree0d2a59ecdf58e2168c518d64a28b39c9508cf699
parentf32bf4a4c92412ee5bed6eb3c45cd2733d2465cc
2010-12-28  Hui Zhu  <teawater@gmail.com>

* gdbarch.sh (ax_pseudo_register_collect,
ax_pseudo_register_push_stack): new callbacks.
(agent_expr): Forward declare.
* gdbarch.h, gdbarch.c: Regenerate.
* ax-gdb.c (gen_expr): Remove pseudo-register check code.
* ax-general.c (user-regs.h): New include.
(ax_reg): Call gdbarch_ax_pseudo_register_push_stack.
(ax_reg_mask): Call gdbarch_ax_pseudo_register_collect.
* mips-tdep.c (ax.h): New include.
(mips_ax_pseudo_register_collect,
mips_ax_pseudo_register_push_stack): New functions.
(mips_gdbarch_init): Set mips_ax_pseudo_register_collect and
mips_ax_pseudo_register_push_stack.
gdb/ChangeLog
gdb/ax-gdb.c
gdb/ax-general.c
gdb/gdbarch.c
gdb/gdbarch.h
gdb/gdbarch.sh
gdb/mips-tdep.c