public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "kevinb at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug server/30387] gdbserver assert error on arm platform
Date: Fri, 11 Aug 2023 17:33:27 +0000	[thread overview]
Message-ID: <bug-30387-4717-iImowy528u@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-30387-4717@http.sourceware.org/bugzilla/>

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

--- Comment #22 from Kevin Buettner <kevinb at redhat dot com> ---
(In reply to Luis Machado from comment #21)

Hi Luis,

Regarding the length of time that it takes to run this test case: 
I've seen some instances where it took in excess of 100 iterations to
observe the software single-step related failure.  The number of
iterations is currently set to 200, but we might drop it to 150, which
should decrease the time needed to run the test by about 25%.  We
could also eliminate one or more of the outer loops, but this would
decrease coverage of (e.g.) the target-non-stop=on case.  Doing so,
however, would likely eliminate the (other) failures that you've
observed.

Regarding whether or not to run the test for native targets: It
is true that this test was written after finding a bug in the software
single-step related code in gdbserver.  However, it seems to me that
it'd be possible to introduce code causing buggy behavior for native
gdb, whether it requires software single-step or not.  Therefore, I'd
prefer to run it for all targets.

Regarding unexpected failures for a patched gdbserver:  I see these
too, and do not know why they occur.  I've only seen them for the
"target-non-stop=on" case(s), and they do seem to be somewhat racy in
nature.  I recall one test run where there were no failures, but I
usually see 2 when testing on a Raspberry Pi.  I think it's likely
that there's another bug that needs fixing.  We could setup a KFAIL
for that particular case.  Or, if we were to eliminate testing
target-non-stop=on, those failures would also go away.  (I didn't
set up a KFAIL for it because leaving them as FAIL means that someone
is more likely to try to fix the bug...)

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

  parent reply	other threads:[~2023-08-11 17:33 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-25  6:43 [Bug gdb/30387] New: " 2982971635 at qq dot com
2023-04-25  6:54 ` [Bug gdb/30387] " 2982971635 at qq dot com
2023-04-25  6:55 ` 2982971635 at qq dot com
2023-04-25  7:01 ` 2982971635 at qq dot com
2023-04-25  7:02 ` 2982971635 at qq dot com
2023-05-02  7:11 ` luis.machado at arm dot com
2023-05-02 14:17 ` [Bug server/30387] " luis.machado at arm dot com
2023-05-04  9:17 ` 2982971635 at qq dot com
2023-05-04 10:45 ` luis.machado at arm dot com
2023-05-05  2:20 ` 2982971635 at qq dot com
2023-05-05  2:22 ` 2982971635 at qq dot com
2023-05-10  7:41 ` 2982971635 at qq dot com
2023-05-10  7:52 ` luis.machado at arm dot com
2023-05-10  7:52 ` luis.machado at arm dot com
2023-05-10  9:16 ` 2982971635 at qq dot com
2023-05-11  1:56 ` simon.marchi at polymtl dot ca
2023-05-11  2:50 ` 2982971635 at qq dot com
2023-06-07 10:24 ` 2982971635 at qq dot com
2023-07-05 14:25 ` brobecker at gnat dot com
2023-07-05 14:33 ` luis.machado at arm dot com
2023-07-05 15:21 ` brobecker at gnat dot com
2023-08-08  2:59 ` kevinb at redhat dot com
2023-08-11 16:45 ` luis.machado at arm dot com
2023-08-11 17:33 ` kevinb at redhat dot com [this message]
2023-08-11 17:59 ` luis.machado at arm dot com
2023-08-12  2:38 ` kevinb at redhat dot com
2023-08-12  3:54 ` cvs-commit at gcc dot gnu.org
2023-08-12  4:02 ` kevinb at redhat dot com

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-30387-4717-iImowy528u@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: 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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).