E
equinox
Okay, I am really new to this gdb issue.. my program usually takes an
argument from stdin.. the program name is
test.. so this is how I normally execute it without using gdb:
test < file.c
now I want to be able to run that test program under gdb as I see this
segmentation fault which I can't trace... can anyone show me how to do
that? I am quite new to this gdb issues.. What I am confused mainly is
that how do I instruct gdb to read from a stdin, in other words in my
example above.. how do I set it so that it takes file.c from stdin??
argument from stdin.. the program name is
test.. so this is how I normally execute it without using gdb:
test < file.c
now I want to be able to run that test program under gdb as I see this
segmentation fault which I can't trace... can anyone show me how to do
that? I am quite new to this gdb issues.. What I am confused mainly is
that how do I instruct gdb to read from a stdin, in other words in my
example above.. how do I set it so that it takes file.c from stdin??