public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "vries at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org> To: gdb-prs@sourceware.org Subject: [Bug gdb/30562] [gdb] FAIL: gdb.threads/watchthreads2.exp: watch x Date: Wed, 21 Jun 2023 07:00:17 +0000 [thread overview] Message-ID: <bug-30562-4717-5zvebErLsy@http.sourceware.org/bugzilla/> (raw) In-Reply-To: <bug-30562-4717@http.sourceware.org/bugzilla/> https://sourceware.org/bugzilla/show_bug.cgi?id=30562 --- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> --- Fixed by: ... diff --git a/gdb/arm-linux-nat.c b/gdb/arm-linux-nat.c index ef3fa008adf..5f0cafdae50 100644 --- a/gdb/arm-linux-nat.c +++ b/gdb/arm-linux-nat.c @@ -608,6 +608,8 @@ arm_linux_get_hwbp_cap (void) int tid; unsigned int val; + if (inferior_ptid == null_ptid) + return nullptr; tid = inferior_ptid.lwp (); if (ptrace (PTRACE_GETHBPREGS, tid, 0, &val) < 0) available = 0; ... -- You are receiving this mail because: You are on the CC list for the bug.
next prev parent reply other threads:[~2023-06-21 7:00 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-06-18 9:38 [Bug gdb/30562] New: " vries at gcc dot gnu.org 2023-06-21 7:00 ` vries at gcc dot gnu.org [this message] 2023-06-21 7:00 ` [Bug tdep/30562] " vries at gcc dot gnu.org 2023-06-23 9:46 ` luis.machado at arm dot com 2023-06-23 9:47 ` luis.machado at arm dot com 2023-06-23 9:48 ` 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-30562-4717-5zvebErLsy@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).