diff options
author | Tiezhu Yang <yangtiezhu@loongson.cn> | 2022-05-24 17:46:26 +0800 |
---|---|---|
committer | Tiezhu Yang <yangtiezhu@loongson.cn> | 2022-05-24 22:05:03 +0800 |
commit | 387e00f3b3e6ea3719f144d7090c1a242174be4d (patch) | |
tree | db0918a04205257d8ef8e12e346b1ea417579c68 /texinfo | |
parent | 81657e580045026b3a79f3a8db6fac5e7e5dad66 (diff) | |
download | fsf-binutils-gdb-387e00f3b3e6ea3719f144d7090c1a242174be4d.zip fsf-binutils-gdb-387e00f3b3e6ea3719f144d7090c1a242174be4d.tar.gz fsf-binutils-gdb-387e00f3b3e6ea3719f144d7090c1a242174be4d.tar.bz2 |
gdb: LoongArch: Define LOONGARCH_LINUX_NUM_GREGSET as 45
LOONGARCH_LINUX_NUM_GREGSET should be defined as 45 (32 + 1 + 1 + 11)
due to reserved 11 for extension in glibc, otherwise when execute:
make check-gdb TESTS="gdb.base/corefile.exp"
there exists the following failed testcase:
(gdb) core-file /home/loongson/build.git/gdb/testsuite/outputs/gdb.base/corefile/corefile.core
[New LWP 7742]
warning: Unexpected size of section `.reg/7742' in core file.
Core was generated by `/home/loongson/build.git/gdb/testsuite/outputs/gdb.base/corefile/corefile'.
Program terminated with signal SIGABRT, Aborted.
warning: Unexpected size of section `.reg/7742' in core file.
#0 0x000000fff76f4e24 in raise () from /lib/loongarch64-linux-gnu/libc.so.6
(gdb) FAIL: gdb.base/corefile.exp: core-file warning-free
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Diffstat (limited to 'texinfo')
0 files changed, 0 insertions, 0 deletions