public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* How to show the commands taken from stdin?
@ 2021-01-28 17:32 Peng Yu
  0 siblings, 0 replies; only message in thread
From: Peng Yu @ 2021-01-28 17:32 UTC (permalink / raw)
  To: gdb

Hi,

The screen output does not contain the command 'echo Hello World!'. Is
there a way to show the original command along with the command output
(the commands must be taken from stdin)? (Just like the effect of `set
-v` in bash.)

$ gdb -q <<< 'echo Hello World!'
(gdb) Hello World!(gdb) quit

-- 
Regards,
Peng

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-01-28 17:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-28 17:32 How to show the commands taken from stdin? Peng Yu

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