This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: PATCH: gdb --args
>>>>> "Eli" == Eli Zaretskii <eliz@is.elta.co.il> writes:
Eli> DJGPP supports quoting that is almost identical to the Unix one. The
Eli> only difference is that the backslash is only handled as an escape
Eli> character if it precedes a single or a double quote (to avoid
Eli> mishandling DOS file names with backslashes). So as long as the
Eli> quoting is done with single quotes, the DJGPP port will DTRT.
How does DJGPP handle a single quote inside of single quotes?
For sh you must do something like:
'text'\''more text'
to achieve an argument whose value is
text'more text
If DJGPP does something different then they aren't really that similar.
buildargv() lets you write something like this:
'text\'more text'
Tom