Files
binutils-gdb/gdb/testsuite/gdb.threads
Tom de Vries 3d053417ea [gdb/testsuite] Handle output after prompt in gdb.threads/step-N-all-progress.exp
Using "taskset -c 0" I run into this timeout:
...
(gdb) PASS: gdb.threads/step-N-all-progress.exp: non-stop=on: \
  target-non-stop=on: continue to breakpoint: break here
next 3^M
[New Thread 0x7ffff7dbd6c0 (LWP 10202)]^M
50        return 0;^M
(gdb) [Thread 0x7ffff7dbd6c0 (LWP 10202) exited]^M
FAIL: gdb.threads/step-N-all-progress.exp: non-stop=on: target-non-stop=on: \
  next 3 (timeout)
...

The problem is that this test:
...
    gdb_test "next 3" "return 0;"
...
expects no output after the prompt.

Fix this by using -no-prompt-anchor.

Tested on x86_64-linux.
2023-06-07 11:36:19 +02:00
..
2023-01-13 13:18:56 -07:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-06-03 22:43:57 +02:00