dejagnu
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Failing to run gdb test cases on remote host


From: vishnuvarma
Subject: Failing to run gdb test cases on remote host
Date: Fri, 17 Oct 2008 15:44:58 +0530

Hi,
 
I have two system both with suse9 linux say A, B. I like to test gdb which is running in B by running gdb testsuite on System A. All test cases are getting failed or showing as unresolved test cases. I am using below command to run gdb testsuite in gdb testsuite folder.
 
runtest --all --host_board livegdb
 
my live gdb file contains  below lines:
 
      load_generic_config "gdb"
      set_board_info gdb_prompt "
\\(gdb\\)"
      set_board_info compiler /usr/bin/gcc
      set_board_info gdb /usr/bin/gdb
      set_board_info rsh_prog /usr/bin/ssh
      set_board_info rcp_prog /usr/bin/scp
      set_board_info protocol standard
      set_board_info hostname target
      set_board_info username root
 
I am very new to dejagnu. please help me in solving this problem.
Below is some part of output i am getting:
 
 runtest --all --host_board livegdb
WARNING: Couldn't find the global config file.
Test Run By vishnu on Fri Oct 17 15:42:24 2008
Native configuration is i686-pc-linux-gnu
 
 
                === gdb tests ===
 
Using /usr/local/share/dejagnu/baseboards/livegdb.exp as board description file for host.
I am in baseboards/livegdb.exp
Schedule of variations:
    unix
 
