[testsuite patch] Fix new FAIL: py-frame.exp: test Frame.read_register(rip)
Yao Qi
yao@codesourcery.com
Sun Jan 11 13:58:00 GMT 2015
Jan Kratochvil <jan.kratochvil@redhat.com> writes:
> # On x86-64, PC is in $rip register.
> -if {[istarget x86_64-*]} {
> +if {[is_amd64_regs_target]} {
> gdb_test "python print ('result = %s' % (f0.read_register('pc') == f0.read_register('rip')))" \
> " = True" \
> "test Frame.read_register(rip)"
Hi, Jan,
With your patch applied, this test is skipped on 'x86_64 -m32'. I
prefer to increasing the test coverage, so how about extending the test
for 'x86_64 -m32'? I mean test Frame.read_register(eip)...
--
Yao (齐尧)
More information about the Gdb-patches
mailing list