From https://idlebox.net/2010/apidocs/gdb-7.0.zip/gdb_9.html
The values of arguments that were not saved in their stack frames are shown as `value optimized out'.
Im guessing you compiled with -O(somevalue) and are accessing variables a,b,c in a function where optimization has occurred.