public inbox for frysk-bugzilla@sourceware.org
help / color / mirror / Atom feed
* [Bug general/6458] New: Frysk is acting funny around relative paths
@ 2008-04-25 12:17 pmachata at redhat dot com
2008-04-30 18:18 ` [Bug general/6458] " scox at redhat dot com
0 siblings, 1 reply; 2+ messages in thread
From: pmachata at redhat dot com @ 2008-04-25 12:17 UTC (permalink / raw)
To: frysk-bugzilla
Relative paths act suspicious. The binary that Frysk somehow found in the home
directory is picked.
$ pwd
/home/ant/frysk-git-2/build/frysk-core/frysk/bindir
$ ls ../ke
ls: cannot access ../ke: No such file or directory
$ ./ftrace -- ../ke
7727.7727 attached /home/ant/ke
joha
7727.7727 exited with status 5
This happens even when the path refers to another, valid binary:
$ pwd
/home/ant/frysk-git-2/build
$ ls ../ke
../ke
$ ../ke
ahoj
$ ./frysk-core/frysk/bindir/ftrace -- ../ke
7784.7784 attached /home/ant/ke
joha
7784.7784 exited with status 5
It's not just a problem of ftrace:
$ ./frysk-core/frysk/bindir/fstep -- ../ke 2>&1 | grep -v '^\['
joha
Total steps [7915]: 3822
Not sure if bug 5624 sysroot is the right tracker, just a wild guess it might be
related.
--
Summary: Frysk is acting funny around relative paths
Product: frysk
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: general
AssignedTo: frysk-bugzilla at sourceware dot org
ReportedBy: pmachata at redhat dot com
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
OtherBugsDependingO 5624
nThis:
http://sourceware.org/bugzilla/show_bug.cgi?id=6458
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug general/6458] Frysk is acting funny around relative paths
2008-04-25 12:17 [Bug general/6458] New: Frysk is acting funny around relative paths pmachata at redhat dot com
@ 2008-04-30 18:18 ` scox at redhat dot com
0 siblings, 0 replies; 2+ messages in thread
From: scox at redhat dot com @ 2008-04-30 18:18 UTC (permalink / raw)
To: frysk-bugzilla
------- Additional Comments From scox at redhat dot com 2008-04-30 18:17 -------
Consider relative paths when searching for executable.
* SysRoot.java (findExe): Consider relative paths.
*** This bug has been marked as a duplicate of 6465 ***
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
http://sourceware.org/bugzilla/show_bug.cgi?id=6458
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-04-30 18:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-25 12:17 [Bug general/6458] New: Frysk is acting funny around relative paths pmachata at redhat dot com
2008-04-30 18:18 ` [Bug general/6458] " scox at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).