This is the mail archive of the gdb@sources.redhat.com 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]

gdb for target mn10300 not working


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

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=i386-cygwin32
--target=mn10300-elf"...
(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
Solutions/eCos_121/prebuilt/v1_2_1/mn1
0300-stdeval1-rom/tests/kernel/thread_gdb.exe
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
dispatch.
Program received signal SIGSEGV, Segmentation fault.
0x400000c3 in start ()
(gdb)

------------------------------------------------------------------------------

thanks , Dany



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