diff options
author | Yao Qi <yao.qi@linaro.org> | 2015-08-04 14:34:14 +0100 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2015-08-04 14:34:14 +0100 |
commit | bd9e6534b7be7a228ce339bced963d2d15856390 (patch) | |
tree | 235c3cbcddc0c69bf7be0d341360c860479607b1 /gdb/gdbserver/configure.srv | |
parent | ded48a5ef34314f7af698b7ec7916b084c94b18d (diff) | |
download | gdb-bd9e6534b7be7a228ce339bced963d2d15856390.zip gdb-bd9e6534b7be7a228ce339bced963d2d15856390.tar.gz gdb-bd9e6534b7be7a228ce339bced963d2d15856390.tar.bz2 |
New regs_info for aarch32
This patch adds a new regs_info regs_info_aarch32 for aarch32, which
can be used by both aarch64 and arm backend.
gdb/gdbserver:
2015-08-04 Yao Qi <yao.qi@linaro.org>
* configure.srv (srv_tgtobj): Add linux-aarch32-low.o.
* linux-aarch32-low.c: New file.
* linux-aarch32-low.h: New file.
* linux-arm-low.c (arm_fill_gregset): Move it to
linux-aarch32-low.c.
(arm_store_gregset): Likewise.
(arm_fill_vfpregset): Call arm_fill_vfpregset_num
(arm_store_vfpregset): Caa arm_store_vfpregset_num.
(arm_arch_setup): Check if PTRACE_GETREGSET works.
(regs_info): Rename to regs_info_arm.
(arm_regs_info): Return regs_info_aarch32 if
have_ptrace_getregset is 1 and target description is
arm_with_neon or arm_with_vfpv3.
(initialize_low_arch): Don't call init_registers_arm_with_neon.
Call initialize_low_arch_aarch32 instead.
Diffstat (limited to 'gdb/gdbserver/configure.srv')
-rw-r--r-- | gdb/gdbserver/configure.srv | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/gdbserver/configure.srv b/gdb/gdbserver/configure.srv index 9a04aac..1a8361a 100644 --- a/gdb/gdbserver/configure.srv +++ b/gdb/gdbserver/configure.srv @@ -62,6 +62,7 @@ case "${target}" in srv_regobj="${srv_regobj} arm-with-vfpv3.o" srv_regobj="${srv_regobj} arm-with-neon.o" srv_tgtobj="$srv_linux_obj linux-arm-low.o" + srv_tgtobj="$srv_tgtobj linux-aarch32-low.o" srv_xmlfiles="arm-with-iwmmxt.xml" srv_xmlfiles="${srv_xmlfiles} arm-with-vfpv2.xml" srv_xmlfiles="${srv_xmlfiles} arm-with-vfpv3.xml" |