[m-rev.] for review: gdbrun bug fix

Fergus Henderson fjh at cs.mu.OZ.AU
Fri Apr 27 14:12:25 AEST 2001


On 27-Apr-2001, Zoltan Somogyi <zs at cs.mu.OZ.AU> wrote:
> On 26-Apr-2001, Fergus Henderson <fjh at cs.mu.OZ.AU> wrote:
> > The quoting is still not 100% correct, though.
> > To do it properly you'd have to also quote stuff containing "#"
> > or ">" and escape stuff containing "$" or "\" and maybe more.
> 
> However, there is no need to quote stuff that lmc never passes to gdb.

Well, gdbrun might be used for programs other than lmc.
Also, lmc can pass arbitrary strings to gdb,
e.g. lmc --cflags '-DVERSION="Release 10 <$Revision 1.1$>"'
But in practice that is unlikely.

> Here is the version I intend to commit

Fine.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
                                    |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list