add-session-comment alias
Simics Reference Manual  /  3 Commands  /  3.2 Command List  / 

add-symbol-file

Synopsis

add-symbol-file symbolfile ["context-query"] [relocation-address] [-relative] ["section"] [segment]

Description

Add the symbol file symbolfile to debugging contexts matching the context query context-query.

symbolfile uses Simics's Search Path and path markers (%simics%, %script%) to find the symbol file. Refer to The Command Line Interface chapter of the Simics User's Guide manual for more information on how Simics's Search Path is used to locate files.

context-query defaults to * which matches all contexts.

relocation-address is the address, the file/segment/section should be mapped to. The -relative flag specifies if the relocation address will be relative to the load address in the binary. When not set the address will be the absolule address specified.

section is the name of the section to relocate. See the list-sections command.

segment is the number of the segment to relocate. See the list-segments command.

The command will return an ID that can be used with remove-symbol-file to remove that mappings that were added.

Provided By

tcf-agent

See Also

list-sections, list-segments, show-memorymap, clear-memorymap, remove-symbol-file
add-session-comment alias