public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "tromey at sourceware dot org" <sourceware-bugzilla@sourceware.org> To: gdb-prs@sourceware.org Subject: [Bug tdep/29423] [gdb, tdep/aarch64] FAIL: gdb.base/watchpoint-unaligned.exp: continue (timeout) Date: Wed, 12 Apr 2023 17:12:38 +0000 [thread overview] Message-ID: <bug-29423-4717-gvFv8Sa8ik@http.sourceware.org/bugzilla/> (raw) In-Reply-To: <bug-29423-4717@http.sourceware.org/bugzilla/> https://sourceware.org/bugzilla/show_bug.cgi?id=29423 Tom Tromey <tromey at sourceware dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tromey at sourceware dot org --- Comment #20 from Tom Tromey <tromey at sourceware dot org> --- I found another way to see watchpoint problems on aarch64. Edit testsuite/gdb.ada/task_watch.exp and change the final breakpoint to a plain continue: diff --git a/gdb/testsuite/gdb.ada/task_watch.exp b/gdb/testsuite/gdb.ada/task_watch.exp index 0641008fb51..fedcf5073dc 100644 --- a/gdb/testsuite/gdb.ada/task_watch.exp +++ b/gdb/testsuite/gdb.ada/task_watch.exp @@ -80,6 +80,7 @@ gdb_test "info tasks" \ # Now, resume the execution and make sure that GDB does not stop when # task 4 hits the watchpoint. Continuing thus results in our program # running to completion. -set bp_location [gdb_get_line_number "STOP_HERE_2" ${testdir}/foo.adb] -gdb_breakpoint foo.adb:$bp_location -gdb_continue_to_breakpoint second ".*foo.adb:$bp_location.*null; -- STOP_HERE_2" +# set bp_location [gdb_get_line_number "STOP_HERE_2" ${testdir}/foo.adb] +# gdb_breakpoint foo.adb:$bp_location +# gdb_continue_to_breakpoint second ".*foo.adb:$bp_location.*null; -- STOP_HERE_2" +gdb_test "continue" Now run the test. I get: continue Continuing. [Thread 0xfffff7e031d0 (LWP 104664) exited] [Thread 0xfffff79f11d0 (LWP 104666) exited] [Thread 0xfffff7bfa1d0 (LWP 104665) exited] FAIL: gdb.ada/task_watch.exp: continue (timeout) I think this is hitting the watchpoint but then getting confused. I haven't really debugged any further. -- You are receiving this mail because: You are on the CC list for the bug.
next prev parent reply other threads:[~2023-04-12 17:12 UTC|newest] Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-07-28 11:39 [Bug tdep/29423] New: " vries at gcc dot gnu.org 2022-07-28 11:39 ` [Bug tdep/29423] " vries at gcc dot gnu.org 2022-07-28 11:50 ` vries at gcc dot gnu.org 2022-07-28 12:24 ` vries at gcc dot gnu.org 2022-07-28 12:36 ` luis.machado at arm dot com 2022-07-28 12:41 ` vries at gcc dot gnu.org 2022-07-28 12:47 ` luis.machado at arm dot com 2022-07-28 14:15 ` vries at gcc dot gnu.org 2022-07-28 15:25 ` vries at gcc dot gnu.org 2022-07-28 15:26 ` vries at gcc dot gnu.org 2022-07-29 14:23 ` vries at gcc dot gnu.org 2023-04-11 16:51 ` ahajkova at redhat dot com 2023-04-11 16:52 ` ahajkova at redhat dot com 2023-04-11 22:07 ` luis.machado at arm dot com 2023-04-12 7:51 ` ahajkova at redhat dot com 2023-04-12 8:27 ` luis.machado at arm dot com 2023-04-12 8:27 ` luis.machado at arm dot com 2023-04-12 8:31 ` luis.machado at arm dot com 2023-04-12 12:55 ` ahajkova at redhat dot com 2023-04-12 13:12 ` luis.machado at arm dot com 2023-04-12 13:54 ` luis.machado at arm dot com 2023-04-12 17:12 ` tromey at sourceware dot org [this message] 2023-04-12 17:54 ` luis.machado at arm dot com 2023-04-12 20:59 ` ahajkova at redhat dot com 2024-01-05 15:08 ` vries at gcc dot gnu.org 2024-02-20 20:55 ` vries at gcc dot gnu.org 2024-03-14 10:24 ` cvs-commit at gcc dot gnu.org 2024-03-14 10:26 ` vries at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-29423-4717-gvFv8Sa8ik@http.sourceware.org/bugzilla/ \ --to=sourceware-bugzilla@sourceware.org \ --cc=gdb-prs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).