Summary: | fhpd ./gdb does not work as expected | ||
---|---|---|---|
Product: | frysk | Reporter: | Tom Tromey <tromey> |
Component: | general | Assignee: | Stan Cox <scox> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | pmachata |
Priority: | P2 | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Last reconfirmed: |
Description
Tom Tromey
2008-04-28 14:04:02 UTC
Consider relative paths when searching for executable. * SysRoot.java (findExe): Consider relative paths. *** Bug 6458 has been marked as a duplicate of this bug. *** It still seems a little wrong to me. For example, if 'gdb' is a directory: opsy. fhpd gdb Error: gdb is a directory opsy. fhpd ./gdb Error: ./gdb is a directory IMO, the first one should pick gdb from $PATH. The second one should continue to fail as it does now. That is, mimic shell behavior. Follow Unix ./executable convention. * SysRoot.java (findExe): Follow Unix ./executable convention. * TestSysRoot.java (testExePath): New % /work/scox/frysk/bld/x86_64-redhat-linux/frysk-core/frysk/bindir/fhpd ./gdb Error: ./gdb is a directory % /work/scox/frysk/bld/x86_64-redhat-linux/frysk-core/frysk/bindir/fhpd gdb [0.0] Loaded executable file: /usr/bin/gdb *** Bug 6462 has been marked as a duplicate of this bug. *** *** Bug 6463 has been marked as a duplicate of this bug. *** |