diff options
author | Yao Qi <yao.qi@linaro.org> | 2017-07-25 15:25:38 +0100 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2017-07-25 15:25:38 +0100 |
commit | a04b53379a18c66376b4130dc3b4936e6433a0e5 (patch) | |
tree | 0f0aac372a4c76eeb32adb9153037b84b1efd3a7 /gdb/amd64-tdep.h | |
parent | 133193b8aef9f74abce69ec84beca227dbd7f9a4 (diff) | |
download | gdb-a04b53379a18c66376b4130dc3b4936e6433a0e5.zip gdb-a04b53379a18c66376b4130dc3b4936e6433a0e5.tar.gz gdb-a04b53379a18c66376b4130dc3b4936e6433a0e5.tar.bz2 |
Make amd64_x32_init_abi and amd64_init_abi argument constant
gdb:
2017-07-25 Yao Qi <yao.qi@linaro.org>
* amd64-tdep.c (amd64_init_abi): Make argument default_tdesc
constant.
(amd64_x32_init_abi): Likewise.
* amd64-tdep.h (amd64_init_abi): Update declaration.
(amd64_x32_init_abi): Likewise.
Diffstat (limited to 'gdb/amd64-tdep.h')
-rw-r--r-- | gdb/amd64-tdep.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/amd64-tdep.h b/gdb/amd64-tdep.h index d4c6c9a..c1caf99 100644 --- a/gdb/amd64-tdep.h +++ b/gdb/amd64-tdep.h @@ -102,13 +102,13 @@ extern void amd64_displaced_step_fixup (struct gdbarch *gdbarch, tdesc, if INFO does not specify one. */ extern void amd64_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch, - target_desc *default_tdesc); + const target_desc *default_tdesc); /* Initialize the ABI for x32. Uses DEFAULT_TDESC as fallback tdesc, if INFO does not specify one. */ extern void amd64_x32_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch, - target_desc *default_tdesc); + const target_desc *default_tdesc); extern const struct target_desc *amd64_target_description (uint64_t xcr0); /* Fill register REGNUM in REGCACHE with the appropriate |