This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GDB regression errors : ERROR: couldn't load


Hello,

I am trying to run GDB regression for "RL78" target on Windows environment. I am 
getting "could load error" while running regression (MinGW + msys). Please go 
through given below regression log (verbose = 1), 

Opening log files in gdb.base1
Test Run By SandeepS6 on Mon Jan 20 17:35:47 2014
Target is rl78-unknown-elf
Host   is i686-pc-mingw32

		=== gdb tests ===

Schedule of variations:
    rl78-sim/ -msim 

target is rl78-sim/ -msim 
Running target rl78-sim/ -msim 
dirlist is /c/msys_gdb/msys/home/sandeeps6/gdb/build/boards/D-6530
 /c/msys_gdb/msys/home/SandeepS6/gdb/build/../src/gdb-7.5-20121219/gdb/testsuite/boards/../boards/D-6530
 /c/msys_gdb/msys/home/sandeepS6/dejagnu/prefix/share/dejagnu//baseboards/D-6530 /c/msys_gdb/msys/home/sandeeps6/gdb/build/boards 
/c/msys_gdb/msys/home/SandeepS6/gdb/build/../src/gdb-7.5-20121219/gdb/testsuite/boards/../boards
 /c/msys_gdb/msys/home/sandeepS6/dejagnu/prefix/share/dejagnu//baseboards

Using /c/msys_gdb/msys/home/sandeepS6/dejagnu/prefix/share/dejagnu//baseboards/rl78-sim.exp as board description file for target.
Using /c/msys_gdb/msys/home/sandeepS6/dejagnu/prefix/share/dejagnu//config/sim.exp as generic interface file for target.
Using /c/msys_gdb/msys/home/sandeepS6/dejagnu/prefix/share/dejagnu//baseboards/basic-sim.exp as board description file for target.
Using simulator /usr/home/sandeeps6/gdb/build/rl78-elfbld7.5-20121219-1_win/sim/rl78/run

Transforming gcc to rl78-elf-gcc
compiler is rl78-elf-gcc
No newlib support for this target
Looking for /newlib
No newlib support for this target
Using /c/msys_gdb/msys/home/SandeepS6/gdb/build/../src/gdb-7.5-20121219/gdb/testsuite/config/sim.exp as tool-and-target-specific interface file.
pushing config for target, name is rl78-sim/ -msim 
Running /c/msys_gdb/msys/home/SandeepS6/gdb/build/../src/gdb-7.5-20121219/gdb/testsuite/gdb.base/gcore.exp ...
options are debug
source is /c/msys_gdb/msys/home/SandeepS6/gdb/build/../src/gdb-7.5-20121219/gdb/testsuite/gdb.base/gcore.c /usr/home/sandeeps6/gdb/build/rl78-elfbld7.5-20121219-1_win/gdb/testsuite/gdb.base/gcore executable debug
doing compile
Executing on host: rl78-elf-gcc /c/msys_gdb/msys/home/SandeepS6/gdb/build/../src/gdb-7.5-20121219/gdb/testsuite/gdb.base/gcore.c    -g  -lm   -msim -o /usr/home/sandeeps6/gdb/build/rl78-elfbld7.5-20121219-1_win/gdb/testsuite/gdb.base/gcore    (timeout = 500)
spawn rl78-elf-gcc /c/msys_gdb/msys/home/SandeepS6/gdb/build/../src/gdb-7.5-20121219/gdb/testsuite/gdb.base/gcore.c -g -lm -msim -o /usr/home/sandeeps6/gdb/build/rl78-elfbld7.5-20121219-1_win/gdb/testsuite/gdb.base/gcore 
pid is 4684 -4684
output is  status 0
Spawning /usr/home/sandeeps6/gdb/build/rl78-elfbld7.5-20121219-1_win/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /usr/home/sandeeps6/gdb/build/rl78-elfbld7.5-20121219-1_win/gdb/testsuite/../data-directory 
spawning command /usr/home/sandeeps6/gdb/build/rl78-elfbld7.5-20121219-1_win/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /usr/home/sandeeps6/gdb/build/rl78-elfbld7.5-20121219-1_win/gdb/testsuite/../data-directory  
spawn /usr/home/sandeeps6/gdb/build/rl78-elfbld7.5-20121219-1_win/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /usr/home/sandeeps6/gdb/build/rl78-elfbld7.5-20121219-1_win/gdb/testsuite/../data-directory 
GNU gdb (GDB) 7.5-20121219

