This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] eval.c: Fix HP merge botch with set overload off
On Fri, Mar 15, 2002 at 11:42:20AM +0100, Peter.Schauer wrote:
> For some unknown reason, the adjustment of the ``this'' pointer after
> method resolution via value_struct_elt was zapped during the HP merge.
> Putting it back yields identical results from virtfunc.exp, with or without
> overload resolution. In addition, the initial setup of the ``this'' pointer
> for method resolution was broken during the merge. It had no effect though,
> as the method resolution functions are only interested in the type of
> the ``this'' pointer, and don't care about the real value.
>
> 2002-03-15 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
>
> * eval.c (evaluate_subexp_standard): Fix setup of ``this'' pointer
> for method resolution. Restore adjustment of ``this'' pointer after
> calling value_struct_elt, which was accidentally removed during the
> HP merge.
Approved, please commit this. Thanks!
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer