From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Deephanphongs To: gdb-patches@sources.redhat.com Subject: Re: [PATCH] specify arguments to debugee from commandline (second try) Date: Tue, 10 Apr 2001 22:27:00 -0000 Message-id: <20010411013553.B2397@llamedos.org> References: <20010330005457.A21793@llamedos.org> <20010330163603.A27435@llamedos.org> <20010403013600.B7630@llamedos.org> <87n19uirbk.fsf@creche.redhat.com> <200104060832.EAA17613@indy.delorie.com> <87vgoi58lr.fsf@creche.redhat.com> <200104061626.MAA01438@indy.delorie.com> <87ofu96gop.fsf@creche.redhat.com> <200104062013.QAA11798@indy.delorie.com> X-SW-Source: 2001-04/msg00109.html Thus spake Eli Zaretskii (eliz@delorie.com): > > From: Tom Tromey > > Date: 06 Apr 2001 12:12:22 -0600 > > > > I'm not sure I follow you though. Are you saying that some other > > approach should be taken? If so, what? > > No, I'm saying that I don't think this problem has a general > solution. So we should decide up front what cases we want to support > and which ones not. I'm not convinced that we want to support any special handling... We could force the user to just escape everything appropriately: If they want equivalent to: set args "this is a" test force them to do: gdb echo -- \"this is a\" test This is just like sed, grep, et al. do it. Dave -- Gravity is a habit that is hard to shake off. -- (Terry Pratchett, Small Gods)