• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
gdb command run or set ignores the arguments
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: gdb command run or set ignores the arguments
      • From: Perrog <email@hidden>
  • Prev by Date: Re: Apple's Tools Strategy
  • Next by Date: Re: XCode Falls Short - for now
  • Previous by thread: Re: Basic question (getline function)
  • Next by thread: Re: gdb command run or set ignores the arguments
  • Index(es):
    • Date
    • Thread