[patch] function eval cleanup

sami wagiaalla swagiaal@redhat.com
Tue Jul 20 19:05:00 GMT 2010


>
> 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.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: overload-cleanup.patch
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20100720/da74baa4/attachment.ksh>


More information about the Gdb-patches mailing list