This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: Shell escape in the DJGPP port of GDB
- To: Fernando Nasser <fnasser@cygnus.com>
- Subject: Re: Shell escape in the DJGPP port of GDB
- From: Eli Zaretskii <eliz@gnu.org>
- Date: Tue, 24 Aug 1999 02:31:45 -0400
- CC: DJ Delorie <dj@delorie.com>, gdb-patches@sourceware.cygnus.com
- Refrences: <37BFEB92.D0886B1C@cygnus.com> <199908221014.GAA04181@mescaline.gnu.org> <199908202013.QAA26688@envy.delorie.com> <37BDB5E2.4318@cygnus.com>
> One thought though. With the current solution, the directory will
> remain changed in non-DJGPP systems. We could add a ifdef'ed command
> to change drive on DOS/Windows (non-DJGPP) systems.
The problem is, there's no ``portable'' way of doing this. The
function that changes the drive is called differently in different
compilers. That is why I left that case unhandled: I simply don't
know how to handle it so that everybody will be happy.