public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug tui/28245] New: Indicate SHELL environment variable actually matters
@ 2021-08-19  6:38 mmyangfl at gmail dot com
  2021-08-19  7:25 ` [Bug gdb/28245] " mmyangfl at gmail dot com
  0 siblings, 1 reply; 2+ messages in thread
From: mmyangfl at gmail dot com @ 2021-08-19  6:38 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 28245
           Summary: Indicate SHELL environment variable actually matters
           Product: gdb
           Version: 10.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: tui
          Assignee: unassigned at sourceware dot org
          Reporter: mmyangfl at gmail dot com
  Target Milestone: ---

gdb silently use SHELL env to start target program, and if SHELL is modified
somewhere, it's hard to tell why gdb fails. For (an oversimplified) example,
run `SHELL=./a.out gdb a.out` results in

(gdb) start
Temporary breakpoint 1 at 0x1129
Starting program: /home/test/a.out 
During startup program exited normally.

This issue is similar to #16367, but even harder to identify since it gives no
clue that instead of exec(/home/test/a.out), the actual program to start is
`$SHELL -c exec /home/test/a.out`.

-- 
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 gdb/28245] Indicate SHELL environment variable actually matters
  2021-08-19  6:38 [Bug tui/28245] New: Indicate SHELL environment variable actually matters mmyangfl at gmail dot com
@ 2021-08-19  7:25 ` mmyangfl at gmail dot com
  0 siblings, 0 replies; 2+ messages in thread
From: mmyangfl at gmail dot com @ 2021-08-19  7:25 UTC (permalink / raw)
  To: gdb-prs

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

mmyangfl at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|tui                         |gdb

-- 
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:[~2021-08-19  7:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-19  6:38 [Bug tui/28245] New: Indicate SHELL environment variable actually matters mmyangfl at gmail dot com
2021-08-19  7:25 ` [Bug gdb/28245] " mmyangfl at gmail dot com

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