gdb command run or set ignores the arguments
gdb command run or set ignores the arguments
- Subject: gdb command run or set ignores the arguments
- From: Perrog <email@hidden>
- Date: Mon, 30 Oct 2006 02:53:32 +0100
Hi!
I'm trying to feed XCode gdb run command with arguments and not via
Executable options. But it's like XCode gdb ignores arguments to the
run or set command. Can this be true? Or Am I suppose to make anything
else to make this work? Can it be a bug?
Instead of adding them in the settings panel I tried this because it
seems to be a quicker way of feeding options to tools.
This is what I'm doing:
1. disable the "Start executables after starting debugger" (once only)
2. chose Debug to launch the program
3. enter "run -f myscript.awk myinput.txt > myoutput.txt" to execute
This is my way of doing this in terminal gdb, and this works.
/src/awk> gdb build/Debug/gawk
GNU gdb 6.3.50-20050815 ...
<standard gdb copyleft text>
(gdb) run -f myscript.awk myinput.txt > myoutput.txt
Thanks for any hints!
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden