gdb에서 pcbsd10 (freebsd10)에 중단 점을 설정하려고합니다.재부팅 중단 점에서 gdb 오류 (메모리에 액세스 할 수 없음)
여기 디버그 기호 내 코드를 컴파일하고있다는 GDB
GNU gdb (GDB) 7.7
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-freebsd10.0".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from tor...done.
(gdb) break config.c:3626
Breakpoint 1 at 0xfde72: file src/or/config.c, line 3626.
(gdb) run
Starting program: /usr/home/jon/swdev/apps/tor/src/or/tor -f /home/jon/torrc
Error in re-setting breakpoint 1: Cannot access memory at address 0xfdb90
Error in re-setting breakpoint 1: Cannot access memory at address 0xfdb90
...
의 출력입니다 그리고 내 코드는 중단 점에서 중지하지 않고 계속 실행됩니다.
여기에 무슨 일이 일어나고 있습니까? 어떻게하면 gdb가 실패하고 있는지 더 자세히 알 수 있을까요?
여기 가야 : http://stackoverflow.com/a/912870/714501 – cnicutar