This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: A quick question..
Ish Rattan <ishwar@pali.cps.cmich.edu> writes:
> Hello,
>
> Sorry to clutter the group. Is there a way a way to connect
> gdb session of a prgram (being debugged) to accept input from
> stdin/input-file?
$ gdb a.out
(gdb) run < file
You may get better answers to further gdb questions on the gdb mailing
lists.
http://www.gnu.org/directory/devel/debug/gdb.html
HTH,
--
Ricardo Anguiano
CodeSourcery, LLC