Description of problem: This patch backs out an unnecessary patch that causes sysroot source filename generation to be mishandled. Risk of applying change: None. This change reverts a change to DebugInfoFrame.java. Risk of not applying change: High for situations where fhpd -sysroot is used. Steps to Reproduce: 1. Run the reproducer script test-sysroot.sh on an unpatched fhpd Actual results: Error: file .../tstsysroot.c not found Expected results: 1 int main () -> 2 { 3 int x = 1; 4 return x; 5 } Additional info:
Created attachment 292442 [details] patch
Created attachment 292443 [details] reproducer. This semi-automated test will be added to the testsuite as an automated test.
Created attachment 292549 [details] tweaked the reproducer to use debugedit
can you post more of a transcript; the bug only occurs when -sysroot is used?
The bug only occurs when listing a sourcefile when -sysroot is given where the pathname is an absolute pathname. The file will not be listed as the filename is incorrect.