[#6245] On some regression machines, gdb tests can not finish due to tcl error

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

[#6245] On some regression machines, gdb tests can not finish due to tcl error

Submitted By: Vivi Li

Open Date

2010-09-07 07:17:49     Close Date

2010-09-07 23:23:50

Priority:

Medium High     Assignee:

Nobody

Board:

N/A     Silicon Revision:

Resolution:

Fixed     Fixed In Release:

N/A

Processor:

ALL     

Host Operating System:

toolchain rev.:

    kernel rev.:

State:

Closed     Found In Release:

N/A

Is this bug repeatable?:

N/A     

Summary: On some regression machines, gdb tests can not finish due to tcl error

Details:

 

On two regression machines(40&42), most gdb tests can not finish due to tcl error. This occurred with bfin-linux-uclibc and bfin-uclinux.

 

Bellow is one example:

--

Source directories searched: $cdir:$cwd^M

(gdb) dir /home/test/work/cruise/checkouts/toolchain/binutils-2.17/gdb/testsuite ^M/gdb.base^M

Source directories searched: /home/test/work/cruise/checkouts/toolchain/binutils-2.17/gdb/testsuite/gdb.base:$cdir:$cwd^M

(gdb) ERROR: tcl error sourcing /home/test/work/cruise/checkouts/toolchain/binutils-2.17/gdb/testsuite/gdb.base/advance.exp.

ERROR: can't read "username": no such variable

    while executing

"set rsh_useropts "-l $username""

    invoked from within

"if ![board_info $dest exists username] {

        set rsh_useropts ""

    } else {

        set rsh_useropts "-l $username"

    }"

    (procedure "standard_spawn" line 14)

    invoked from within

"standard_spawn "bfin-linux-uclibc" {gdbserver 10.100.4.50:2346 /tmp/advance.6860}"

    ("eval" body line 1)

    invoked from within

"eval ${try}_${proc} \"$dest\" $args"

    (procedure "call_remote" line 57)

    invoked from within

"call_remote "" spawn "$dest" "$commandline""

    (procedure "remote_spawn" line 60)

    invoked from within

"remote_spawn target $gdbserver_command"

    (procedure "gdbserver_spawn" line 68)

    invoked from within

"gdbserver_spawn $gdbserver_server_exec $child_args"

    (procedure "gdbserver_load" line 23)

    invoked from within

"gdbserver_load $arg """

    (procedure "gdb_load" line 2)

    invoked from within

"gdb_load ${binfile}"

    (file "/home/test/work/cruise/checkouts/toolchain/binutils-2.17/gdb/testsuite/gdb.base/advance.exp" line 39)

    invoked from within

"source /home/test/work/cruise/checkouts/toolchain/binutils-2.17/gdb/testsuite/gdb.base/advance.exp"

    ("uplevel" body line 1)

    invoked from within

--

 

Follow-ups

 

--- Mike Frysinger                                           2010-09-07 12:15:09

did you apply the dejagnu patch as documented in the wiki ?

 

--- Vivi Li                                                  2010-09-07 23:23:49

I mistakenly removed the patch of remote.exp.

It's OK now. Thanks!

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes