I am trying to compile and debug my code , runs on gcc 4.8.1 and using gdb version 7.5.1 . i am not sure what is causing this error, i cannot set a breakpoints or use start on gdb . all of them give teh same(similar) error Error in re-setting breakpoint 1: Cannot access memory at address 0xe0b01c
i saw this answer gdb error in re-settings breakpoint (cannot access memory) . but i am not using -fPIE . I am using -fPIC though . and 7.7.1 has same issue. Is this issue due to gdb/gcc version or some flags . I am using -g -std=c++1 -D__GCC_EXPERIMENTAL_CXX0X__=1
Aucun commentaire:
Enregistrer un commentaire