From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joel Brobecker To: gdb-patches@sources.redhat.com Subject: Re: [RFA/RFC] New command: ``start'' Date: Mon, 24 May 2004 23:57:00 -0000 Message-id: <20040524235709.GC10684@gnat.com> References: <20040519153615.GD10684@gnat.com> <20040519154155.GA8567@nevyn.them.org> <20040520010145.GQ10684@gnat.com> <20040520134600.GA11705@nevyn.them.org> <20040520160259.GV10684@gnat.com> <20040520171404.GA3880@nevyn.them.org> <20040520221214.GC10684@gnat.com> <20040521002645.GA17522@nevyn.them.org> <20040521013133.GH10684@gnat.com> <20040524222421.GA31496@nevyn.them.org> X-SW-Source: 2004-05/msg00696.html > > 2004-05-20 Joel Brobecker > > > > * infcmd.c (kill_if_already_running): New function, extracted > > from run_command(). > > (run_command): Replace extracted code by call to > > kill_if_already_running(). > > (start_command): New function. > > (_initialize_infcmd): Add "start" command. > > I believe everyone's comments have been satisfied now, so this is OK. > Please make some minor typographical fixes and check it in: Thanks a lot. I made the changes you suggested and committed the patch. I am attaching the version of the patch that got checked in. I also checked the documentation in. A change for the NEWS file is coming up. > How would you feel about this instead? > > +Run the debugged program until the beginning of the main procedure.\n\ > +You may specify arguments to give to your program, just as with the\n\ > +\"run\" command."); This looks fine to me. So I used your suggestion. Thank you, -- Joel Attachment: start.diff Description: Text document