From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25397 invoked by alias); 9 Nov 2010 02:06:33 -0000 Received: (qmail 25385 invoked by uid 22791); 9 Nov 2010 02:06:32 -0000 X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,TW_SM,T_FRT_FREE 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; Tue, 09 Nov 2010 02:06:24 +0000 Received: by pwi1 with SMTP id 1so2159337pwi.0 for ; Mon, 08 Nov 2010 18:06:23 -0800 (PST) Received: by 10.142.156.3 with SMTP id d3mr932520wfe.202.1289268382909; Mon, 08 Nov 2010 18:06:22 -0800 (PST) Received: from [172.16.154.145] ([61.164.42.188]) by mx.google.com with ESMTPS id y42sm769905wfd.22.2010.11.08.18.06.20 (version=SSLv3 cipher=RC4-MD5); Mon, 08 Nov 2010 18:06:21 -0800 (PST) Message-ID: <4CD8ABA4.2090304@gmail.com> Date: Tue, 09 Nov 2010 02:06:00 -0000 From: asmwarrior User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.19) Gecko/20081209 Thunderbird/2.0.0.19 Mnenhy/0.7.6.0 MIME-Version: 1.0 To: Eli Zaretskii CC: Tom Tromey , gdb@sourceware.org Subject: Re: gdb with python support still get crash on showing uninitialized local variables References: <4CB66700.3000907@gmail.com> <4CBE7B08.9060905@gmail.com> <83bp6l9b4l.fsf@gnu.org> In-Reply-To: <83bp6l9b4l.fsf@gnu.org> Content-Type: text/plain; charset=x-viet-vps; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2010-11/txt/msg00035.txt.bz2 On 2010-10-23 5:21, Eli Zaretskii wrote: >> From: Tom Tromey >> Cc: "gdb\@sourceware.org", gdb-patches@sourceware.org >> Date: Fri, 22 Oct 2010 13:17:04 -0600 >> >> asmwarrior> /bin/sh: line 1: ../../../../src/gdb/bfd/../mkinstalldirs: Permission denied >> >> This file should be +x. > There's no such thing on Windows. Dear GDB gurus, Today, I just do a git pull, then try to build the gdb again. but I still failed under building gdb under windows/msys. Here is the configure: cd build ../gdb/configure --host=mingw32 --target=mingw32 \ --prefix=/E/test/install \ --build=mingw32 CFLAGS="-s -L/python/libs -I/python/include -I/E/test/expat/install/include -static -L/E/test/expat/install/lib" \ --with-python \ --with-expat and here is the build error when running the make command. mingw32-gcc -c -DHAVE_CONFIG_H -s -L/python/libs -I/python/include -I/E/test/exp at/install/include -static -L/E/test/expat/install/lib -D__USE_MINGW_ACCESS -I. -I../../gdb/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstric t-prototypes -pedantic ../../gdb/libiberty/fibheap.c -o fibheap.o ../../gdb/libiberty/fibheap.c: In function 'fibheap_union': ../../gdb/libiberty/fibheap.c:151: warning: implicit declaration of function 'fr ee' ../../gdb/libiberty/fibheap.c:151: warning: incompatible implicit declaration of built-in function 'free' ../../gdb/libiberty/fibheap.c:156: warning: incompatible implicit declaration of built-in function 'free' ../../gdb/libiberty/fibheap.c:172: warning: incompatible implicit declaration of built-in function 'free' ../../gdb/libiberty/fibheap.c: In function 'fibheap_extract_min': ../../gdb/libiberty/fibheap.c:190: warning: incompatible implicit declaration of built-in function 'free' ../../gdb/libiberty/fibheap.c: In function 'fibheap_replace_key_data': ../../gdb/libiberty/fibheap.c:220: error: 'LONG_MIN' undeclared (first use in th is function) ../../gdb/libiberty/fibheap.c:220: error: (Each undeclared identifier is reporte d only once ../../gdb/libiberty/fibheap.c:220: error: for each function it appears in.) ../../gdb/libiberty/fibheap.c: In function 'fibheap_delete_node': ../../gdb/libiberty/fibheap.c:261: error: 'LONG_MIN' undeclared (first use in th is function) ../../gdb/libiberty/fibheap.c:265: warning: implicit declaration of function 'ab ort' ../../gdb/libiberty/fibheap.c:265: warning: incompatible implicit declaration of built-in function 'abort' ../../gdb/libiberty/fibheap.c: In function 'fibheap_delete': ../../gdb/libiberty/fibheap.c:277: warning: incompatible implicit declaration of built-in function 'free' ../../gdb/libiberty/fibheap.c: In function 'fibheap_consolidate': ../../gdb/libiberty/fibheap.c:368: warning: implicit declaration of function 'me mset' ../../gdb/libiberty/fibheap.c:368: warning: incompatible implicit declaration of built-in function 'memset' make[2]: *** [fibheap.o] Error 1 make[2]: Leaving directory `/e/test/build/libiberty' make[1]: *** [all-libiberty] Error 2 make[1]: Leaving directory `/e/test/build' make: *** [all] Error 2 thank you very much. asmwarrior