21.10 GDB/MI Symbol query commands

The -symbol-info-address command

Synopsis

-symbol-info-address symbol

Describe where symbol is stored.

GDB command

The corresponding GDB command is 'info address'.

Example

N.A.

The -symbol-info-file command

Synopsis

-symbol-info-file

Show the file for the symbol.

GDB command

There is no equivalent GDB command. gdbtk has 'gdb_find_file'.

Example

N.A.

The -symbol-info-function command

Synopsis

-symbol-info-function

Show which function the symbol lives in.

GDB command

'gdb_get_function' in gdbtk.

Example

N.A.

346 The GDB/MI Interface

Page 346
Image 346
HP gnu source-level debugger 5992-4701 manual 21.10 GDB/MI Symbol query commands, symbol-info-address command