diff options
author | Yao Qi <yao.qi@linaro.org> | 2017-09-05 09:54:53 +0100 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2017-09-05 09:54:53 +0100 |
commit | 9d3d478be5e21151d3755d7b2e6f1cd8ff92d726 (patch) | |
tree | 44f3a0e29a71150f3cb98813b26d67ec8cbcfd94 /lt~obsolete.m4 | |
parent | b9f1d50ffcac4c4b65cb05c2971106cb06e8774c (diff) | |
download | gdb-9d3d478be5e21151d3755d7b2e6f1cd8ff92d726.zip gdb-9d3d478be5e21151d3755d7b2e6f1cd8ff92d726.tar.gz gdb-9d3d478be5e21151d3755d7b2e6f1cd8ff92d726.tar.bz2 |
Centralize amd64-linux target descriptions
This patch adds a new function amd64_linux_read_description, which
creates amd64-linux target descriptions according to its two
arguments, xcr0 and is_x32.
gdb:
2017-09-05 Yao Qi <yao.qi@linaro.org>
* amd64-linux-tdep.c (amd64_linux_read_description): New
function.
(amd64_linux_core_read_description): Call
amd64_linux_read_description.
(amd64_linux_init_abi): Likewise.
(amd64_x32_linux_init_abi): Likewise.
* amd64-linux-tdep.h (amd64_linux_read_description): Declare.
* x86-linux-nat.c (x86_linux_read_description): Call
amd64_linux_read_description.
Diffstat (limited to 'lt~obsolete.m4')
0 files changed, 0 insertions, 0 deletions