From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13994 invoked by alias); 31 Oct 2010 02:24:14 -0000 Received: (qmail 13974 invoked by uid 22791); 31 Oct 2010 02:24:13 -0000 X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_50,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mail-pw0-f41.google.com (HELO mail-pw0-f41.google.com) (209.85.160.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 31 Oct 2010 02:24:07 +0000 Received: by pwi1 with SMTP id 1so1931456pwi.0 for ; Sat, 30 Oct 2010 19:24:06 -0700 (PDT) Received: by 10.143.45.20 with SMTP id x20mr3045367wfj.385.1288491845944; Sat, 30 Oct 2010 19:24:05 -0700 (PDT) Received: from [172.16.151.180] ([61.164.42.188]) by mx.google.com with ESMTPS id q13sm5432164wfc.5.2010.10.30.19.24.02 (version=SSLv3 cipher=RC4-MD5); Sat, 30 Oct 2010 19:24:04 -0700 (PDT) Message-ID: <4CCCD3E3.7000805@gmail.com> Date: Sun, 31 Oct 2010 02:24:00 -0000 From: asmwarrior User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 MIME-Version: 1.0 To: Eli Zaretskii CC: Joel Brobecker , tromey@redhat.com, gdb@sourceware.org, gdb-patches@sourceware.org Subject: Re: Re: gdb with python support still get crash on showing uninitialized local variables References: <8362wk7j5r.fsf@gnu.org> In-Reply-To: <8362wk7j5r.fsf@gnu.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-10/txt/msg00402.txt.bz2 On 3:59, Eli Zaretskii wrote: >> Date: Fri, 29 Oct 2010 15:18:20 -0400 >> From: Joel Brobecker >> Cc: Tom Tromey, asmwarrior@gmail.com, gdb@sourceware.org, gdb-patches@sourceware.org >> >> Yes, because it's a script, the makefile should execute it via $SHELL. >> I see that we're making the same error in gdb/doc, for instance, so >> it looks like we would be unable to build the documentation if building >> using MinGW tools. > > If you are using the MinGW port of GNU Make, it will always use sh.exe > (if it can find it on your PATH) automatically to run any shell > scripts invoked by the Makefile. I just tried that with a MinGW build > of Make 3.82, and commands like "./mkinstalldirs foo/bar" just work (I > do have a sh.exe). This works because the function process_begin on > w32/subproc/sub_proc.c has code to detect a Unix shell script and > DTRT. > > So there's some other factor at work here. Or maybe the sh.exe which > is installed on the OP's machine has some issues that mine doesn't. Hi Eli I use the configure make command directly in the MSYS shell. So I think they by default use the GNU make (not the mingw32-make). But I run the make -v on the MSYS shell, it gives the version number 3.81. So I will try 3.82 as your mentioned. Asmwarrior