Files
Tom de Vries cad152f221 [gdb/tdep] Reset force_thumb in parse_arm_disassembler_options
With a gdb build with --enable-targets=all, we have 2 arch-specific failures
in selftest print_one_insn:
...
$ gdb -q -batch a.out -ex "maint selftest print_one_insn" 2>&1 \
  | grep "Self test failed: arch "
Self test failed: arch armv8.1-m.main: self-test failed at \
  disasm-selftests.c:165
Self test failed: arch arm_any: self-test failed at disasm-selftests.c:165
$
...

During the first failed test, force_thumb is set to true, and remains so until
and during the second test, which causes the second failure.

Fix this by resetting force_thumb to false in parse_arm_disassembler_options,
such that we get just one failure:
...
$ gdb -q -batch a.out -ex "maint selftest print_one_insn" 2>&1 \
  | grep "Self test failed: arch "
Self test failed: arch armv8.1-m.main: self-test failed at \
  disasm-selftests.c:165
$
...

Tested on x86_64-linux.
2021-09-13 20:16:36 +02:00
..
2021-03-31 10:49:23 +10:30
2021-04-19 15:41:35 +02:00
2021-03-31 10:49:23 +10:30
2021-03-31 10:49:23 +10:30
2021-03-31 10:49:23 +10:30
2021-03-31 10:49:23 +10:30
2021-03-31 10:49:23 +10:30
2021-03-31 10:49:23 +10:30
2021-03-31 10:49:23 +10:30
2021-03-31 10:49:23 +10:30
2021-03-31 10:49:23 +10:30
2021-03-31 10:49:23 +10:30
2021-04-05 15:28:04 +09:30
2018-01-03 17:49:42 +10:30
2019-01-01 21:25:40 +10:30
2020-01-01 18:12:08 +10:30
2021-01-01 10:31:02 +10:30
2021-05-25 17:17:04 +09:30
2021-05-25 17:17:04 +09:30
2021-03-31 10:49:23 +10:30
2021-05-25 17:17:04 +09:30
2021-03-31 10:49:23 +10:30
2021-03-31 10:49:23 +10:30
2021-03-31 10:49:23 +10:30
2021-03-31 10:49:23 +10:30
2021-03-31 10:49:23 +10:30
2021-03-30 14:09:41 +02:00
2021-03-30 14:08:11 +02:00
2021-03-31 10:49:23 +10:30
2021-07-01 18:05:40 -04:00
2021-07-01 18:05:40 -04:00
2021-03-31 10:49:23 +10:30
2021-03-31 10:49:23 +10:30
2021-03-31 10:49:23 +10:30
2021-03-31 10:49:23 +10:30
2021-03-31 10:49:23 +10:30
2021-03-31 10:49:23 +10:30
2021-07-01 18:03:02 -04:00
2021-07-02 20:48:55 +09:30
2021-07-02 20:48:55 +09:30
2021-03-31 10:49:23 +10:30
2021-08-04 16:51:50 +02:00
2021-08-04 16:51:50 +02:00
2021-04-05 15:28:04 +09:30
2021-03-31 10:49:23 +10:30
2021-06-19 11:08:55 +09:30
2021-03-31 10:49:23 +10:30
2021-06-19 11:08:56 +09:30
2021-04-05 15:28:04 +09:30