diff options
author | Tiezhu Yang <yangtiezhu@loongson.cn> | 2022-06-02 14:51:17 +0800 |
---|---|---|
committer | Tiezhu Yang <yangtiezhu@loongson.cn> | 2022-06-02 22:43:35 +0800 |
commit | 2e90d0257855fa4661f2da67033286958632ed55 (patch) | |
tree | c9b78eeefafc0e0dee16e613551a77779062ac03 /gdb/observable.h | |
parent | 625b6eae091709b95471eae92d42dc6bc71e6553 (diff) | |
download | gdb-2e90d0257855fa4661f2da67033286958632ed55.zip gdb-2e90d0257855fa4661f2da67033286958632ed55.tar.gz gdb-2e90d0257855fa4661f2da67033286958632ed55.tar.bz2 |
gdb: LoongArch: Implement the software_single_step gdbarch method
When execute the following command on LoongArch:
make check-gdb TESTS="gdb.base/branch-to-self.exp"
there exist the following failed testcases:
FAIL: gdb.base/branch-to-self.exp: single-step: si (timeout)
FAIL: gdb.base/branch-to-self.exp: break-cond: side=host: continue to breakpoint: continue to break (timeout)
FAIL: gdb.base/branch-to-self.exp: break-cond: side=host: p counter (timeout)
Implement the software_single_step gdbarch method to decode the current
branch instruction and determine the address of the next instruction on
LoongArch to fix the above failed testcases.
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Diffstat (limited to 'gdb/observable.h')
0 files changed, 0 insertions, 0 deletions