public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/30677] New: [native-gdbserver] FAIL: gdb.python/py-thread-exited.exp: python print(threadOneExit)
@ 2023-07-24 16:08 simon.marchi at polymtl dot ca
  2023-07-24 16:09 ` [Bug gdb/30677] " simon.marchi at polymtl dot ca
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: simon.marchi at polymtl dot ca @ 2023-07-24 16:08 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 30677
           Summary: [native-gdbserver] FAIL:
                    gdb.python/py-thread-exited.exp: python
                    print(threadOneExit)
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: simon.marchi at polymtl dot ca
  Target Milestone: ---

$ make check TESTS="gdb.python/py-thread-exited.exp"
RUNTESTFLAGS="--target_board=native-gdbserver"
FAIL: gdb.python/py-thread-exited.exp: python print(threadOneExit)
FAIL: gdb.python/py-thread-exited.exp: python print(threadTwoExit)

Fails with native-extended-gdbserver too.

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug gdb/30677] [native-gdbserver] FAIL: gdb.python/py-thread-exited.exp: python print(threadOneExit)
  2023-07-24 16:08 [Bug gdb/30677] New: [native-gdbserver] FAIL: gdb.python/py-thread-exited.exp: python print(threadOneExit) simon.marchi at polymtl dot ca
@ 2023-07-24 16:09 ` simon.marchi at polymtl dot ca
  2023-07-24 16:09 ` simon.marchi at polymtl dot ca
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: simon.marchi at polymtl dot ca @ 2023-07-24 16:09 UTC (permalink / raw)
  To: gdb-prs

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

Simon Marchi <simon.marchi at polymtl dot ca> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |simon.farre.cx at gmail dot com

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug gdb/30677] [native-gdbserver] FAIL: gdb.python/py-thread-exited.exp: python print(threadOneExit)
  2023-07-24 16:08 [Bug gdb/30677] New: [native-gdbserver] FAIL: gdb.python/py-thread-exited.exp: python print(threadOneExit) simon.marchi at polymtl dot ca
  2023-07-24 16:09 ` [Bug gdb/30677] " simon.marchi at polymtl dot ca
@ 2023-07-24 16:09 ` simon.marchi at polymtl dot ca
  2023-07-31 17:29 ` tromey at sourceware dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: simon.marchi at polymtl dot ca @ 2023-07-24 16:09 UTC (permalink / raw)
  To: gdb-prs

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

Simon Marchi <simon.marchi at polymtl dot ca> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |14.1

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug gdb/30677] [native-gdbserver] FAIL: gdb.python/py-thread-exited.exp: python print(threadOneExit)
  2023-07-24 16:08 [Bug gdb/30677] New: [native-gdbserver] FAIL: gdb.python/py-thread-exited.exp: python print(threadOneExit) simon.marchi at polymtl dot ca
  2023-07-24 16:09 ` [Bug gdb/30677] " simon.marchi at polymtl dot ca
  2023-07-24 16:09 ` simon.marchi at polymtl dot ca
@ 2023-07-31 17:29 ` tromey at sourceware dot org
  2023-07-31 17:33 ` tromey at sourceware dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: tromey at sourceware dot org @ 2023-07-31 17:29 UTC (permalink / raw)
  To: gdb-prs

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

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at sourceware dot org   |tromey at sourceware dot org
                 CC|                            |tromey at sourceware dot org

--- Comment #1 from Tom Tromey <tromey at sourceware dot org> ---
I have a patch for the test case.

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug gdb/30677] [native-gdbserver] FAIL: gdb.python/py-thread-exited.exp: python print(threadOneExit)
  2023-07-24 16:08 [Bug gdb/30677] New: [native-gdbserver] FAIL: gdb.python/py-thread-exited.exp: python print(threadOneExit) simon.marchi at polymtl dot ca
                   ` (2 preceding siblings ...)
  2023-07-31 17:29 ` tromey at sourceware dot org
@ 2023-07-31 17:33 ` tromey at sourceware dot org
  2023-08-10 17:47 ` cvs-commit at gcc dot gnu.org
  2023-08-10 17:47 ` tromey at sourceware dot org
  5 siblings, 0 replies; 7+ messages in thread
From: tromey at sourceware dot org @ 2023-07-31 17:33 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #2 from Tom Tromey <tromey at sourceware dot org> ---
https://sourceware.org/pipermail/gdb-patches/2023-July/201247.html

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug gdb/30677] [native-gdbserver] FAIL: gdb.python/py-thread-exited.exp: python print(threadOneExit)
  2023-07-24 16:08 [Bug gdb/30677] New: [native-gdbserver] FAIL: gdb.python/py-thread-exited.exp: python print(threadOneExit) simon.marchi at polymtl dot ca
                   ` (3 preceding siblings ...)
  2023-07-31 17:33 ` tromey at sourceware dot org
@ 2023-08-10 17:47 ` cvs-commit at gcc dot gnu.org
  2023-08-10 17:47 ` tromey at sourceware dot org
  5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-08-10 17:47 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tom Tromey <tromey@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=78e7f66e75f93d49a7accf3a7552b2378533b52b

commit 78e7f66e75f93d49a7accf3a7552b2378533b52b
Author: Tom Tromey <tromey@adacore.com>
Date:   Mon Jul 31 11:30:30 2023 -0600

    Change py-thread-exited.exp to work with gdbserver

    gdbserver does not notify gdb of new threads when they are created.
    I'm not sure if this is documented anywhere, but it is mentioned on
    this page:

    https://sourceware.org/gdb/wiki/LocalRemoteFeatureParity

    Search for "Finding new threads in the inferior".

    This behavior is a bit unfortunate -- I would think that it would be
    better to arrange for such notification if something on the gdb side
    is interested.

    Meanwhile, this patch fixes py-thread-exited.exp to work around this
    problem.

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

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug gdb/30677] [native-gdbserver] FAIL: gdb.python/py-thread-exited.exp: python print(threadOneExit)
  2023-07-24 16:08 [Bug gdb/30677] New: [native-gdbserver] FAIL: gdb.python/py-thread-exited.exp: python print(threadOneExit) simon.marchi at polymtl dot ca
                   ` (4 preceding siblings ...)
  2023-08-10 17:47 ` cvs-commit at gcc dot gnu.org
@ 2023-08-10 17:47 ` tromey at sourceware dot org
  5 siblings, 0 replies; 7+ messages in thread
From: tromey at sourceware dot org @ 2023-08-10 17:47 UTC (permalink / raw)
  To: gdb-prs

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

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #4 from Tom Tromey <tromey at sourceware dot org> ---
Fixed.

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-08-10 17:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-24 16:08 [Bug gdb/30677] New: [native-gdbserver] FAIL: gdb.python/py-thread-exited.exp: python print(threadOneExit) simon.marchi at polymtl dot ca
2023-07-24 16:09 ` [Bug gdb/30677] " simon.marchi at polymtl dot ca
2023-07-24 16:09 ` simon.marchi at polymtl dot ca
2023-07-31 17:29 ` tromey at sourceware dot org
2023-07-31 17:33 ` tromey at sourceware dot org
2023-08-10 17:47 ` cvs-commit at gcc dot gnu.org
2023-08-10 17:47 ` tromey at sourceware dot org

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).