Bug 5925

Summary: fhpd does not search for <EXEFILE> in $PATH
Product: frysk Reporter: Jan Kratochvil <jan>
Component: generalAssignee: Unassigned <frysk-bugzilla>
Status: NEW ---    
Severity: minor    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:

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