diff options
author | Jiangshuai Li <jiangshuai_li@c-sky.com> | 2022-06-01 14:46:01 +0800 |
---|---|---|
committer | Jiangshuai Li <jiangshuai_li@c-sky.com> | 2022-06-01 14:46:01 +0800 |
commit | 68538bbeaa9f6c5ebe68ce31465e44c46393e170 (patch) | |
tree | 6831bf12b8ad9c6e72359246d7a361c3ccf98d0a /gdb/arm-netbsd-tdep.h | |
parent | b0de9ed86f3af84fbd636f94a58b9c4ad7f4e743 (diff) | |
download | gdb-68538bbeaa9f6c5ebe68ce31465e44c46393e170.zip gdb-68538bbeaa9f6c5ebe68ce31465e44c46393e170.tar.gz gdb-68538bbeaa9f6c5ebe68ce31465e44c46393e170.tar.bz2 |
gdb:csky save fpu and vdsp info to struct csky_gdbarch_tdep
First, add three variables fpu_abi, fpu_hardfp and vdsp_version
to csky_gdbarch_tdep. They will be initialized from info.abfd in
cskg_gdbarch_init.
Now, they are just used to find a candidate among the list of pre-declared
architectures
Later, they will be used in gdbarch_return_value and gdbarch_push_dummy_call
for funtions described below:
fpu_abi: to check if the bfd is using VAL_CSKY_FPU_ABI_HARD or
VAL_CSKY_FPU_ABI_SOFT
fpu_hardfp: to check if the bfd is using VAL_CSKY_FPU_HARDFP_SINGLE
or VAL_CSKY_FPU_HARDFP_DOUBLE
vdsp_version: to check if a function is returned with CSKY_VRET_REGNUM
Diffstat (limited to 'gdb/arm-netbsd-tdep.h')
0 files changed, 0 insertions, 0 deletions