This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
gdb/737: TARGET_REGION_OK_FOR_HW_WATCHPOINT in target vector?
- From: ac131313 at redhat dot com
- To: gdb-gnats at sources dot redhat dot com
- Date: 27 Sep 2002 17:45:02 -0000
- Subject: gdb/737: TARGET_REGION_OK_FOR_HW_WATCHPOINT in target vector?
- Reply-to: ac131313 at redhat dot com
>Number: 737
>Category: gdb
>Synopsis: TARGET_REGION_OK_FOR_HW_WATCHPOINT in target vector?
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Fri Sep 27 10:48:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: ac131313@redhat.com
>Release: unknown-1.0
>Organization:
>Environment:
>Description:
See:
http://sources.redhat.com/ml/gdb/2002-09/msg00299.html
Hello,
The macro TARGET_REGION_OK_FOR_HW_WATCHPOINT() needs to be moved to the target vector.
As part of this, I'd like to propose that its behavour be modified slightly. Instead of returning non-zero to indicate that the vaddr:len is ok, it return the number of h/w watchpoint resources that are needed to watch vaddr:len.
Thoughts?
Andrew
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: