This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
gdb/244: RFE: Can't refer to previous watchpoint value in condition
- From: aoliva at redhat dot com
- To: gdb-gnats at sources dot redhat dot com
- Date: 17 Nov 2001 03:35:06 -0000
- Subject: gdb/244: RFE: Can't refer to previous watchpoint value in condition
- Reply-to: aoliva at redhat dot com
>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: