This is the mail archive of the gdb-prs@sources.redhat.com 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]

gdb/737: TARGET_REGION_OK_FOR_HW_WATCHPOINT in target vector?


>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:


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