Difference between revisions of "gdbint"

From Free Pascal wiki
Jump to navigationJump to search
(New page: == GDBINT - GNU debugger interface == The gdbint package contains a set of units to interface to the GNU debugger (GDB) library, libgdb. It is used in the Free Pascal IDE. The units are:...)
 
m (Add category)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
== GDBINT - GNU debugger interface ==  
 
== GDBINT - GNU debugger interface ==  
  
The gdbint package contains a set of units to interface to the GNU debugger (GDB) library, libgdb. It is used in the Free Pascal IDE. The units are:
+
The gdbint package contains a set of units to interface to the GNU debugger (GDB) library, libgdb. It is used in the Free Pascal text-based IDE. The units are:
  
 
* '''gdbint''' The actual interface unit, actually a translation of the library header files. (View interface)
 
* '''gdbint''' The actual interface unit, actually a translation of the library header files. (View interface)
Line 11: Line 11:
 
* '''symify''' Program which translates backtrace addresses to file and line information. This can be used on a program which has debug information compiled in.
 
* '''symify''' Program which translates backtrace addresses to file and line information. This can be used on a program which has debug information compiled in.
 
** '''testgdb''' small program which offers a simple command-line interface to the GDB debugger.
 
** '''testgdb''' small program which offers a simple command-line interface to the GDB debugger.
 +
 +
Go to back [[Package_List|Packages List]]
 +
 +
[[Category:Packages]]
 +
[[category:Debugging]]

Latest revision as of 14:26, 28 May 2022

GDBINT - GNU debugger interface

The gdbint package contains a set of units to interface to the GNU debugger (GDB) library, libgdb. It is used in the Free Pascal text-based IDE. The units are:

  • gdbint The actual interface unit, actually a translation of the library header files. (View interface)
  • gdbcon Implements the TGDBController object, which controls a debugging session. It implements methods which map to GDB commands. (View Interface)

There are also some example programs:

  • gdbver Program which detects the version of libgdb present on the system. The exit code is the version number of the gdb library.
  • symify Program which translates backtrace addresses to file and line information. This can be used on a program which has debug information compiled in.
    • testgdb small program which offers a simple command-line interface to the GDB debugger.

Go to back Packages List