In association with heise online

26 January 2012, 12:34

GNU Debugger update brings Python scripting improvements

  • Twitter
  • Facebook
  • submit to slashdot
  • StumbleUpon
  • submit to reddit

GNU Project Debugger mascot The GNU Project Debugger team has announced the arrival of version 7.4 of the GNU Debugger (GDB). The open source debugger is the standard debugger for the GNU software system, and supports a number of programming languages including Ada, C, C++, Objective-C, Free Pascal, Fortran and Java.

Support for Python scripting has been improved by the automatic loading of commands and convenience functions at GDB startup. The addition of a new "set python print-stack none|full|message" to control the display of stack traces now sets the default mode to "message", where only error messages and no stack trace is printed. Other changes include a new event which is fired when an object file is loaded and a new class to catch the return of a function.

Other changes in GDB 7.4 see more consistent handling of line specifications and the introduction of new debugging commands like "skip file" and "skip function" for skipping uninteresting functions during debugging. The ability to set watchpoints with address masks has been added to support PowerPC BookE processors.

The "info macro command" can now list all definitions of a macro (-all). New options include the ability to set an extended prompt (which can include escape sequences and display other information). In terms of processor support, GDB 7.4 adds a new target for the Texas Instruments TMS320C6x family of microprocessors and includes a new simulator for the Renesas RL78 microcontroller family.

Further information can be found in the mailing list release announcement and a detailed list of all the changes can be found in the NEWS file. GDB 7.4 is available to download from the project's site and documentation is provided. GDB is licensed under the GPLv3.


Print Version | Send by email | Permalink:

  • July's Community Calendar

The H Open

The H Security

The H Developer

The H Internet Toolkit