Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1263220
  • 博文数量: 3010
  • 博客积分: 10011
  • 博客等级: 上将
  • 技术积分: 30431
  • 用 户 组: 普通用户
  • 注册时间: 2008-05-27 11:53
文章分类

全部博文(3010)

文章存档

2008年(3010)

我的朋友

分类: LINUX

2008-05-27 15:17:46

The GNU Debugger allows you to see what is going on "inside" a program while it executes - or what a program was doing at the moment it crashed.

  

GDB supports C, C++, Java, Fortran and Assembly among other languages; it is also designed to work closely with the GNU Compiler Collection (GCC).

  

The GNU Debugger Program has four special features that helps you catch bugs in the act:

  

* It starts your program for you, specifying anything that might affect it's behavior.

* Makes your program stop under specified conditions.

* Examines what happened when the program stopped.

* Allows you to experiment with changes to see what effect they have on the program.

  

This book will show you:

  

* setting and clearing breakpoints

* examining the stack, source files and data

* examining the symbol table

* altering program execution

* specifying a target for debugging

* how to control the debugger

* how to use canned command sequences

* how to install GDB

* and much more!

  

This manual is written for programmers. It is designed so someone can begin utilizing GDB after just reading the first chapter, or read the whole manual and master the program. Synopsis of ideas and extensive examples are given.

阅读(308) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~