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/31440] [gdb] FAIL: gdb.python/py-progspace-events.exp: inferior 1 (timeout)
Date: Mon, 04 Mar 2024 08:25:53 +0000	[thread overview]
Message-ID: <bug-31440-4717-tZVAOSj4Mt@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-31440-4717@http.sourceware.org/bugzilla/>

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[gdb/testsuite] FAIL:       |[gdb] FAIL:
                   |gdb.python/py-progspace-eve |gdb.python/py-progspace-eve
                   |nts.exp: inferior 1         |nts.exp: inferior 1
                   |(timeout)                   |(timeout)
          Component|testsuite                   |gdb

--- Comment #2 from Tom de Vries <vries at gcc dot gnu.org> ---
Hmm, the test-case says:
...
# Switch to inferior 2 and continue until we hit breakpt.                       
gdb_test "inferior 2" "\\\[Switching to inferior 2 .*"
gdb_continue_to_breakpoint "run to breakpt in inferior 2"

# Let inferior 2 exit.  The new program space is not removed at this            
# point.                                                                        
gdb_test "continue" \
    [multi_line \
         "^Continuing\\." \
         "\\\[Inferior $decimal \[^\r\n\]+ exited normally\\\]"] \
    "continue until inferior 2 exits"

gdb_test "inferior 1" "\\\[Switching to inferior 1 .*"

# Step the inferior.  During this process GDB will prune the now                
# defunct inferior, which deletes its program space, which should               
# trigger the FreeProgspaceEvent.                                               
...

So, it explicitly states that the FreeProgspaceEvent should not happen until
after the step is issued.

At this point I'm not sure if this is indeed a test-case issue.

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

  parent reply	other threads:[~2024-03-04  8:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-02  7:14 [Bug testsuite/31440] New: [gdb/testsuite] " vries at gcc dot gnu.org
2024-03-03 11:40 ` [Bug testsuite/31440] " vries at gcc dot gnu.org
2024-03-04  8:25 ` vries at gcc dot gnu.org [this message]
2024-03-04  8:58 ` [Bug gdb/31440] [gdb] " vries at gcc dot gnu.org
2024-03-04  9:31 ` vries at gcc dot gnu.org
2024-03-04 10:54 ` vries at gcc dot gnu.org
2024-03-04 10:58 ` vries at gcc dot gnu.org
2024-03-04 12:21 ` 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-31440-4717-tZVAOSj4Mt@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).