gdb for target mn10300 not working

Dany Ravikovitch
Thu Jul 27 01:01:00 GMT 2000

hello mainteiner.
i have trouble to build gdb for mn10300 target on winnt cygnus host.
the sources version is 5.0
the config command was :

mkdir -p //e/tmp/build/gdb_db
cd //etmp/build/gdb_db
//e/src/gdb/gdb-5.0/configure --target=mn10300-elf \
    --host=i386-cygwin32 \
    --prefix=//e/tools \
    --exec-prefix=/cygnus/cygwin-b20/h-i586-pc-cygwin \
    -v 2>&1 | tee configure.out

the make command was :

make -w all install 2>&1 | tee make.out

it seems that only 'libmmalloc.a' was generated and installed.
please write me directions how to install gcc .

2. the file mn10300-elf-gdb.exe was generated when i installed insight (
other installation ).
    i dont know how to run insight
    i tried to run mn10300-elf-gdb on precompiled tests and got
Segmentation fault.
    what is the problem ?

the invocation : mn10300-elf-gdb.exe -nw thread_gdb
the log:

GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you

welcome to change it and/or distribute copies of it under certain
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
This GDB was configured as "--host=i386-cygwin32
(gdb) msim
Undefined command: "msim".  Try "help".
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .rom_vectors, size 0xc0 lma 0x40000000
Loading section .text, size 0x2ffa lma 0x400000c0
Loading section .rodata, size 0x432 lma 0x400030ba
Loading section .data, size 0x18c lma 0x400034ec
Start address 0x40000000
Transfer rate: 111552 bits in <1 sec.
(gdb) run
Starting program: /D/Program Files/Cygnus
mn10300-core: 2 byte write to unmapped address 0x32000020 at 0x400000c3
mn10300-core: 4 byte write to unmapped address 0xfffffffc at 0x400000c3
ERROR: recursion in program_interrupt during software exception
Program received signal SIGSEGV, Segmentation fault.
0x400000c3 in start ()


thanks , Dany

More information about the Gdb mailing list