14.36 Displaying the current block scope information

The which command takes a symbol as an argument and prints the information on a given symbol. It prints the following information:

current block scope addresses

line information of the definition of the symbol

filename in which the definition of the symbol occurs

The which command does not work for global and type symbols since they do not contain line information.

Syntax:

which <symbol>

For example :

(gdb) which i Line 4 of "example.c" block starts at address 0x29a8 <main> and ends at 0x29e4 <main+0x3c>

14.37 Linux support

Linux Runtime Environment (LRE) on HP-UX Itanium enables users to execute Intel Itanium Linux applications on HP-UX. HP WDB provides a prototype for LRE debugging, which allows you to debug applications ported from Linux that run under LRE. This provides a minimal debugging capability for LRE.

14.36 Displaying the current block scope information 241

Page 241
Image 241
HP gnu source-level debugger 5992-4701 manual Displaying the current block scope information, Linux support, Syntax