diff options
author | Jiangshuai Li <jiangshuai_li@linux.alibaba.com> | 2022-08-08 11:15:30 +0800 |
---|---|---|
committer | Jiangshuai Li <jiangshuai_li@linux.alibaba.com> | 2022-08-08 11:15:30 +0800 |
commit | 0d3c36672045725236341529f087391470f65e87 (patch) | |
tree | ff56e5c0443bf013405857117ebff6ddb4f04b5c /gdb/f-lang.c | |
parent | dd27fd47f174b537b9e6f203eb856b1b325dce85 (diff) | |
download | gdb-0d3c36672045725236341529f087391470f65e87.zip gdb-0d3c36672045725236341529f087391470f65e87.tar.gz gdb-0d3c36672045725236341529f087391470f65e87.tar.bz2 |
gdb/csky support .reg2 for kernel 4.x and later
When kernel's version >= 4.x, the size of .reg2 section will be 400.
Contents of .reg2 are {
unsigned long vr[96];
unsigned long fcr;
unsigned long fesr;
unsigned long fid;
unsigned long reserved;
};
VR[96] means: (vr0~vr15) + (fr16~fr31), each Vector register is
128-bits, each Float register is 64 bits, the total size is
(4*96).
In addition, for fr0~fr15, each FRx is the lower 64 bits of the
corresponding VRx. So fr0~fr15 and vr0~vr15 regisetrs use the same
offset.
Diffstat (limited to 'gdb/f-lang.c')
0 files changed, 0 insertions, 0 deletions