Community
Participate
Working Groups
Created attachment 208412 [details] Proposed changes for rootfs remap Two usecases for the PathMap service don't work at the moment. First, users have a complete copy of the target's rootfs accessible via a host path, so we effectively want to map "target:/" to "host:/path/to/rootfs". Second, clients would like the ability to map a non-path identifier to an individual file, for example, to locate a target's kernel image (which typically does not reside on the target's filesystem).
Created attachment 208413 [details] Proposed changes for identifier remap
I have committed the first patch. Thanks! I don't understand second patch. It looks incorrect to me. It checks if strlen(src) == strlen(dst), but it looks like intention was to check strlen(src) == strlen(fnm), which is same as fnm[k] == 0, which is already properly handled without the patch.
You're right; I must have been confused between dst and fnm, *and* that the second patch generally seems unnecessary. So far as I'm concerned, this bug is now fixed, thanks!
Changing to resolved/fixed.
https://git.eclipse.org/c/tcf/org.eclipse.tcf.agent.git/commit/?h=0.6.0&id=b4c79fa95721698dbcc7d398815106ce3cdfcb9d