hi,
i want to put the following line in the form of a single user defined gdb command
could any one tell me how to do this , how to put these commands in file where to
save that file and how can i access these lines in a single user defined coommand
thanks
(gdb) set $i=50
(gdb) while ($i!=0)
> print ((struct node *) &SS[$i-1])->name
> set $i=$i-1
>end