public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug breakpoints/23131] XFAIL watchpoint tracker for powerpc
       [not found] <bug-23131-4717@http.sourceware.org/bugzilla/>
@ 2020-05-25 18:35 ` luis.machado at linaro dot org
  2020-05-25 18:47 ` jan.kratochvil at redhat dot com
  2020-05-25 18:53 ` luis.machado at linaro dot org
  2 siblings, 0 replies; 3+ messages in thread
From: luis.machado at linaro dot org @ 2020-05-25 18:35 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=23131

Luis Machado <luis.machado at linaro dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |luis.machado at linaro dot org

--- Comment #2 from Luis Machado <luis.machado at linaro dot org> ---
Is there more background to this? I see some tests consider the outlier
architectures to be broken (as in we get FAIL's/XFAIL's in the testsuite).

I see many failures in gdb.base/watchpoint-unaligned.exp that are due to read
watchpoints not being supported on a particular target.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug breakpoints/23131] XFAIL watchpoint tracker for powerpc
       [not found] <bug-23131-4717@http.sourceware.org/bugzilla/>
  2020-05-25 18:35 ` [Bug breakpoints/23131] XFAIL watchpoint tracker for powerpc luis.machado at linaro dot org
@ 2020-05-25 18:47 ` jan.kratochvil at redhat dot com
  2020-05-25 18:53 ` luis.machado at linaro dot org
  2 siblings, 0 replies; 3+ messages in thread
From: jan.kratochvil at redhat dot com @ 2020-05-25 18:47 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=23131

--- Comment #3 from Jan Kratochvil <jan.kratochvil at redhat dot com> ---
(In reply to Luis Machado from comment #2)
> Is there more background to this?

IIRC it tests there are no false positives (catching accesses outside of the
watched area but still inside an align-extended area - that was probably the
case of PowerPC) and no false negatives (unreported=missed access inside the
watched area). Not sure what more background you mean. I also no longer
remember it much, I would have to read it again myself.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug breakpoints/23131] XFAIL watchpoint tracker for powerpc
       [not found] <bug-23131-4717@http.sourceware.org/bugzilla/>
  2020-05-25 18:35 ` [Bug breakpoints/23131] XFAIL watchpoint tracker for powerpc luis.machado at linaro dot org
  2020-05-25 18:47 ` jan.kratochvil at redhat dot com
@ 2020-05-25 18:53 ` luis.machado at linaro dot org
  2 siblings, 0 replies; 3+ messages in thread
From: luis.machado at linaro dot org @ 2020-05-25 18:53 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=23131

--- Comment #4 from Luis Machado <luis.machado at linaro dot org> ---
(In reply to Jan Kratochvil from comment #3)
> (In reply to Luis Machado from comment #2)
> > Is there more background to this?
> 
> IIRC it tests there are no false positives (catching accesses outside of the
> watched area but still inside an align-extended area - that was probably the
> case of PowerPC) and no false negatives (unreported=missed access inside the
> watched area). Not sure what more background you mean. I also no longer
> remember it much, I would have to read it again myself.

Thanks. That's useful. I have a particular ARM32 target whose kernel advertises
hardware watchpoints but can't use those in practice. Therefore the static
"skip_hw_watchpoint_tests" is not enough, and we need to test support
dynamically right before insertion.

That particular test seems to rely on hardware read watchpoints, so I'm
guessing it would make sense for this particular ARM32 target to skip those
sections completely.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-05-25 18:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-23131-4717@http.sourceware.org/bugzilla/>
2020-05-25 18:35 ` [Bug breakpoints/23131] XFAIL watchpoint tracker for powerpc luis.machado at linaro dot org
2020-05-25 18:47 ` jan.kratochvil at redhat dot com
2020-05-25 18:53 ` luis.machado at linaro dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).