Copyright (C) 2012 Free Software Foundation, Inc.

License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software: you are free to change and redistribute it.

There is NO WARRANTY, to the extent permitted by law.  Type "show copying"

and "show warranty" for details.

This GDB was configured as "--host=i686-pc-mingw32 --target=rl78-elf".

For bug reporting instructions, please see:

<http://www.gnu.org/software/gdb/bugs/>.

(gdb) GDB initialized.
set height 0
(gdb) set width 0
(gdb) dir
Reinitialize source path to empty? (y or n) [answered Y; input not from terminal]

Source directories searched: $cdir;$cwd

(gdb) y
(gdb) Undefined command: "y".  Try "help".

kill
(gdb) The program is not being run.

file /usr/home/sandeeps6/gdb/build/rl78-elfbld7.5-20121219-1_win/gdb/testsuite/gdb.base/gcore
(gdb) /usr/home/sandeeps6/gdb/build/rl78-elfbld7.5-20121219-1_win/gdb/testsuite/gdb.base/gcore: No such file or directory.

ERROR: couldn't load /usr/home/sandeeps6/gdb/build/rl78-elfbld7.5-20121219-1_win/gdb/testsuite/gdb.base/gcore into /usr/home/sandeeps6/gdb/build/rl78-elfbld7.5-20121219-1_win/gdb/testsuite/../../gdb/gdb (timed out).
help gcore
Save a core file with the current state of the debugged process.

Argument is optional filename.  Default filename is 'core.<process_id>'.

(gdb) Error/Warning threshold exceeded:  1 0 (max. 1 3)
UNRESOLVED: gdb.base/gcore.exp: help gcore
delete breakpoints
(gdb) info breakpoints
No breakpoints or watchpoints.

(gdb) break main
Make breakpoint pending on future shared library load? (y or [n]) [answered N; input not from terminal]

(gdb) No symbol table is loaded.  Use the "file" command.

FAIL: gdb.base/gcore.exp: setting breakpoint at main (timeout)
UNTESTED: gdb.base/gcore.exp: gcore.exp
Quitting /usr/home/sandeeps6/gdb/build/rl78-elfbld7.5-20121219-1_win/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /usr/home/sandeeps6/gdb/build/rl78-elfbld7.5-20121219-1_win/gdb/testsuite/../data-directory 
doing kill, pid is 7348
pid is 7348
Shell closed.
testcase /c/msys_gdb/msys/home/SandeepS6/gdb/build/../src/gdb-7.5-20121219/gdb/testsuite/gdb.base/gcore.exp completed in 347 seconds
Running /c/msys_gdb/msys/home/SandeepS6/gdb/build/../src/gdb-7.5-20121219/gdb/testsuite/gdb.base/exe-lock.exp ...
options are debug
source is /c/msys_gdb/msys/home/SandeepS6/gdb/build/../src/gdb-7.5-20121219/gdb/testsuite/gdb.base/arrayidx.c /usr/home/sandeeps6/gdb/build/rl78-elfbld7.5-20121219-1_win/gdb/testsuite/gdb.base/arrayidx.exe executable debug doing compile

I am newbie for regression on Windows environment.
Any help will be highly appreciated.


Regards,
Sandeep Kumar Singh
Senior Technical member staff, AESBU - Infotainment & Clusters
KPIT Technologies Limited
Phone: +91-20-66525000 | cell: +91-9730704579
_____________________________________________________
KPIT | Web: www.kpit.com   Social: Facebook | Twitter | Linkedin | Youtube



--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]