6. Tools
6.1. GNU 프로젝트 디버거(GDB)
GDB의 C++ 프로그래밍 언어에 대한 지원이 향상되었습니다. 중요한 사항은 다음을 포함합니다:
- 수식 구문 분석의 향상
- 타입 이름을 더 잘 다루게 됨
- 부가적인 따옴표의 사용의 필요성이 거의 제거됨
- "next" and other stepping commands work properly even when the inferior throws an exception.
- GDB has a new "catch syscall" command. This can be used to stop the inferior whenever it makes a system call.
이제 GDB는 타겟의 와이드캐릭터와 멀티바이트 문자를 지원합니다.
Thread execution now permits debugging threads individually and independently of each other; enabled by new settings "set target-async" and "set non-stop".
6.2. SystemTap
Tracepoints are placed in important sections of the kernel, allowing system administrators to analyze the performance of, and debug portions of code. In Red Hat Enterprise Linux 5.5, a wide range of tracepoints have been added to the kernel (BZ#475710), including tracepoints for networking (BZ#475457), coredump (BZ#517115) and signal (BZ#517121).
참고
stap -L 'kernel.trace("*")'|sort
Previously, only users with root privileges were able to use SystemTap. This update introduces SystemTap's unprivileged mode, allowing non-root users to still use SystemTap. Detailed information on unprivileged man stap-client
manpage.
중요
The C++ program probing improvements also allows better probing of user-space programs.
6.3. Valgrind
Memcheck
tool are also improved. Additionally, support for DWARF debugging information has been enhanced.