Hi, i'm trying to debug a program that I run with a command
cat 1.txt - | ./game
And I'm not sure how to start gdb
with that command. I've seen answers to how to pipe to gdb
, but it doesn't seem to work when I first want to pipe the file content but then use standard input (this is what the dash stands for). Can anyone help?