public inbox for frysk-bugzilla@sourceware.org
help / color / mirror / Atom feed
* [Bug general/6465] New: fhpd ./gdb does not work as expected
@ 2008-04-28 14:04 tromey at redhat dot com
  2008-04-30 18:17 ` [Bug general/6465] " scox at redhat dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: tromey at redhat dot com @ 2008-04-28 14:04 UTC (permalink / raw)
  To: frysk-bugzilla

I wanted to try a completion test case in fhpd, so I tried running
it on a just-build gdb I have.  To my surprise it picked up the system
gdb instead:

opsy. fhpd ./gdb
[0.0] Loaded executable file: /usr/bin/gdb

If the argument to fhpd has a directory separator, I think it should
be searched for in '.' first.  Note that this is different from 
prepending '.' to PATH... I think fhpd should mimic the shell's lookup
procedure.

-- 
           Summary: fhpd ./gdb does not work as expected
           Product: frysk
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: general
        AssignedTo: frysk-bugzilla at sourceware dot org
        ReportedBy: tromey at redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=6465

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug general/6465] fhpd ./gdb does not work as expected
  2008-04-28 14:04 [Bug general/6465] New: fhpd ./gdb does not work as expected tromey at redhat dot com
@ 2008-04-30 18:17 ` scox at redhat dot com
  2008-04-30 18:18 ` scox at redhat dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: scox at redhat dot com @ 2008-04-30 18:17 UTC (permalink / raw)
  To: frysk-bugzilla


------- Additional Comments From scox at redhat dot com  2008-04-30 18:16 -------
Consider relative paths when searching for executable.
    
* SysRoot.java (findExe): Consider relative paths.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://sourceware.org/bugzilla/show_bug.cgi?id=6465

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug general/6465] fhpd ./gdb does not work as expected
  2008-04-28 14:04 [Bug general/6465] New: fhpd ./gdb does not work as expected tromey at redhat dot com
  2008-04-30 18:17 ` [Bug general/6465] " scox at redhat dot com
@ 2008-04-30 18:18 ` scox at redhat dot com
  2008-04-30 18:53 ` tromey at redhat dot com
  2008-04-30 22:53 ` cagney at redhat dot com
  3 siblings, 0 replies; 5+ 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 -------
*** Bug 6458 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pmachata at redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=6465

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug general/6465] fhpd ./gdb does not work as expected
  2008-04-28 14:04 [Bug general/6465] New: fhpd ./gdb does not work as expected tromey at redhat dot com
  2008-04-30 18:17 ` [Bug general/6465] " scox at redhat dot com
  2008-04-30 18:18 ` scox at redhat dot com
@ 2008-04-30 18:53 ` tromey at redhat dot com
  2008-04-30 22:53 ` cagney at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: tromey at redhat dot com @ 2008-04-30 18:53 UTC (permalink / raw)
  To: frysk-bugzilla


------- Additional Comments From tromey at redhat dot com  2008-04-30 18:52 -------
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.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |


http://sourceware.org/bugzilla/show_bug.cgi?id=6465

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug general/6465] fhpd ./gdb does not work as expected
  2008-04-28 14:04 [Bug general/6465] New: fhpd ./gdb does not work as expected tromey at redhat dot com
                   ` (2 preceding siblings ...)
  2008-04-30 18:53 ` tromey at redhat dot com
@ 2008-04-30 22:53 ` cagney at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: cagney at redhat dot com @ 2008-04-30 22:53 UTC (permalink / raw)
  To: frysk-bugzilla



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|frysk-bugzilla at sourceware|scox at redhat dot com
                   |dot org                     |
             Status|REOPENED                    |ASSIGNED


http://sourceware.org/bugzilla/show_bug.cgi?id=6465

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-04-30 22:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-28 14:04 [Bug general/6465] New: fhpd ./gdb does not work as expected tromey at redhat dot com
2008-04-30 18:17 ` [Bug general/6465] " scox at redhat dot com
2008-04-30 18:18 ` scox at redhat dot com
2008-04-30 18:53 ` tromey at redhat dot com
2008-04-30 22:53 ` cagney 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).