[ECOS] mips64vr4300 gdb-stub problem

charles root@
Wed Apr 26 15:01:00 GMT 2000

From: charles <root@>
To: ecos-discuss@sourceware.cygnus.com
Date: Fri, 14 Apr 2000 17:19:10 +0800
Subject: [ECOS] mips64vr4300 gdb-stub problem

Hi, all. I've successfully built the Gnu tools for mipsvr4300 and the tests(  in Nt4.0). And I can download the executable file to the 4373 board with the gdb stub, but  I can't get the correct result, it seems that the program keeps running, without stop. The following information is result I get, any help is appreciated, thank you!


bash-2.02$ mips64vr4300-elf-gdb -nw thread_gdb.exe
GNU gdb 20000314
Copyright 1998 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=mips64vr4300-elf"...
(gdb) set remotebaud 38400
(gdb) set mips-force-32bit-saved-gpregs
(gdb) target remote com1
Remote debugging using com1
0xbfc04550 in ?? ()
(gdb) load
Loading section .rom_vectors, size 0xb4 lma 0x80100000
Loading section .text, size 0x6684 lma 0x801000b4
Loading section .ctors, size 0x18 lma 0x80106738
Loading section .dtors, size 0x8 lma 0x80106750
Loading section .rodata, size 0x57c lma 0x80106758
Loading section .data, size 0x5d4 lma 0x80106ce0
Start address 0x801000a4 , load size 29352
Transfer rate: 26090 bits/sec, 481 bytes/write.
(gdb) continue


After some time, I reset the target, I get the follwoing information


Program received signal SIGTRAP, Trace/breakpoint trap.
warning: Warning: GDB can't find the start of the function at 0xbfc04550.

More information about the Ecos-discuss mailing list