gdb - clover3/Roland GitHub Wiki
- coredump 가 저장되려면 다음과 같이 설정을 해야 한다.
ulimit -c unlimited
- 다음과 같이 gdb 를 실행한다.
gdb [binary name] [core file name]
- where
(gdb) where
#0 0x00007f0f1bd55418 in std::basic_string<char, std::char_traits, std::allocator >::basic_string(std::string const&) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#1 0x000000000040724d in DBManager::solve1() ()
#2 0x000000000040611e in solve1(char*, char*) ()
#3 0x00000000004063ca in main ()