title: Error in re-setting breakpoint 1: Cannot access memory at address . What is the reason for getting this error
body: <p>I am trying to compile and debug my code, runs on gcc 4.8.1 and using gdb version 7.5.1.</p>
  
  <p>I am not sure what is causing this error, I cannot set a breakpoint or use start on gdb, all of them give the same (similar) error: 
  <code>Error in re-setting breakpoint 1: Cannot access memory at address 0xe0b01c</code></p>
  
  <p>I saw this answer <a href="https://stackoverflow.com/questions/23553527/gdb-error-in-re-settings-breakpoint-cannot-access-memory">gdb error in re-settings breakpoint (cannot access memory)</a>, but i am not using <code>-fPIE</code>, I am using <code>-fPIC</code> though, and 7.7.1 has same issue.</p>
  
  <p>Is this issue due to gdb/gcc version or some flags? I am using: <code>-g -std=c++1 -D__GCC_EXPERIMENTAL_CXX0X__=1</code></p>