Re: [PATCH 1/2] Fix C++ virtual method pointer resolution

Yao Qi
2014-11-21T13:37:21Z

Patrick Palka <patrick@parcs.ath.cx> writes:

>>> +get_debug_format
>>> +
>>> +if ![test_debug_format "DWARF 2"] {
>>> + return 0
>>> +}
>>
>> Why do we need to check test_debug_format here?
>
> Because GDB only supports C++ method pointers with the DWARF debug
> format. So I'd assume that this test would fail for non-DWARF.

I am not aware of this, any details? If GDB doesn't support C++ method
pointers with non-DWARF, we should kfail or xfail it in the test. See
gdb.cp/m-static.exp.

--
Yao (齐尧)