-
DWARF(WORD版)及官方网站的DWARF教程.rar下载
资源介绍
DWARF(WORD版)及官方网站的DWARF教程.
Introduction to the
DWARF Debugging Format
It would be wonderful if we could write
programs that were guaranteed to work
correctly and never needed to be debugged.
Until that halcyon day, the normal programming
cycle is going to involve writing
a program, compiling it, executing it, and
then the (somewhat) dreaded scourge of
debugging it. And then repeat until the program
works as expected.
It is possible to debug programs by inserting
code that prints values of various interesting
variables. Indeed, in some situations,
such as debugging kernel drivers, this
may be the preferred method. There are
lowlevel
debuggers that allow you to step
through the executable program, instruction
by instruction, displaying registers and
memory contents in binary.