This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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 (éå)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]