Running target unix
Using /usr/local/share/dejagnu/baseboards/unix.exp as board description file for target.
Using /usr/local/share/dejagnu/config/unix.exp as generic interface file for target.
Using ./config/unix.exp as tool-and-target-specific interface file.
Running ./gdb.arch/alpha-step.exp ...
Running ./gdb.arch/altivec-abi.exp ...
Running ./gdb.arch/altivec-regs.exp ...
Running ./gdb.arch/e500-abi.exp ...
Running ./gdb.arch/e500-prologue.exp ...
Running ./gdb.arch/e500-regs.exp ...
Running ./gdb.arch/gdb1291.exp ...
Running ./gdb.arch/gdb1431.exp ...
Running ./gdb.arch/gdb1558.exp ...
Running ./gdb.arch/i386-gnu-cfi.exp ...
WARNING: Couldn't set the height to 0
WARNING: Couldn't set the width to 0.
WARNING: remote_expect statement without a default case?!
ERROR: couldn't load i386-gnu-cfi into gdb (end of file).
WARNING: remote_expect statement without a default case?!
ERROR: Process no longer exists
UNRESOLVED: gdb.arch/i386-gnu-cfi.exp: continue to abort()
Running ./gdb.arch/i386-prologue.exp ...
WARNING: Couldn't set the height to 0
WARNING: Couldn't set the width to 0.
WARNING: remote_expect statement without a default case?!
ERROR: couldn't load i386-prologue into gdb (end of file).
ERROR: Delete all breakpoints in delete_breakpoints (timeout)
UNRESOLVED: gdb.arch/i386-prologue.exp: setting breakpoint at main (timeout)
ERROR: Couldn't send continue to GDB.
UNRESOLVED: gdb.arch/i386-prologue.exp: continue to standard
ERROR: Couldn't send if (*(unsigned char *)$pc == 0xcc)
set $pc = $pc + 1
end to GDB.
UNRESOLVED: gdb.arch/i386-prologue.exp: skip breakpoint in standard
ERROR: Couldn't send backtrace 10 to GDB.
UNRESOLVED: gdb.arch/i386-prologue.exp: backtrace in standard
ERROR: Couldn't send info frame to GDB.
UNRESOLVED: gdb.arch/i386-prologue.exp: saved registers in standard
ERROR: Couldn't send break *(stack_align_ecx + 7) to GDB.
UNRESOLVED: gdb.arch/i386-prologue.exp: break *(stack_align_ecx + 7)
ERROR: Couldn't send continue to GDB.
UNRESOLVED: gdb.arch/i386-prologue.exp: continue to stack_align_ecx + 7
ERROR: Couldn't send backtrace 10 to GDB.
UNRESOLVED: gdb.arch/i386-prologue.exp: first backtrace in stack_align_ecx
ERROR: Couldn't send continue to GDB.
UNRESOLVED: gdb.arch/i386-prologue.exp: continue in stack_align_ecx
ERROR: Couldn't send if (*(unsigned char *)$pc == 0xcc)
set $pc = $pc + 1
end to GDB.
UNRESOLVED: gdb.arch/i386-prologue.exp: skip breakpoint in stack_align_ecx
ERROR: Couldn't send backtrace 10 to GDB.
UNRESOLVED: gdb.arch/i386-prologue.exp: second backtrace in stack_align_ecx
ERROR: Couldn't send info frame to GDB.
UNRESOLVED: gdb.arch/i386-prologue.exp: saved registers in stack_align_ecx
ERROR: Couldn't send break *(stack_align_edx + 7) to GDB.
UNRESOLVED: gdb.arch/i386-prologue.exp: break *(stack_align_edx + 7)
ERROR: Couldn't send continue to GDB.
UNRESOLVED: gdb.arch/i386-prologue.exp: continue to stack_align_edx + 7
ERROR: Couldn't send backtrace 10 to GDB.
UNRESOLVED: gdb.arch/i386-prologue.exp: first backtrace in stack_align_edx
ERROR: Couldn't send continue to GDB.
UNRESOLVED: gdb.arch/i386-prologue.exp: continue in stack_align_edx
ERROR: Couldn't send if (*(unsigned char *)$pc == 0xcc)
set $pc = $pc + 1
end to GDB.
UNRESOLVED: gdb.arch/i386-prologue.exp: skip breakpoint in stack_align_edx
ERROR: Couldn't send backtrace 10 to GDB.
UNRESOLVED: gdb.arch/i386-prologue.exp: second backtrace in stack_align_edx
ERROR: Couldn't send info frame to GDB.
UNRESOLVED: gdb.arch/i386-prologue.exp: saved registers in stack_align_edx
ERROR: Couldn't send break *(stack_align_eax + 7) to GDB.
UNRESOLVED: gdb.arch/i386-prologue.exp: break *(stack_align_eax + 7)
ERROR: Couldn't send continue to GDB.
UNRESOLVED: gdb.arch/i386-prologue.exp: continue to stack_align_eax + 7
ERROR: Couldn't send backtrace 10 to GDB.
UNRESOLVED: gdb.arch/i386-prologue.exp: first backtrace in stack_align_eax
ERROR: Couldn't send continue to GDB.
UNRESOLVED: gdb.arch/i386-prologue.exp: continue in stack_align_eax
ERROR: Couldn't send if (*(unsigned char *)$pc == 0xcc)
set $pc = $pc + 1
end to GDB.
UNRESOLVED: gdb.arch/i386-prologue.exp: skip breakpoint in stack_align_eax
ERROR: Couldn't send backtrace 10 to GDB.
UNRESOLVED: gdb.arch/i386-prologue.exp: second backtrace in stack_align_eax
ERROR: Couldn't send info frame to GDB.
UNRESOLVED: gdb.arch/i386-prologue.exp: saved registers in stack_align_eax
ERROR: Couldn't send continue to GDB.
UNRESOLVED: gdb.arch/i386-prologue.exp: continue to gdb1253
ERROR: Couldn't send if (*(unsigned char *)$pc == 0xcc)
set $pc = $pc + 1
end to GDB.
UNRESOLVED: gdb.arch/i386-prologue.exp: skip breakpoint in gdb1253
ERROR: Couldn't send backtrace 10 to GDB.
UNRESOLVED: gdb.arch/i386-prologue.exp: backtrace in gdb1253
ERROR: Couldn't send info frame to GDB.
UNRESOLVED: gdb.arch/i386-prologue.exp: saved registers in gdb1253
ERROR: Couldn't send continue to GDB.
UNRESOLVED: gdb.arch/i386-prologue.exp: continue to gdb1718
ERROR: Couldn't send if (*(unsigned char *)$pc == 0xcc)
set $pc = $pc + 1
end to GDB.
UNRESOLVED: gdb.arch/i386-prologue.exp: skip breakpoint in gdb1718
ERROR: Couldn't send bUNRESOLVED: gdb.arch/i386-prologue.exp: backtrace in gdb1718
UNRESOLVED: gdb.arch/i386-prologue.exp: saved registers in gdb1718 (PRMS gdb/1718)
UNRESOLVED: gdb.arch/i386-prologue.exp: continue to gdb1338
UNRESOLVED: gdb.arch/i386-prologue.exp: skip breakpoint in gdb1338
UNRESOLVED: gdb.arch/i386-prologue.exp: backtrace in gdb1338
UNRESOLVED: gdb.arch/i386-prologue.exp: saved registers in gdb1338
UNRESOLVED: gdb.arch/i386-prologue.exp: set breakpoint in jump_at_beginning
Running ./gdb.arch/i386-signal.exp ...
gdb compile failed, /tmp/cctfxAOX.s: Assembler messages:
/tmp/cctfxAOX.s:59: Error: unknown pseudo-op: `.cfi_signal_frame'
UNTESTED: gdb.arch/i386-signal.exp: i386-sigframe.exp
Running ./gdb.arch/i386-size-overlap.exp ...
acktrace 10 to GDB.
ERROR: Couldn't send info frame to GDB.
ERROR: Couldn't send continue to GDB.
ERROR: Couldn't send if (*(unsigned char *)$pc == 0xcc)
set $pc = $pc + 1
end to GDB.
ERROR: Couldn't send backtrace 10 to GDB.
ERROR: Couldn't send info frame to GDB.
ERROR: Couldn't send break jump_at_beginning to GDB.
WARNING: Couldn't set the height to 0
WARNING: Couldn't set the width to 0.
WARNING: remote_expect statement without a default case?!
ERROR: couldn't load i386-size-overlap into gdb (end of file).
WARNING: remote_expect statement without a default case?!
UNRESOLVED: gdb.arch/i386-size-overlap.exp: run past main (timeout)
ERROR: Couldn't send backtrace 10 to GDB.
UNRESOLVED: gdb.arch/i386-size-overlap.exp: backtrace shows the outer function
Running ./gdb.arch/i386-size.exp ...
got a INT signal, interrupted by user
 
                === gdb Summary ===
 
# of unresolved testcases       42
# of untested testcases         1
# of unsupported tests          9
gdb on remote host version  1: -nx
 

 
Regards,
Varma
 
********************************************************************************************************
 This e-mail and attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient's) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it!
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]