Bug 429641

Summary: /sys/root/usr/src/debug is incorrectly handled
Product: Red Hat Enterprise Linux 5 Reporter: Stan Cox <scox>
Component: fryskAssignee: Stan Cox <scox>
Status: CLOSED WONTFIX QA Contact: Len DiMaggio <ldimaggi>
Severity: low Docs Contact:
Priority: low    
Version: 5.2CC: ebachalo, kasal, mcvet, npremji, pmuldoon, scox
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-02-15 09:44:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
patch
none
reproducer. This semi-automated test will be added to the testsuite as an automated test.
none
tweaked the reproducer to use debugedit none

Description Stan Cox 2008-01-22 02:44:26 UTC
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:

Comment 1 Stan Cox 2008-01-22 02:44:26 UTC
Created attachment 292442 [details]
patch

Comment 2 Stan Cox 2008-01-22 02:48:56 UTC
Created attachment 292443 [details]
reproducer.  This semi-automated test will be added to the testsuite as an automated test.

Comment 3 Stan Cox 2008-01-22 19:27:06 UTC
Created attachment 292549 [details]
tweaked the reproducer to use debugedit

Comment 4 Andrew Cagney 2008-01-24 14:23:18 UTC
can you post more of a transcript; the bug only occurs when -sysroot is used?

Comment 5 Stan Cox 2008-02-07 20:11:14 UTC
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.