I'm still having trouble with the fseek function. I don't know if there is a way that I can get at that information in GDB.