public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug server/28446] New: [native-extended-gdbserver] FAIL: gdb.base/a2-run.exp: run "a2-run" with shell (timeout)
@ 2021-10-12 15:58 vries at gcc dot gnu.org
  2021-10-12 16:02 ` [Bug server/28446] " vries at gcc dot gnu.org
  2021-10-13  6:48 ` m.weghorn at posteo dot de
  0 siblings, 2 replies; 3+ messages in thread
From: vries at gcc dot gnu.org @ 2021-10-12 15:58 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 28446
           Summary: [native-extended-gdbserver] FAIL: gdb.base/a2-run.exp:
                    run "a2-run" with shell (timeout)
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: server
          Assignee: unassigned at sourceware dot org
          Reporter: vries at gcc dot gnu.org
  Target Milestone: ---

When running test-case gdb.base/a2-run.exp with target board
native-extended-gdbserver I run into:
...
(gdb) PASS: gdb.base/a2-run.exp: run "a2-run" again after setting args
run `echo 8`^M
^M
Child exited with status 0^M
Starting program:
/home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/a2-run/a2-run
`echo 8`^M
Process
/home/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/a2-run/a2-run
created; pid = 18231^M
usage:  factorial <number>^M
^M
Child exited with status 1^M
[Inferior 1 (process 18231) exited with code 01]^M
(gdb) FAIL: gdb.base/a2-run.exp: run "a2-run" with shell (timeout)
...

This is a regression since commit bea571ebd78 "Use construct_inferior_arguments
which handles special chars".

The commit adds escapes to the backticks, which then no longer are interpreted
by the shell.

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

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

end of thread, other threads:[~2021-10-13  6:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-12 15:58 [Bug server/28446] New: [native-extended-gdbserver] FAIL: gdb.base/a2-run.exp: run "a2-run" with shell (timeout) vries at gcc dot gnu.org
2021-10-12 16:02 ` [Bug server/28446] " vries at gcc dot gnu.org
2021-10-13  6:48 ` m.weghorn at posteo dot de

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