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] Fix watching structs in C++


Andreas Arnez <arnez@linux.vnet.ibm.com> writes:

Hi Andreas,

> Some of the watchpoint logic depends on the fact that the head of the
> value chain represents the user-specified value to watch.  Thus no
> additional values should be added to the value chain after that.  However,
> this may happen in gnuv3_rrti_type, where value_addr is invoked.  If no
> RTTI is found, then the pointer value built by value_addr, rather than the
> original value, stays in front of the value chain.

I sort of understand the value chain in watchpoint expressions, but it
is still a big gap from watchpoint value chain to the function you
changed in the patch.

Could you please add more information in commit log? especially about
how value chain is related to gnuv3_rrti_type.

-- 
Yao (齐尧)


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