title: GDB no debugging symbols found
body: <p>I am trying to compile a program consisting of two source files:
  wildcardtrie.h, wildcardtrie.cpp 
  using a Makefile. However, when I run GDB to debug, I get the following error:</p>
  
  <pre><code>Reading symbols from /home/meric/Documents/Random/SectionLeading/wildcardtrie...(no    debugging symbols found)...done.
  </code></pre>
  
  <p>I have tried a number of different compiler flags, none of which worked. The thing that perplexes me is that I have used a nearly identical Makefile in other programs and missing symbols has never been a problem. I have included the Makefile below:</p>
  
  <pre><code>CC=g++  
  CFLAGS = -g -ggdb g++ -O0 -Wall -Wfloat-equal -Wtype-limits -Wpointer-arith -Wlogical- op -fno-diagnostics-show-option 
  
  LDFLAGS = -g -ggdb -std=c++0x 
  
  
  programs = wildcardtrie
  
  
  all : $(programs)
  
  clean:
       rm -f $(programs) core *.o
  
  .PHONY: clean all
  </code></pre>
  
  <p>I have tried removing '-g' and '-ggdb' in the compiler and linker flags, but nothing seems to work. When I call 'make', I get the following output on the terminal:</p>
  
  <pre><code>g++    -c -o wildcardtrie.o wildcardtrie.cpp
  g++  -g -ggdb -std=c++0x   wildcardtrie.o   -o wildcardtrie
  </code></pre>
  
  <p>Any help would be greatly appreciated!</p>