Hmmm, that’s really unusual.
Whenever I’ve compiled C programs and debugged them in gdb or cgdb, I only see the source code for my files. And sometimes I’ll see assembly if step inside a call to something in a library that I don’t have the debugging symbols for.
What parameters are you passing to gdb/cgdb when you start them?