public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/29177] New: [gdb, read1] FAIL: gdb.threads/manythreads.exp: stop threads 1
@ 2022-05-25  9:43 vries at gcc dot gnu.org
  2022-06-07 14:32 ` [Bug testsuite/29177] " vries at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: vries at gcc dot gnu.org @ 2022-05-25  9:43 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 29177
           Summary: [gdb, read1] FAIL: gdb.threads/manythreads.exp: stop
                    threads 1
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: testsuite
          Assignee: unassigned at sourceware dot org
          Reporter: vries at gcc dot gnu.org
  Target Milestone: ---

When running the test-case with check-read1, we run into:
...
[New Thread 0x7ffff7318700 (LWP 31125)]^M
[Thread 0x7ffff7321700 (LWP 31124) exited]^M
[New T^C^M
^M
Thread 769 "manythreads" received signal SIGINT, Interrupt.^M
[Switching to Thread 0x7ffff6d66700 (LWP 31287)]^M
0x00007ffff7586a81 in clone () from /lib64/libc.so.6^M
(gdb) FAIL: gdb.threads/manythreads.exp: stop threads 1
...

This regexp:
...
        -re "\\\[New \[^\]\]*\\\]\r\n" {
            exp_continue
        }   
...
swallows everything until a terminating ']', and consequently swallows the
"received signal SIGINT".

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

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

* [Bug testsuite/29177] [gdb, read1] FAIL: gdb.threads/manythreads.exp: stop threads 1
  2022-05-25  9:43 [Bug testsuite/29177] New: [gdb, read1] FAIL: gdb.threads/manythreads.exp: stop threads 1 vries at gcc dot gnu.org
@ 2022-06-07 14:32 ` vries at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: vries at gcc dot gnu.org @ 2022-06-07 14:32 UTC (permalink / raw)
  To: gdb-prs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |13.1
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=de15377594391aa201fba1ce7d8924274e10abbf

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

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

end of thread, other threads:[~2022-06-07 14:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-25  9:43 [Bug testsuite/29177] New: [gdb, read1] FAIL: gdb.threads/manythreads.exp: stop threads 1 vries at gcc dot gnu.org
2022-06-07 14:32 ` [Bug testsuite/29177] " vries at gcc dot gnu.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).