This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]