Bug 5926 - fhpd breaks <EXEFILE> arguments containing a space (' ')
Summary: fhpd breaks <EXEFILE> arguments containing a space (' ')
Status: NEW
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-13 08:40 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:40:48 UTC
Trying to run:
fhpd -- `which gdb` -silent -ex 'print 1+1'

Results in:
Loaded executable file: /usr/bin/gdb
(fhpd) run
Attached to process 28775
starting/running with this command: /usr/bin/gdb -silent -ex print 1+1 
Running process 28775
(fhpd) 1+1: No such file or directory.
The history is empty.
(gdb)

as apparently the arguments
    -silent -ex 'print 1+1'
got interpreted as
    -silent -ex print 1+1

frysk-0.0.1.2008.02.29.rh1-1.fc8.x86_64
Comment 1 Andrew Cagney 2008-03-13 14:51:05 UTC
Looks familiar.