[#5826] gdb.cp/userdef.exp fails to load executable's loadmap in fdpic testing

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

[#5826] gdb.cp/userdef.exp fails to load executable's loadmap in fdpic testing

Submitted By: Mingquan Pan

Open Date

2010-01-14 02:12:58     Close Date

2010-07-13 05:58:57

Priority:

Medium High     Assignee:

Nobody

Board:

N/A     Silicon Revision:

Resolution:

Out of Date     Fixed In Release:

N/A

Processor:

BF537     

Host Operating System:

toolchain rev.:

4.3 trunk head     kernel rev.:

State:

Closed     Found In Release:

2010R1

Is this bug repeatable?:

N/A     

Summary: gdb.cp/userdef.exp fails to load executable's loadmap in fdpic testing

Details:

 

gdb.cp/userdef.exp fails to load executable's loadmap in fdpic testing from about Jan 4 frequently on serveral boards except bf561-ezkit.

 

log is:

 

Running /home/test/work/cruise/checkouts/toolchain/binutils-2.17/gdb/testsuite/gdb.cp/userdef.exp ...

Executing on host: bfin-linux-uclibc-g++ /home/test/work/cruise/checkouts/toolchain/binutils-2.17/gdb/testsuite/gdb.cp/userdef.cc     -g  -lm  -mcpu=bf537-0.2 -o /home/test/work/cruise/temp/regtest_build4.3/binutils_build/gdb-test/gdb.cp/userdef    (timeout = 300)                                              spawn bfin-linux-uclibc-g++ /home/test/work/cruise/checkouts/toolchain/binutils-2.17/gdb/testsuite/gdb.cp/userdef.cc -g -lm -mcpu=bf537-0.2 -o /home/test/work/cruise/temp/regtest_build4.3/binutils_build/gdb-test/gdb.cp/userdef^M                                                                                  spawn bfin-linux-uclibc-gdb -nw -nx^M                                                                                                                      ^[[?1034hGNU gdb 6.6^M                                                                                                                                     Copyright (C) 2006 Free Software Foundation, Inc.^M                                                                                                        GDB is free software, covered by the GNU General Public License, and you are^M                                                                             welcome to change it and/or distribute copies of it under certain conditions.^M                                                                            Type "show copying" to see the conditions.^M                                                                                                               There is absolutely no warranty for GDB.  Type "show warranty" for details.^M                                                                              This GDB was configured as "--host=i686-pc-linux-gnu --target=bfin-linux-uclibc".^M                                                                        (gdb) set height 0^M                                                                                                                                       (gdb) set width 0^M                                                                                                                                        (gdb) dir^M                                                                                                                                                Reinitialize source path to empty? (y or n) y^M                                                                                                            Source directories searched: $cdir:$cwd^M                                                                                                                  (gdb) dir /home/test/work/cruise/checkouts/toolchain/binutils-2.17/gdb/testsuite/gdb.cp^M                                                                  Source directories searched: /home/test/work/cruise/checkouts/toolchain/binutils-2.17/gdb/testsuite/gdb.cp:$cdir:$cwd^M                                    (gdb) spawn rsh -lroot 10.100.4.50 gdbserver :2739 /tmp/userdef.30223^M                                                                                    Process /tmp/userdef.30223 created; pid = 23759^M                                                                                                          Listening on port 2739^M                                                                                                                                   kill^M                                                                                                                                                     The program is not being run.^M                                                                                                                            (gdb) file /home/test/work/cruise/temp/regtest_build4.3/binutils_build/gdb-test/gdb.cp/userdef^M                                                           Reading symbols from /home/test/work/cruise/temp/regtest_build4.3/binutils_build/gdb-test/gdb.cp/userdef...done.^M                                         (gdb) target remote 10.100.4.50:2739^M                                                                                                                     Remote debugging using 10.100.4.50:2739^M                                                                                                                  Remote debugging from host 10.100.4.174^M                                                                                                                  0x00639120 in ?? ()^M                                                                                                                                      (gdb) delete breakpoints^M                                                                                                                                 (gdb) info breakpoints^M                                                                                                                                   No breakpoints or watchpoints.^M                                                                                                                           (gdb) break main^M                                                                                                                                         Breakpoint 1 at 0x631548: file /home/test/work/cruise/checkouts/toolchain/binutils-2.17/gdb/testsuite/gdb.cp/userdef.cc, line 330.^M                       (gdb) spawn rsh -lroot 10.100.4.50 gdbserver :2740 /tmp/userdef.30223^M                                                                                    Process /tmp/userdef.30223 created; pid = 23763^M                                                                                                          Can't bind address: Address already in use.^M                                                                                                              Exiting^M                                                                                                                                                  target remote 10.100.4.50:2740^M                                                                                                                           A program is being debugged already.  Kill it? (y or n) y^M                                                                                                Killing inferior^M                                                                                                                                         Remote debugging using 10.100.4.50:2740^M                                                                                                                  Unable to load the executable's loadmap.^M                                                                                                                 (gdb) continue^M                                                                                                                                           The program is not being run.^M                                                                                                                            (gdb) ^M                                                                                                                                                   x = 2^M                                                         ...

...

preinc ^M

x = -3^M

y = -4^M

-------^M

UNRESOLVED: gdb.cp/userdef.exp: running to main in runto

ERROR: couldn't run to breakpoint

 

 

The last know good version is:

************** Tested toolchain svn info ***************

D    win32/Prerequisites/driver-signing/Certs

A    win32/Prerequisites/driver-signing/certs

U    win32/Makefile

Updated to revision 3792.

Path: .

URL: svn://10.99.29.20/toolchain/trunk

Repository Root: svn://10.99.29.20/toolchain

Repository UUID: 2adf4935-75e9-4407-93b2-34b21a1880a4

Revision: 3792

Node Kind: directory

Schedule: normal

Last Changed Author: vapier

Last Changed Rev: 3792

Last Changed Date: 2010-01-02 12:36:46 +0800 (Sat, 02 Jan 2010)

************** Tested U-Boot svn info ******************

At revision 2199.

Path: .

URL: svn://10.99.29.20/u-boot/trunk

Repository Root: svn://10.99.29.20/u-boot

Repository UUID: e8ad1c53-384c-47db-b5ce-66ae1f620dea

Revision: 2199

Node Kind: directory

Schedule: normal

Last Changed Author: vivili

Last Changed Rev: 2199

Last Changed Date: 2009-12-29 14:30:33 +0800 (Tue, 29 Dec 2009)

************* Tested uclinux-dist svn info *************

At revision 9334.

Path: .

URL: svn://10.99.29.20/uclinux-dist/trunk

Repository Root: svn://10.99.29.20/uclinux-dist

Repository UUID: 3e2a5524-39e8-4cb9-84a9-c49da69cba3a

Revision: 9334

Node Kind: directory

Schedule: normal

Last Changed Author: vivili

Last Changed Rev: 9334

Last Changed Date: 2009-12-31 17:39:23 +0800 (Thu, 31 Dec 2009)

************* Tested linux svn info ********************

At revision 8107.

Path: .

URL: svn://10.99.29.20/linux-kernel/trunk

Repository Root: svn://10.99.29.20/linux-kernel

Repository UUID: 526b6c2d-f592-4532-a319-5dd88ccb003d

Revision: 8107

Node Kind: directory

Schedule: normal

Last Changed Author: cliff

Last Changed Rev: 8107

Last Changed Date: 2009-12-31 17:44:01 +0800 (Thu, 31 Dec 2009)

 

Testing is running on target with following versions:

kernel:    Linux release 2.6.32.2-ADI-2010R1-pre-svn8107, build #40 Sun Jan 3 19:18:47 CST 2010

toolchain: bfin-uclinux-gcc release gcc version 4.3.4 (ADI-trunk/svn-3771)

user-dist: release svn-9334, build #14 Sun Jan 3 19:15:43 CST 2010

 

 

but it looks the versions of the failed testing doesn't change much since that.

 

************** Tested toolchain svn info ***************

At revision 3792.

Path: .

URL: svn://10.99.29.20/toolchain/trunk

Repository Root: svn://10.99.29.20/toolchain

Repository UUID: 2adf4935-75e9-4407-93b2-34b21a1880a4

Revision: 3792

Node Kind: directory

Schedule: normal

Last Changed Author: vapier

Last Changed Rev: 3792

Last Changed Date: 2010-01-02 12:36:46 +0800 (Sat, 02 Jan 2010)

************** Tested U-Boot svn info ******************

At revision 2199.

Path: .

URL: svn://10.99.29.20/u-boot/trunk

Repository Root: svn://10.99.29.20/u-boot

Repository UUID: e8ad1c53-384c-47db-b5ce-66ae1f620dea

Revision: 2199

Node Kind: directory

Schedule: normal

Last Changed Author: vivili

Last Changed Rev: 2199

Last Changed Date: 2009-12-29 14:30:33 +0800 (Tue, 29 Dec 2009)

************* Tested uclinux-dist svn info *************

U    testsuites/kernel_test

U    testsuites/ltp/config/passwd

U    testsuites/kgdb/kgdb_test.exp

Updated to revision 9336.

Path: .

URL: svn://10.99.29.20/uclinux-dist/trunk

Repository Root: svn://10.99.29.20/uclinux-dist

Repository UUID: 3e2a5524-39e8-4cb9-84a9-c49da69cba3a

Revision: 9336

Node Kind: directory

Schedule: normal

Last Changed Author: vivili

Last Changed Rev: 9336

Last Changed Date: 2010-01-04 12:59:39 +0800 (Mon, 04 Jan 2010)

************* Tested linux svn info ********************

At revision 8107.

Path: .

URL: svn://10.99.29.20/linux-kernel/trunk

Repository Root: svn://10.99.29.20/linux-kernel

Repository UUID: 526b6c2d-f592-4532-a319-5dd88ccb003d

Revision: 8107

Node Kind: directory

Schedule: normal

Last Changed Author: cliff

Last Changed Rev: 8107

Last Changed Date: 2009-12-31 17:44:01 +0800 (Thu, 31 Dec 2009)

 

Testing is running on target with following versions:

kernel:    Linux release 2.6.32.2-ADI-2010R1-pre-svn8107, build #46 Mon Jan 4 21:30:32 CST 2010

toolchain: bfin-uclinux-gcc release gcc version 4.3.4 (ADI-trunk/svn-3771)

user-dist: release svn-9336, build #16 Mon Jan 4 21:27:30 CST 2010

 

 

 

Follow-ups

 

--- Vivi Li                                                  2010-07-13 05:58:57

Can not see this bug now. Out of date.

Close it.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes