Skip to content

Do not map breakpoint files to target= paths - #31

Open
aragners wants to merge 1 commit into
intel:mainfrom
aragners:linux-tracker-path-maps
Open

aragners wants to merge 1 commit into
intel:mainfrom
aragners:linux-tracker-path-maps

Conversation

@aragners

@aragners aragners commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Breakpoints set on source lines never resolved when Simics had a path map rule like add-pathmap-entry "target=/host" "/". Such rules map binaries that the Linux tracker finds in the target file system to host files. When we mapped the host path of a source file back, the rule gave a file name like target=/host/path/to/.../code.c. The debug information never has that prefix, so the agent found no code.

Skip rules with a "target=" source when we map host paths for breakpoints. Mapping from debug information to host paths is not changed.

Breakpoints set on source lines never resolved when Simics had a path
map rule like add-pathmap-entry "target=/host" "/". Such rules map
binaries that the Linux tracker finds in the target file system to
host files. When we mapped the host path of a source file back, the
rule gave a file name like target=/host/path/to/.../code.c. The debug
information never has that prefix, so the agent found no code.

Skip rules with a "target=" source when we map host paths for
breakpoints. Mapping from debug information to host paths is not
changed.

Signed-off-by: Andreas Ragnerstam <andreas.ragnerstam@intel.com>
@aragners
aragners requested a review from clillies November 9, 2026 15:32
@aragners
aragners requested a review from a team as a code owner November 9, 2026 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant