[#6563] gdb testsuite can't get run now

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

[#6563] gdb testsuite can't get run now

Submitted By: Mingquan Pan

Open Date

2011-04-29 02:08:47     Close Date

2011-05-12 03:15:08

Priority:

Medium High     Assignee:

Mike Frysinger

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:

2011R1

Is this bug repeatable?:

N/A     

Summary: gdb testsuite can't get run now

Details:

 

gdb testsuite can't get run now since the new binutils folder includes no gdb staff while the toolchain-regtest script always take the binutils version as gdb version, the gdb under binutils 2.17 isn't found.

 

test@43-bf561-toolchain:~/work/cruise/checkouts/toolchain/buildscript> ./toolchain-regtest -s ~/work/cruise/checkouts/toolchain -o ~/work/cruise/test_scripts/toolchain/toolchain-build/toolchain-2011_Apr_28_11_11/bfin -b /home/test/temp0429/regtest_build43 -t elf-sim  -a -L gdb

Targets:                    elf-sim

Components:                 gdb

Host:                       i686-pc-linux-gnu

Build:                      i686-pc-linux-gnu

Toolchain source:           /home/test/work/cruise/checkouts/toolchain

Path to logs output dir:    /home/test/temp0429/regtest_build43/logs

Path to tests output dir:   /home/test/temp0429/regtest_build43/tests

Path to elf-sim output dir: /home/test/temp0429/regtest_build43/tests/elf-sim

Previous elf-sim test logs: /home/test/work/cruise/checkouts/toolchain/buildscript/test_results/elf-sim

Creating log file:          /home/test/temp0429/regtest_build43/logs/log

Path to boards output dir:  /home/test/temp0429/regtest_build43/boards

*** Testing bfin-elf via simulator                          29 Apr 2011 14:16:05

*** Found old processes (Xvfb rsh); killing them to avoid   29 Apr 2011 14:16:05

    confusing the testsuites

gdb version:                6.6

gdb path:                   /home/test/work/cruise/test_scripts/toolchain/toolchain-build/toolchain-2011_Apr_28_11_11/bfin-elf/bin

binutils version:           2.21

binutils path:              /home/test/work/cruise/test_scripts/toolchain/toolchain-build/toolchain-2011_Apr_28_11_11/bfin-elf/bin

*** Running tests on gdb                                    29 Apr 2011 14:16:05

No testsuite for gdb 2.21 in /home/test/work/cruise/checkouts/toolchain/binutils-2.21/gdb/testsuite

*** Legacify result names                                   29 Apr 2011 14:16:05

*** Done testing - results                                  29 Apr 2011 14:16:05

 

 

Follow-ups

 

--- Mingquan Pan                                             2011-05-03 00:56:38

I have ever tried to let the gdb test find the testsuites under binutils-2.17 by

giving the version number explicitly, by it looks still have some problem. It

can't find the right board file.

 

Test Run By test on Tue May  3 13:19:57 2011

Target is bfin-unknown-elf

Host   is i686-pc-linux-gnu

 

                === gdb tests ===

 

Schedule of variations:

    bfin-elf-sim

 

Running target bfin-elf-sim

Using

/home/test/work/cruise/checkouts/toolchain/buildscript/boards/bfin-elf-sim.exp

as board description file for target.

Using

/home/test/work/cruise/checkouts/toolchain/buildscript/boards/bfin-fmt-elf.exp

as generic interface file for target.

Using

/home/test/work/cruise/checkouts/toolchain/buildscript/boards/bfin-fmt.exp as

generic interface file for target.

No libgloss support for this target.

Using

/home/test/work/cruise/checkouts/toolchain/buildscript/boards/bfin-target-sim.exp

as generic interface file for target.

Using /usr/share/dejagnu/config/sim.exp as generic interface file for target.

Using /usr/share/dejagnu/baseboards/basic-sim.exp as board description file for

target.

Using

/home/test/work/cruise/checkouts/toolchain/binutils-2.17/gdb/testsuite/config/unknown.exp

as tool-and-target-specific interface file.

ERROR: Sorry, there is no support for this target

~

 

--- Mike Frysinger                                           2011-05-10 22:50:09

the toolchain-regtest now searches for the gdb tree independently of binutils

 

i also fixed the target error by forcing the target_os to sim for bfin-elf-sim

 

--- Mingquan Pan                                             2011-05-11 05:09:43

Though it is getting running for gdb elf-sim testing, it looks still can't find

the right board for testing in uclinux and linux-uclibc.

 

Test Run By test on Wed May 11 17:19:22 2011

Target is bfin-unknown-linux-uclibc

Host   is i686-pc-linux-gnu

 

                === gdb tests ===

 

Schedule of variations:

    bfin-linux-uclibc

 

Running target bfin-linux-uclibc

Using

/home/test/work/cruise/checkouts/toolchain/buildscript/boards/bfin-linux-uclibc.exp

as board description file for target.

Using

/home/test/work/cruise/checkouts/toolchain/buildscript/boards/bfin-fmt-fdpic.exp

as generic interface file for target.

Using

/home/test/work/cruise/checkouts/toolchain/buildscript/boards/bfin-fmt.exp as

generic interface file for target.

Using

/home/test/work/cruise/checkouts/toolchain/buildscript/boards/bfin-target-linux.exp

as generic interface file for target.

Using

/home/test/work/cruise/checkouts/toolchain/binutils-2.17/gdb/testsuite/config/unknown.exp

as tool-and-target-specific interface file.

ERROR: Sorry, there is no support for this target

~

 

--- Mike Frysinger                                           2011-05-11 17:30:25

ive rewritten the loading of fragments and it seems to address this issue for

all boards ...

 

--- Mingquan Pan                                             2011-05-12 03:15:08

Yes, with your rewritten patch, the gdb test can run all three targets now. So

close this bug. Thanks.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes