From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2507 invoked by alias); 14 Dec 2006 10:26:05 -0000 Received: (qmail 2497 invoked by uid 22791); 14 Dec 2006 10:26:05 -0000 X-Spam-Check-By: sourceware.org Received: from Unknown (HELO mswbj01.sunnorth.com.cn) (218.247.162.66) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 14 Dec 2006 10:26:01 +0000 Received: from maillog.sunnorth.com.cn (unverified [172.20.10.250]) by mswbj01.sunnorth.com.cn (Clearswift SMTPRS 5.2.5) with ESMTP id for ; Thu, 14 Dec 2006 18:27:25 +0800 Received: from ntns1cn.sunnorth.com.cn (ntns1cn.sunnorth.com.cn [172.20.10.252]) by maillog.sunnorth.com.cn (8.12.10/8.12.10) with ESMTP id kBEBsiWT014157 for ; Thu, 14 Dec 2006 19:54:44 +0800 To: gdb@sourceware.org Subject: Some testpatterns seems have problems MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.5 September 26, 2003 Message-ID: From: qinwei Date: Thu, 14 Dec 2006 10:26:00 -0000 Content-Type: text/plain; charset="US-ASCII" X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-12/txt/msg00128.txt.bz2 Hi all, When i was testing score gdb, i found these testpatterns have problems; 1, long_long.exp, when using p/a, if the address has instructions, gdb will print out the offset, p/a *(char *)c $32 = 0x1 <_start+1> (gdb) FAIL: gdb.base/long_long.exp: p/a *(char *)c p/a *(short *)s $40 = 0x123 (gdb) FAIL: gdb.base/long_long.exp: p/a *(short *)s so, gdb_test_char "p/a *(char *)c" "0x1" gdb_test_short "p/a *(short *)s" "" "0x123" "" should be gdb_test_char "p/a *(char *)c" "0x1.*" gdb_test_short "p/a *(short *)s" "" "0x123.*" "" 2, mi-basics.exp, mi2-basics.exp: gdb will print out the full path. 202-environment-directory ../../../gdb-6.6/gdb/testsuite/gdb.mi 202^done,source-path="/home/qinwei/gnu/GJ275_CVS/code/build/gdb/testsuite/../../../gdb-6.6/gdb/testsuite/gdb.mi :$cdir:$cwd" (gdb) FAIL: gdb.mi/mi-basics.exp: environment-directory arg operation 203-environment-directory 203^done,source-path="/home/qinwei/gnu/GJ275_CVS/code/build/gdb/testsuite/../../../gdb-6.6/gdb/testsuite/gdb.mi :$cdir:$cwd" (gdb) FAIL: gdb.mi/mi-basics.exp: environment-directory empty-string operation 208-environment-path ../../../gdb-6.6/gdb/testsuite /home/qinwei/gnu/GJ275_CVS/code/build/gdb/testsuite 208^done,path="/home/qinwei/gnu/GJ275_CVS/code/build/gdb/testsuite/../../../gdb-6.6/gdb/testsuite:/home/qinwei/ gnu/GJ275_CVS/code/build/gdb/testsuite:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/qinw ei/gcc/bin:/home/qinwei/usr/bin:/home/qinwei/usr/lib/gcc-lib/unsp-sgi-linux/sgicc-1.0:/home/qinwei/gnu/install- score-elf/bin:/home/qinwei/bin:/home/qinwei/daVinci_V2.1" (gdb) FAIL: gdb.mi/mi-basics.exp: environment-path dir1 dir2 operation Best regards, Qinwei Mail qinwei@sunnorth.com.cn Phone +86-010-62981668-2708 Fax +86-010-62985972