Jump to ratings and reviews
Rate this book

Debugging With GDB: The GNU Source-Level Debugger

Rate this book
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 * 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 * 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.

346 pages, Paperback

First published January 1, 1992

3 people are currently reading
57 people want to read

About the author

Richard M. Stallman

72 books120 followers
Richard Matthew Stallman is a software developer and software freedom activist. In 1983 he announced the project to develop the GNU operating system, a Unix-like operating system meant to be entirely free software, and has been the project's leader ever since. With that announcement Stallman also launched the Free Software Movement. In October 1985 he started the Free Software Foundation.

The GNU/Linux system, which is a variant of GNU that also uses the kernel Linux developed by Linus Torvalds, are used in tens or hundreds of millions of computers, and are now preinstalled in computers available in retail stores. However, the distributors of these systems often disregard the ideas of freedom which make free software important.

That is why, since the mid-1990s, Stallman has spent most of his time in political advocacy for free software, and spreading the ethical ideas of the movement, as well as campaigning against both software patents and dangerous extension of copyright laws. Before that, Stallman developed a number of widely used software components of the GNU system, including the original Emacs, the GNU Compiler Collection, the GNU symbolic debugger (gdb), GNU Emacs, and various other programs for the GNU operating system.

Stallman pioneered the concept of copyleft, and is the main author of the GNU General Public License, the most widely used free software license.

Read more

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
8 (22%)
4 stars
12 (33%)
3 stars
11 (30%)
2 stars
4 (11%)
1 star
1 (2%)
Displaying 1 of 1 review
Profile Image for David.
Author 1 book121 followers
February 10, 2022
Why yes, I did read the entire book from cover to cover. Real, dead tree paper, too. Ordered straight from the FSF website. It's a software manual. It's a good software manual. It's thorough. You will learn GDB if you read this book. You can skip a lot of the internals, API, and discussion about exotic hardware. But don't skip all of the internals - the "info symbol" and "info address" commands have been very helpful in assembly debugging. Oh, and I never would have tried writing GDB scripts if I hadn't read this.
Displaying 1 of 1 review

Can't find what you're looking for?

Get help and learn more about the design.