diff options
author | Tom de Vries <tdevries@suse.de> | 2022-06-13 17:20:07 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2022-06-13 17:20:07 +0200 |
commit | c722093960edc1291df0a19ab0136fdb8934bdc2 (patch) | |
tree | 3d8e0be94feb80be3bc720e89225d1ee441ca846 /gdb/testsuite/gdb.python/py-section-script.py | |
parent | 208b57e53ed98106d20c7314e88d0a7225a8aa1d (diff) | |
download | binutils-c722093960edc1291df0a19ab0136fdb8934bdc2.zip binutils-c722093960edc1291df0a19ab0136fdb8934bdc2.tar.gz binutils-c722093960edc1291df0a19ab0136fdb8934bdc2.tar.bz2 |
[gdb] Avoid warnings in cooked_{read,write}_test for m68hc11
With --enable-targets=all we have:
...
$ gdb -q -batch -ex "maint selftest"
...
Running selftest regcache::cooked_read_test::m68hc11.
warning: No frame soft register found in the symbol table.
Stack backtrace will not work.
Running selftest regcache::cooked_read_test::m68hc12.
warning: No frame soft register found in the symbol table.
Stack backtrace will not work.
Running selftest regcache::cooked_read_test::m68hc12:HCS12.
warning: No frame soft register found in the symbol table.
Stack backtrace will not work.
...
Likewise for regcache::cooked_write_test.
The warning has no use in the selftest context.
Fix this by skipping the specific selftests.
Tested on x86_64-linux.
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=29224
Diffstat (limited to 'gdb/testsuite/gdb.python/py-section-script.py')
0 files changed, 0 insertions, 0 deletions