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] function eval cleanup




In this particular location and if the language is C++ we are dealing with an OP_VAR_VALUE since all the other constructs were eliminated by the if else chain. So it is always a symbol, but I could add a check for OP_VAR_VALUE before skipping evaluation.


Tom pointed out that the catch all is also responsible for evaluating complex expressions describing function pointers. So I added a check for OP_VAR_VALUE, and a test-case for the missed scenario.


Attachment: overload-cleanup.patch
Description: Text document


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