How to show the commands taken from stdin?

Peng Yu via Gdb <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <CABrM6wkrHSAS4FGX1+p7KHRb9KPL7auo27UaHcoW6r2BjnNiig@mail.gmail.com>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.