5.7. Others

There are a number of other debugger features used less frequently and not very well integrated in the new front end but which are still working.

5.7.1. Dynamically loaded Libraries

To obtain a list of the dynamic libraries used by the program, choose the menu item Debug->Info->Shared Libraries. This will bring open a window which will list all the shared libraries the program has loaded and their locations in the memory. It also shows whether the symbol table is loaded or not (Yes/No).

Figure 5-6. Shared Libraries window

5.7.2. Kernel Signals

Kernel signals are a way of signaling between processes in Linux. The list of signals available for a program can be displayed by choosing the menu item Debug->Info->Kernel Signals. A window will open which lists all of the signals available in the system along with a brief description of each signal.

Figure 5-7. Kernel Signals window

There are three columns which specify what to do when the signal is received:

  1. Stop — this tells the debugger whether to stop the program execution (and return control) when the program receives this signal.

  2. Print — this tells the debugger whether to display the received signal.

  3. Pass — this tells the debugger whether to pass the signal to the program.

Note

The popup menu that is displayed when you click on the right mouse button has all its item disabled because the corresponding functions are not implemented yet.

5.7.3. Information about used files

It is possible to get some information about the files used by the debugged program. by choosing the menu item Debug->Information->Target files. A window will open displaying all informations.

5.7.4. Information about debugged program

It is possible to get some information about the debugged program by choosing the menu item Debug->Information->Program. A window will open displaying all informations.

5.7.5. Information about kernel structure

It is possible to get some information kernel data on the current process by choosing the menu item Debug->Information->Kernel user struct. A window will open displaying all informations.

5.7.6. Information about global variables

It is possible to list all global variables by choosing the menu item Debug->Information->Info Global Variable. A window will open listing all global variables.

5.7.7. Information about the current frame

It is possible to obtain information about the currently selected frame by choosing the menu item Debug->Information->Info Current Frame. A window will open describing the current frame.

5.7.8. Information about the current function arguments

It is possible to obtain information about the arguments of the current function by choosing the menu item Debug->Information->Arguments. A window will open describing the arguments.

5.7.9. User command

To send directly a command to the back end choose the menu item Debug->Debugger command. This will bring a small dialog where you can enter commands that will be send to the debugger when you press Return.

Note

The front end sends this command directly to the back end without doing any check. By example if you set a breakpoint like this, it will not appear in the breakpoint list window. It is better to avoid using this command unless you know exactly what you are doing.