gdb/testsuite: add binary testcases to py-format-string.exp
authorEnze Li <lienze2010@hotmail.com>
Sat, 16 Apr 2022 07:36:29 +0000 (15:36 +0800)
committerEnze Li <lienze2010@hotmail.com>
Thu, 21 Apr 2022 12:49:27 +0000 (20:49 +0800)
commit9d748d023d2df565e04974b5bb45618c24b30c15
treea16b6fb9881de419ef1e2824b5da4e137c3bfc42
parent9cf71b1354f6829a999b39a675a18c5a85f19e17
gdb/testsuite: add binary testcases to py-format-string.exp

We currently only test decimal and hexadecimal for the
gdb.Value.format_string() interface, this patch adds testcases for
binary format.

Tested on x86_64 openSUSE Tumbleweed(VERSION_ID="20220413").
gdb/testsuite/gdb.python/py-format-string.exp