info

Generic command for showing things about the program being debugged.

info [ELEMENT]

  • ELEMENT – the debug element to get information for.

List of info subcommands:

Type “help info” followed by info subcommand name for full documentation. Command name abbreviations are allowed if unambiguous.

info memorymap – Display memory mapping

Display memory regions attributes.

info memorymap

All the current memory maps of the currently attached context are printed out. The following values should be displayed:

  • Address
  • Size
  • Attributes (read/write/execute)
  • Section name (if any)
  • BSS (states if the memory map is a BSS section)
  • File name (host path of the file used for this memory region)

info modules – List all the modules on the target

List all the modules on the target.

info modules [FILE] [-print [common | undef]]

  • FILE – May be the module ID or file name to get information for.

  • -print – If specified, print module properties.
    • common – print out common symbols
    • undef – print out undefined symbols

info pathmap – List TCF path mappings

Show the list of TCF path mapping rules.

info pathmap

The list of current TCF path mapping is displayed. After the header, each line should contain ID : SOURCE -> DESTINATION

The ID may be used with the “pathmap remove” command.

See “help pathmap add” for details about SOURCE and DESTINATION.

info peers – List TCF targets

Show the list of TCF targets.

info peers [-full]

  • -full – Display the full peer information. Output may be long, and not

    aligned.

The list of TCF peers which can be connected is displayed.

If the -full option is not provided, the peer URL, NAME and USER are displayed, aligned, 80 characters wide maximum. The URL may be reused to call for “target connect <URL>”.

If the -full option is provided, TCF peer ID, NAME, USER and OS are displayed. The peer ID is not modified to a “target connect” URL. Data is not truncated, may be displayed unaligned, and wider than 80 characters.

info pretty-printer – List all registered pretty-printers

List all registered pretty-printers.

info pretty-printer [OBJ-REGEXP [NAME-REGEXP]]

  • OBJ-REGEXP – is a regular expression matching the objects to list. Objects are “global”, the program space’s file, and the objfiles within that program space.
  • NAME-REGEXP – matches the name of the pretty-printer. Individual printers in a collection are named as printer-name;subprinter-name.

Examples:

  • info pretty-printer
  • info pretty-printer object.o
  • info pretty-printer .* myprinter;mysubprinter
  • info pretty-printer global
  • info pretty-printer global myprinter
  • info pretty-printer global myprinter;mysubprinter

info rtps – Show information about any running RTP

Show information about any running RTP.

info rtps [-full] [ID]

  • -full – Only the basename of the RTP is printed out, using this option prints out the fulle RTP name.
  • ID – The ID of an RTP to show information about. If not specified, all RTPs are displayed.

If an RTP is attached by the debugger, its ID is prepended with the “+” character.

This command is VxWorks specific, and may not be invoked if connected to another Operating System.

info tasks – Show information about any running VxWorks task

Show information about VxWorks tasks.

info tasks [-a] [RTP]

  • -a – Display all tasks.
  • RTP – The ID or the name of a RTP (or kernel). If not specified, all tasks are displayed.

This command shows attached and attachable tasks. If a task is attached by the debugger, its ID is prefixed with the “+” character. If the option -a is specified, it also displays tasks that cannot be attached. In that case, the non-attachable tasks are prefixed with the “-” character.

This command is VxWorks specific, and cannot be invoked if connected to another Operating System.