title: GDB not finding symbol table
body: <p>I cannot determine the reason that gdb is either not finding the proper debugging symbols or they are not being generated by my makefile.  I have added and removed various flags such as -g, -ggdb, and -O0 in as many combinations as I can think of.  Any help would be appreciated!</p>
  <p>Makefile:</p>
  <pre><code>FLAGS =-std=c++11 -ggdb -g -O0 -Wall -Werror
  CC = g++
  OBJS = main.o LSorter.o LNode.o
  
  default: exec
  
  exec: $(OBJS)
      $(CC) $(FLAGS) -o exec $(OBJS) 
  
  main: main.cpp LSorter.h LNode.h
      $(CC) $(FLAGS) -c main.cpp -o main.o
  
  LSorter: LSorter.cpp LSorter.h LNode.h
      $(CC) $(FLAGS) -c LSorter.cpp -o LSorter.o
  
  LNode: LNode.cpp  LNode.h
      $(CC) $(FLAGS) -c LNode.cpp -o LNode.o
  
  clean:
      rm exec $(OBJS)
  
  </code></pre>
  <p>Console Output:</p>
  <p><a href="https://i.stack.imgur.com/gYzGq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gYzGq.png" alt="gdb console output" /></a></p>