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] Forbid watchpoint on a constant value


>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:

Jan> The former comment was vague enough I agreed with it.  But the new one is
Jan> explicit enough to be unfortunately IMO incorrect.

Jan>   Return non-zero if EXP is verified as constant.  Returned zero
Jan>   means EXP is variable.  Also the constant detection may fail for
Jan>   some constant expressions and in such case still falsely return
Jan>   zero.

Jan> OK this way?

Sure.

Tom


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