i386-elf-gdb Segmentation Fault

sll@libero.it sll@libero.it
Fri Jan 31 08:22:00 GMT 2003


Hi all.

I'm trying to compile gdb+insight on winXP (cygwin) with gcc 2.95.2 for eCos.
I follow istructions from redhat site for cross compilation, with some problem:

Build and install GCC:
    make -w all-gcc install-gcc \ 
      LANGUAGES="c c++" 2>&1 | tee make.out 


Configure Insight:
  ./configure --target=i386-elf \
      --prefix=/tools \
      --exec-prefix=/tools/H-i686-pc-linux-gnu \
      -v 2>&1 | tee configure.out 


Build and install Insight:
    make -w all install 2>&1 | tee make.out 



After few magic,  (get new sources from cvs, rollback to tcl 8.0, hacking some Makefile.. ) finally all compile successfully. When i try to execute gdb, i get a Segmentation Fault. 

$ i386-elf-gdb.exe
GNU gdb 5.3.0.90_2003-01-30-cvs
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "--host=i686-pc-cygwin --target=i386-elf".Segmentatio
n fault (core dumped)


Any Idea?


-=[ SLL ]=-

http://www.sll.it
http://www.modchipnet.com





More information about the Gdb mailing list