Bug 5925 - fhpd does not search for <EXEFILE> in $PATH
Summary: fhpd does not search for <EXEFILE> in $PATH
Status: NEW
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 minor
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-13 08:38 UTC by Jan Kratochvil
Modified: 2008-10-21 21:40 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Kratochvil 2008-03-13 08:38:43 UTC
Trying to run:
fhpd -- gdb -ex 'print 1+1'

results in:
Error: open: No such file or directory (file /home/jkratoch/gdb)

Workaroundable by:
fhpd -- `which gdb` -ex 'print 1+1'

frysk-0.0.1.2008.02.29.rh1-1.fc8.x86_64
Comment 1 Andrew Cagney 2008-03-13 14:49:55 UTC
Looks familiar.
Comment 2 Jan Kratochvil 2008-04-03 20:15:59 UTC
The behavior changed, did not open a new Bug for it:

/home/jkratoch$ fhpd gdb
[0.0] Loaded executable file: /usr/bin/gdb

but
/home/jkratoch$ ls -l ./gdb
ls: cannot access ./gdb: No such file or directory
/home/jkratoch$ fhpd ./gdb
[0.0] Loaded executable file: /usr/bin/gdb

frysk-0.0.1.2008.03.19.rh1-1.fc8.x86_64