Bug 429641 - /sys/root/usr/src/debug is incorrectly handled
Summary: /sys/root/usr/src/debug is incorrectly handled
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: frysk
Version: 5.2
Hardware: All
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Stan Cox
QA Contact: Len DiMaggio
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-01-22 02:44 UTC by Stan Cox
Modified: 2011-02-15 09:44 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-02-15 09:44:39 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
patch (1.42 KB, patch)
2008-01-22 02:44 UTC, Stan Cox
no flags Details | Diff
reproducer. This semi-automated test will be added to the testsuite as an automated test. (935 bytes, application/x-sh)
2008-01-22 02:48 UTC, Stan Cox
no flags Details
tweaked the reproducer to use debugedit (878 bytes, application/x-sh)
2008-01-22 19:27 UTC, Stan Cox
no flags Details

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.



Note You need to log in before you can comment on or make changes to this bug.