gdb/244: RFE: Can't refer to previous watchpoint value in condition

aoliva@redhat.com aoliva@redhat.com
Fri Oct 5 08:28:00 GMT 2001


>Number:         244
>Category:       gdb
>Synopsis:       RFE: Can't refer to previous watchpoint value in condition
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 16 19:38:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     aoliva@redhat.com
>Release:        unknown-1.0
>Organization:
>Environment:

>Description:
It woudl be very nice if we could reference the current and previous values of a watchpoint in the watchpoint condition.  Say:

watch *bitmask_ptr
cond # ($ ^ $$) & 1

this would only stop if bit 0 changed in the bitmask.
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gdb-prs mailing list