This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gdb with python support still get crash on showing uninitialized local variables


On 2010-10-23 5:21, Eli Zaretskii wrote:
From: Tom Tromey<tromey@redhat.com>
Cc: "gdb\@sourceware.org"<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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]