This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: DOS/Windows-specific code: cli-cmds.c
- To: Eli Zaretskii <eliz at is dot elta dot co dot il>
- Subject: Re: DOS/Windows-specific code: cli-cmds.c
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Wed, 09 May 2001 12:09:50 -0400
- Cc: gdb at sources dot redhat dot com
- References: <Pine.SUN.3.91.1010509130446.19857C@is>
> GDB, may its self, one day need some similar notion of current directory.
>>
>> Consider a debug environment containing:
>>
>> o core/lib-gdb
>> o a GUI/MI
>> o a CLI
>>
>> Should the user entering CLI commands that change the GDB processes
>> apparent directory affect the GUI?
>
>
> Are you saying that it is okay to make the code above be compiled
> unconditionally? (That would involve some additional overhead of
> issuing a system call on Posix platforms, but otherwise is a no-op, so
> it doesn't hurt too much.) If this will allow future extensions, I'm
> happy with such a change.
I'm ok with that code the way it is or compiled unconditionally.
Personally I'd leave it to the person that takes on the challenge of
figuring out the exact semantics of the above.
Andrew