./randGen 42 1000 | head -1000 > rand.data
to get 1000 lines of random data, and then in gdb:
(gdb) run 4 50 2 < rand.data
to pipe the data in. Gdb doesn't allow pipes, but
it does allow redirection like this.
randGen.pl 43 1000 | kd 3 64 10