This is the mail archive of the gdb-prs@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]

[Bug gdb/15650] xemacs gdb cleanups.c:264: internal-error: restore_my_cleanups: Assertion '*pmy_chain == SENTINEL_CLEANUP' failed


http://sourceware.org/bugzilla/show_bug.cgi?id=15650

--- Comment #21 from edderic at gmail dot com ---
(In reply to Sergio Durigan Junior from comment #20)
> (In reply to edderic from comment #19)
> > Ok. How do I exactly do that? Do I need to find the source code for gdb and
> > recompile it with -g and -O0? Sorry, I am not as skilled as any of you yet ;)
> 
> I am not experienced with Windows/Cygwin, but yes, he meant you need to get
> the GDB source and compile it with -g and -O0.  It would be interesting if
> you could build using the latest CVS version.  To get it, you can do a:
> 
> "cvs -d :pserver:anoncvs@sourceware.org:/cvs/src co gdb"
> 
> [Assuming CVS is installed on your system.]  It will checkout the source
> code inside a directory called "src/".  Then, you can compile GDB:
> 
> $ cd src && mkdir mybuild && cd mybuild
> $ ./configure CFLAGS='-g -O0' # check for missing deps here, install them
> $ make
> 
> If everything works, you should have a GDB binary on the "gdb/" directory
> (inside "mybuild/").  Then, you can try to reproduce the error with it, and
> get a proper backtrace from it.

Thanks for the help, Sergio.

So I downloaded the files and the src folder was in the desktop. I did the
./configure CFLAGS='-g -O0' command when the current directory is .../src and I
got the following below.

The first dependency that configure can't find is "gnatbind". I tried searching
online for gnatbind source code or executable but I can't find it anywhere. I
also did "locate gnatbind" and "which gnatbind" and it is non-existent. Any
ideas where I can find it?


UR@L1-JPS-228-T /cygdrive/c/Users/UR/Desktop/src
$ ./configure CFLAGS='-g -O0'
checking build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
checking target system type... i686-pc-cygwin
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /usr/bin/sed
checking for gawk... gawk
checking to see if cat works as expected... yes
checking for gcc... gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether g++ accepts -static-libstdc++ -static-libgcc... no
checking for gnatbind... no
checking for gnatmake... no
checking whether compiler driver understands Ada... no
checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1
$$f2
checking for objdir... .libs
checking for version 0.10 of ISL... no
checking for version 0.11 of ISL... no
checking for default BUILD_CONFIG...
checking for bison... no
checking for byacc... no
checking for yacc... no
checking for bison... no
checking for gm4... no
checking for gnum4... no
checking for m4... no
checking for flex... no
checking for lex... no
checking for flex... no
checking for makeinfo... makeinfo
checking for expect... no
checking for runtest... no
checking for ar... ar
checking for as... as
checking for dlltool... dlltool
checking for ld... (cached)
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld.exe
checking for lipo... no
checking for nm... nm
checking for ranlib... ranlib
checking for strip... strip
checking for windres... windres
checking for windmc... windmc
checking for objcopy... objcopy
checking for objdump... objdump
checking for readelf... readelf
checking for cc... cc
checking for c++... c++
checking for gcc... gcc
checking for gcj... no
checking for gfortran... gfortran
checking for gccgo... no
checking for ar... ar
checking for as... as
checking for dlltool... dlltool
checking for ld... ld
checking for lipo... no
checking for nm... nm
checking for objdump... objdump
checking for ranlib... ranlib
checking for readelf... readelf
checking for strip... strip
checking for windres... windres
checking for windmc... windmc
checking where to find the target ar... host tool
checking where to find the target as... host tool
checking where to find the target cc... host tool
checking where to find the target c++... host tool
checking where to find the target c++ for libstdc++... host tool
checking where to find the target dlltool... host tool
checking where to find the target gcc... host tool
checking where to find the target gcj... host tool
checking where to find the target gfortran... host tool
checking where to find the target gccgo... host tool
checking where to find the target ld... host tool
checking where to find the target lipo... host tool
checking where to find the target nm... host tool
checking where to find the target objdump... host tool
checking where to find the target ranlib... host tool
checking where to find the target readelf... host tool
checking where to find the target strip... host tool
checking where to find the target windres... host tool
checking where to find the target windmc... host tool
checking whether to enable maintainer-specific portions of Makefiles... no
configure: creating ./config.status
config.status: creating Makefile

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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