[#6317] During toolchain test through ICE-100B, sometimes gdb fail to connect to gdbproxy

Document created by Aaronwu Employee on Oct 17, 2013
Version 1Show Document
  • View in full screen mode

[#6317] During toolchain test through ICE-100B, sometimes gdb fail to connect to gdbproxy

Submitted By: Vivi Li

Open Date

2010-10-26 05:44:58    

Priority:

Medium     Assignee:

Nobody

Board:

N/A     Silicon Revision:

Resolution:

N/A     Fixed In Release:

N/A

Processor:

ALL     

Host Operating System:

toolchain rev.:

    kernel rev.:

State:

Open     Found In Release:

2010R1

Is this bug repeatable?:

N/A     

Summary: During toolchain test through ICE-100B, sometimes gdb fail to connect to gdbproxy

Details:

 

During toolchain test through ICE-100B, sometimes gdb fail to connect to gdbproxy.

 

Bellow is an example in gcc test log:

--

spawn bfin-elf-gdb -nw -nx

^[[?1034hGNU gdb 6.6

Copyright (C) 2006 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-linux-gnu --target=bfin-elf".

(gdb) set height 0

(gdb) set width 0

(gdb) delete breakpoints

(gdb) info breakpoints

No breakpoints or watchpoints.

(gdb) file /home/test/work/cruise/temp/regtest_build4.3/gcc_build/testsuite/abs_ fr1x16-1.x0

Reading symbols from /home/test/work/cruise/temp/regtest_build4.3/gcc_build/testsuite/abs_fr1x16-1.x0...done.

(gdb) break _exit

Breakpoint 1 at 0xffa01118: file /usr/src/packages/BUILD/blackfin-toolchain-2010R1/gcc-4.3/libgloss/libnosys/_exit.c, line 13.

(gdb) break abort

Breakpoint 2 at 0xffa0029c: file /usr/src/packages/BUILD/blackfin-toolchain-2010R1/gcc-4.3/newlib/libc/stdlib/abort.c, line 62.

(gdb) target remote :2000

:2000: Connection refused.

(gdb) WARNING: Unable to connect to :2000 with GDB.

quit

UNTESTED: gcc.target/bfin/builtins/abs_fr1x16-1.c execution,

--

 

Bellow is the log of gdbproxy:

--

./bfin-gdbproxy bfin

 

Remote proxy for GDB, v0.7.2, Copyright (C) 1999 Quality Quorum Inc.

MSP430 adaption Copyright (C) 2002 Chris Liechti and Steve Underwood

Blackfin adaption Copyright (C) 2008 Analog Devices, Inc.

 

GDBproxy comes with ABSOLUTELY NO WARRANTY; for details

use `--warranty' option. This is Open Source software. You are

welcome to redistribute it under certain conditions. Use the

'--copying' option for details.

 

Found USB cable: ICE-100B

ICE-100B Firmware Version is 2.0.0

IR length: 5

Chain length: 1

Device Id: 00100010011111001000000011001011 (0x227C80CB)

  Manufacturer: Analog Devices, Inc. (0x0CB)

  Part(0):      BF537 (0x27C8)

  Stepping:     2

  Filename:     ./../share/urjtag/analog/bf537/bf537

/usr/src/packages/BUILD/blackfin-toolchain-2010R1/urjtag/src/bfin/bfin-part-bfin.c:154 bfin_wait_ready() Warning: untested cable or frequency, set wait_clocks to 21

warning:   bfin: no board selected, BF537 is detected

notice:    bfin: jc: waiting on TCP port 2001

notice:    bfin: jc:  (you must connect GDB before using jtag console)

notice:    bfin-gdbproxy: waiting on TCP port 2000

GDBproxy is already been started.notice:    bfin-gdbproxy: connected

info:      [0] core fault: DBGSTAT [0x4050]

info:      Resetting ...

info:      bfin-gdbproxy: session killed. Will wait for a new connection

notice:    bfin-gdbproxy: connected

info:      bfin: [0] a double fault has occured EMUPC [0x20000000]

error:     bfin: [0] CORE FAULT core cannot read register [15]

info:      bfin-gdbproxy: session killed. Will wait for a new connection

notice:    bfin-gdbproxy: connected

info:      [0] core fault: DBGSTAT [0x405C]

info:      Resetting ...

--

 

Follow-ups

No Messages Were Found

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes