From: Andrew Cagney <ac131313@redhat.com>
To: Keith Seitz <keiths@redhat.com>
Cc: gdb@sources.redhat.com
Subject: Re: MI questions from eclipse.org
Date: Fri, 27 Sep 2002 11:14:00 -0000 [thread overview]
Message-ID: <3D94A005.2070809@redhat.com> (raw)
In-Reply-To: <Pine.LNX.4.44.0209271059460.1515-100000@valrhona.uglyboxes.com>
> =================== GDB/MI issues ======================
>> * What's the formal syntax for passing parameters:
>> ex:
>> -environment-directory "/home/alain:/tmp"
>> &"Warning: /home/alain/\"/home/alain: No such file or directory.\n"
>> &"Warning: /tmp\": No such file or directory.\n"
>> ^done
>>
>> If my paths contains spaces or ':'?
>> - quotes
>> - escaping
>
>
> Ok, this is probably something that needs to be straightened out in MI and
> GDB. Spaces don't seem to work no matter what. Ditto for ":", both of
> which seemed to be reserved for the dir command. (The MI command
> "-environment-directory" just invokes "dir %s". This is probably a large
> part of the problem.)
Actually, this looks like a bug. -environment-directory likely isn't
using the MI argument parser (which would have stripped off the ``"'').
A quick check shows:
ac131313@nettle$ grep environment-directory *.c
mi-cmds.c: {"environment-directory", "dir %s", 0},
so yes, it isn't yet a true MI command :-(
Andrew
next prev parent reply other threads:[~2002-09-27 18:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-27 10:58 Keith Seitz
2002-09-27 11:14 ` Andrew Cagney [this message]
2002-09-27 11:17 ` Andrew Cagney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3D94A005.2070809@redhat.com \
--to=ac131313@redhat.com \
--cc=gdb@sources.redhat.com \
--cc=keiths@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox