
Introduction
Motorola
GNU Debugger (GDB)
For More Information On This Product,
Go to: www.freescale.com
D-3
D.1.3 Summary of GDB
The purpose of a debugger such as GDB is to allow you to execute another program while
examining what is going on inside it. We call the other program “your program” or “the
program being debugged”.
GDB can do four kinds of things (plus other things in support of these):
1. Start the program, specifying anything that might affect its behavior.
2. Make the program stop on specified conditions.
3. Examine what has happened, when the program has stopped, so that you can see
bugs happen.
4. Change things in the program, so you can correct the effects of one bug and go on
to learn about another without having to re-compile first.
GDB can be used to debug programs written in C and C++. Pascal support is being
implemented, and Fortran support will be added when a GNU Fortran compiler is written.
D.1.4 GNU General Public License
Version 1, February 1989
Copyright
675 Mass Ave., Cambridge, MA 02139, USA
1989 Free Software Foundation, Inc.
Everyone is permitted to copy and distribute verbatim copies of this license document, but
changing it is not allowed.
D.1.5 Preamble
The license agreements of most software companies try to keep users at the mercy of those
companies. By contrast, our General Public License is intended to guarantee your freedom
to share and change free software---to make sure the software is free for all its users. The
General Public License applies to the Free Software Foundation’s software and to any
other program whose authors commit to using it. You can use it for your programs, too.
When we speak of free software, we are referring to freedom, not price. Specifically, the
General Public License is designed to make sure that you have the freedom to give away
or sell copies of free software, that you receive source code or can get it if you want it, that
you can change the software or use pieces of it in new free programs; and that you know
you can do these things.
F
Freescale Semiconductor, Inc.
n
.