Bug 5878

Summary: fexe can't find a shell script
Product: frysk Reporter: Andrew Cagney <cagney>
Component: generalAssignee: Andrew Cagney <cagney>
Severity: normal CC: swagiaal, walters
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on: 5921    
Bug Blocks: 5876    

Description Andrew Cagney 2008-03-05 16:52:30 UTC

$ ./frysk/bindir/fexe firefox
Error: invalid `Elf' handle
Comment 1 Andrew Cagney 2008-03-12 19:31:24 UTC
*** Bug 5921 has been marked as a duplicate of this bug. ***
Comment 2 Andrew Cagney 2008-03-12 19:42:51 UTC
One possible fix is:

  $ which fdebugrpm
  $ head -1 `which fdebugrpm`
  #! /bin/sh
  $ fexe fdebugrpm
  $ fhpd fdebugrpm arg1 arg2
  (fhpd) info args

the alternative is to try to retain that the script has an interpreter; perhaps
that is a second pass.
Comment 3 Sami Wagiaalla 2008-03-13 19:23:00 UTC
*** Bug 5933 has been marked as a duplicate of this bug. ***
Comment 4 Andrew Cagney 2008-03-18 21:01:53 UTC
This is fixed vis:

cagney@localhost$ fexe firefox
Error: open: No such file or directory (file
cagney@localhost$ ./frysk/bindir/fexe firefox
cagney@localhost$ ./frysk/bindir/ftrace firefox
6074.6074 attached /bin/bash
6074.6074 exited with status 0