If you were doing it from a shell you’d do it like this:
% gdb myprogram
gdb> run params ... < input.txt
This seems to work within emacs too.
If you were doing it from a shell you’d do it like this:
% gdb myprogram
gdb> run params ... < input.txt
This seems to work within emacs too.