public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/23888] ERROR: tcl error sourcing .../gdb.base/watchpoint-unaligned.exp.
       [not found] <bug-23888-4717@http.sourceware.org/bugzilla/>
@ 2022-07-28  9:34 ` vries at gcc dot gnu.org
  2022-07-28 10:10 ` vries at gcc dot gnu.org
  2022-08-04 17:55 ` vries at gcc dot gnu.org
  2 siblings, 0 replies; 3+ messages in thread
From: vries at gcc dot gnu.org @ 2022-07-28  9:34 UTC (permalink / raw)
  To: gdb-prs

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

Tom de Vries <vries at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vries at gcc dot gnu.org

--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
So, what presumably happens (can't tell because the interesting part of the
log, the bit leading to the error is not included) is that:
- skip_hw_watchpoint_tests returns 0 meaning hw watchpoints are supported
- gdb fails to set a hw watchpoint and instead sets a sw watchpoint

That particular situation is handled for arm:
...
    -re "Watchpoint (\[0-9\]+): .*\r\n$gdb_prompt $" {
        if {[istarget "arm*-*-*"]} {
            untested $test
            set wpnum 0
        }
    }
...
but not for any other target so wpnum remains "" and we run into the error
here:
...
if {$wpnum} {
...

Possibly this has been fixed for powerpc by commit 8d4e4d13afb ("gdb Power 9
add test for HW watchpoint support."), but not for any other targets.

-- 
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 testsuite/23888] ERROR: tcl error sourcing .../gdb.base/watchpoint-unaligned.exp.
       [not found] <bug-23888-4717@http.sourceware.org/bugzilla/>
  2022-07-28  9:34 ` [Bug testsuite/23888] ERROR: tcl error sourcing .../gdb.base/watchpoint-unaligned.exp vries at gcc dot gnu.org
@ 2022-07-28 10:10 ` vries at gcc dot gnu.org
  2022-08-04 17:55 ` vries at gcc dot gnu.org
  2 siblings, 0 replies; 3+ messages in thread
From: vries at gcc dot gnu.org @ 2022-07-28 10:10 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #2 from Tom de Vries <vries at gcc dot gnu.org> ---
https://sourceware.org/pipermail/gdb-patches/2022-July/191121.html

-- 
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 testsuite/23888] ERROR: tcl error sourcing .../gdb.base/watchpoint-unaligned.exp.
       [not found] <bug-23888-4717@http.sourceware.org/bugzilla/>
  2022-07-28  9:34 ` [Bug testsuite/23888] ERROR: tcl error sourcing .../gdb.base/watchpoint-unaligned.exp vries at gcc dot gnu.org
  2022-07-28 10:10 ` vries at gcc dot gnu.org
@ 2022-08-04 17:55 ` vries at gcc dot gnu.org
  2 siblings, 0 replies; 3+ messages in thread
From: vries at gcc dot gnu.org @ 2022-08-04 17:55 UTC (permalink / raw)
  To: gdb-prs

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

Tom de Vries <vries at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
   Target Milestone|---                         |13.1
             Status|NEW                         |RESOLVED

--- Comment #3 from Tom de Vries <vries at gcc dot gnu.org> ---
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=3c71833c67492ff23bf7f59b25720f06c5a4956f

-- 
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:[~2022-08-04 17:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-23888-4717@http.sourceware.org/bugzilla/>
2022-07-28  9:34 ` [Bug testsuite/23888] ERROR: tcl error sourcing .../gdb.base/watchpoint-unaligned.exp vries at gcc dot gnu.org
2022-07-28 10:10 ` vries at gcc dot gnu.org
2022-08-04 17:55 ` vries at gcc dot gnu.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).