[ECOS] mips64vr4300 gdb-stub problem

Ling Su lingsu@palmmicro.com
Thu Aug 10 16:39:00 GMT 2000


I found your following post on the mailing list, and didn't find any answer
for this thread. Now I run into the same situation that you described, after
I type "cont", it just hang there, no response, I checked the signal on PCI
bus, there is nothing active except the clock. It is simple dead after I let
it run.

Have you successfully solve the problem, please please let me know if you
have any clue. Thanks a bounch!


----- Original Message -----
From: "charles" <root@>
To: <ecos-discuss@sourceware.cygnus.com>
Sent: Wednesday, April 26, 2000 3:01 PM
Subject: [ECOS] mips64vr4300 gdb-stub problem

> 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
> 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=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
> Continuing.
> 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