This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Building GDB 7.3.92 with MinGW
> Date: Wed, 11 Jan 2012 08:35:20 +0800
> From: asmwarrior <asmwarrior@gmail.com>
>
> On 2012-1-11 5:23, Doug Evans wrote:
> > For one, remembering to pass -data-directory is a pain.
>
> This parameter does not work correctly under MinGW in the case that I would like gdb to automatically run the python script when it startup.
>
> Normally, my gdb is put in MinGW/bin, and the gdb's own python script is under:
> MinGW\share\gdb\python\gdb\*.py
>
> I need to hard-code the code in gdb/main.c to set the data-directory value. (Because gdb is build from MSYS+MinGW, but it run normally on Windows shell without MSYS)
Can you explain why the original code doesn't work as intended? And
what is MSYS have to do with that?
Thanks.