On Sat, Nov 12, 2005 at 03:04:50AM +0100, wim delvaux wrote:
> Package: gdb
> Version: 6.3-6
> Severity: wishlist
> 
> 
> It would be handy if you could run gdb with the command to be 
> debugged including its options
> 
> now you must split the command and the arguments and use 'r'
> 
> I would like something like
> 
> gdb <GDBOPTIONS> -- command <COMMANDOPTIONS>
> 
> so you could
> # SomeCommand -a -b -c 
> -> has bug -> press key UP to use history and add gdb -- before 
>    command
> # gdb -- SomeCommand -a -b -c

GDB's supported this for many releases now.

Please try gdb --args SomeCommand -a -b -c.

-- 
Daniel Jacobowitz
CodeSourcery, LLC


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to