Comment 5 for bug 871940

Revision history for this message
In , Tromey-redhat (tromey-redhat) wrote :

(In reply to comment #2)
> GDB could automatically do:
> gdb --args /bin/sh -c /usr/bin/oocalc

Yeah, I have thought about that for the future, maybe as
part of switching over to multi-inferior-by-default or something.
This would be useful for the situation where libtool makes a
shell script for you instead of a real executable...
However, an additional feature would be needed as well, because
the above won't work as expected if you want to pass your own
arguments to the inferior.