发布于 2016-02-25 00:28:41 | 117 次阅读 | 评论: 0 | 来源: 网友投递
GDB UNIX平台的程序调试器
GDB是GNU开源组织发布的一个强大的UNIX下的程序调试工具。或许,各位比较喜欢那种图形界面方式的,像VC、BCB等IDE的调试,但如果你是在 UNIX平台下做软件,你会发现GDB这个调试工具有比VC、BCB的图形化调试器更强大的功能。所谓“寸有所长,尺有所短”就是这个道理。
GDB 7.11 发布了,该版本值得关注的改进记录包括:
* Per-inferior thread numbers (thread numbers are now per inferior instead of being global). * GDB now allows users to specify breakpoint locations using a more explicit syntax (named "explicit location"). This feature is also available in GDB/MI. * New convenience variables ($_gthread, $_inferior) * When hitting a breakpoint or receiving a signal while debugging a multi-threaded program, the debugger now shows which thread triggered the event. * Record btrace now supports non-stop mode. * Various improvements on AArch64 GNU/Linux ** Multi-architecture debugging support ** displaced stepping ** tracepoint support added in GDBserver * kernel-based threads support on FreeBSD. * Support for reading/writing memory and extracting values on architectures whose memory is addressable in units of any integral multiple of 8 bits. * In Ada, the overloads selection menu provides the parameter types and return types for the matching overloaded subprograms. * Various remote protocol improvements, including several new packets which can be used to support features such as follow-exec-mode, exec catchpoints, syscall catchpoints, etc. * Some minor improvements in the Python API for extending GDB. * Support for various ROM monitors has been removed: target dbug dBUG ROM monitor for Motorola ColdFire target picobug Motorola picobug monitor target dink32 DINK32 ROM monitor for PowerPC target m32r Renesas M32R/D ROM monitor target mon2000 mon2000 ROM monitor target ppcbug PPCBUG ROM monitor for PowerPC
完整内容请看下载包中的 NEWS 文件,下载地址:
http://www.gnu.org/software/gdb/