title: gdb: no loadable sections found in added symbol-file system-supplied DSO at 0x2aaaaaaab000
body: <p>I am trying to debug a C program using gdb.The compile flags that I am using are as below</p>
  
  <pre><code>-fno-strict-aliasing -Wall -DHAVE_CONFIG_H -DNO_OLD_ERF_TYPES -Werror  -Wredundant-decls -O2 -DNDEBUG -DBYTESWAP -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -g 
  </code></pre>
  
  <p>The version of the compiler that I am using is </p>
  
  <pre><code>gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-52)
  Copyright (C) 2006 Free Software Foundation, Inc.
  This is free software; see the source for copying conditions.  There is NO
  warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  </code></pre>
  
  <p>I debug as </p>
  
  <p>libtool gdb mytool </p>
  
  <p>I set the breakpoint and run the program.The execution doesn't stop at the breakpoint and I get the following warning.</p>
  
  <pre><code>warning: no loadable sections found in added symbol-file system-supplied DSO at 0x2aaaaaaab000
  [Thread debugging using libthread_db enabled]
  </code></pre>