Bug 7349 - RFE: Can't refer to previous watchpoint value in condition
Summary: RFE: Can't refer to previous watchpoint value in condition
Status: ASSIGNED
Alias: None
Product: gdb
Classification: Unclassified
Component: breakpoints (show other bugs)
Version: unknown
: P3 enhancement
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
: 29480 (view as bug list)
Depends on:
Blocks:
 
Reported: 2001-11-16 19:38 UTC by Alex Oliva
Modified: 2024-07-31 10:24 UTC (History)
5 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Oliva 2001-11-17 03:38:01 UTC
[Converted from Gnats 244]

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.

Release:
unknown
Comment 2 Tom de Vries 2024-07-31 10:24:41 UTC
*** Bug 29480 has been marked as a duplicate of this bug. ***