Remove Memory Map entries matching and id or the symbol file symbolfile and optional criteria context query context-query, relocation address relocation-address and/or section name section.
The id argument is the value returned from add-symbol-file
and can be used to remove all memory maps that were added from a call to that command. No other arguments should be given when this argument is given.
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 causes the removal of Memory Map entries matching this context query.
relocation-address is the address, the file/segment/section is mapped to. If -relative is given this matches the relocation address as relative to the binary load address, otherwise it matches the absolute addres. See the show-memorymap
command.
section is the name of the relocated section. See the show-memorymap
command.
The arguments provided are required to match all mappings added at once for a symbol file, i.e. all mappings that have the same id must be removed at once.