From: Kevin Buettner <kevinb@redhat.com>
To: Pedro Alves <pedro@palves.net>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH] Adjust gdb.arch/amd64-watchpoint-downgrade.exp for Cygwin
Date: Fri, 6 Jun 2025 10:29:08 -0700 [thread overview]
Message-ID: <20250606102908.5523c841@f41-zbm-amd> (raw)
In-Reply-To: <20250606165930.970618-1-pedro@palves.net>
On Fri, 6 Jun 2025 17:59:30 +0100
Pedro Alves <pedro@palves.net> wrote:
> The gdb.arch/amd64-watchpoint-downgrade.exp testcase is assuming the
> output of debugging a single-thread program, like so, on e.g.,
> GNU/Linux:
>
> starti
> Starting program: .../gdb.arch/amd64-watchpoint-downgrade/amd64-watchpoint-downgrade
> warning: watchpoint 1 downgraded to software watchpoint
>
> Program stopped.
> 0x00007ffff7fe32b0 in _start () from /lib64/ld-linux-x86-64.so.2
>
> However, on Cygwin, where all inferiors are multi-threaded (because
> both Windows and the Cygwin runtime spawn a few helper threads), we
> get:
>
> starti
> Starting program: .../gdb.arch/amd64-watchpoint-downgrade/amd64-watchpoint-downgrade
> [New Thread 4652.0x17e4]
> warning: watchpoint 1 downgraded to software watchpoint
>
> Thread 1 stopped.
> 0x00007ffbfc1c0911 in ntdll!LdrInitShimEngineDynamic () from C:/Windows/SYSTEM32/ntdll.dll
>
> This commit adjusts the testcase to work with either output.
Approved-by: Kevin Buettner <kevinb@redhat.com>
next prev parent reply other threads:[~2025-06-06 17:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-06 16:59 Pedro Alves
2025-06-06 17:29 ` Kevin Buettner [this message]
2025-06-09 16:43 ` Pedro Alves
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=20250606102908.5523c841@f41-zbm-amd \
--to=kevinb@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=pedro@palves.net \
/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: link
Be 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