From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25873 invoked by alias); 9 May 2003 18:47:16 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 25830 invoked from network); 9 May 2003 18:47:15 -0000 Received: from unknown (HELO crack.them.org) (146.82.138.56) by sources.redhat.com with SMTP; 9 May 2003 18:47:15 -0000 Received: from [66.93.61.169] (helo=nevyn.them.org ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 19ECuC-0004Nz-00; Fri, 09 May 2003 13:47:40 -0500 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 19ECre-0001mB-00; Fri, 09 May 2003 14:45:02 -0400 Date: Fri, 09 May 2003 18:47:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sources.redhat.com Cc: cagney@redhat.com Subject: RFC: New failure in asm-source.exp Message-ID: <20030509184501.GA6415@nevyn.them.org> Mail-Followup-To: gdb-patches@sources.redhat.com, cagney@redhat.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.1i X-SW-Source: 2003-05/txt/msg00135.txt.bz2 Hey Andrew, I think this is just a typo in your last change, but I'd like you to look at it in case I'm missing something. You try to inspect globalvar instead of &globalvar; the case for static variables is right. OK? -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer Index: gdb.asm/asm-source.exp =================================================================== RCS file: /cvs/src/src/gdb/testsuite/gdb.asm/asm-source.exp,v retrieving revision 1.33 diff -u -p -r1.33 asm-source.exp --- gdb.asm/asm-source.exp 7 May 2003 21:52:53 -0000 1.33 +++ gdb.asm/asm-source.exp 9 May 2003 18:43:31 -0000 @@ -321,7 +321,7 @@ proc test_dis { command var } { # See if we can look at a global variable, three ways gdb_test "print globalvar" ".* = 11" "look at global variable" -test_dis "x/i globalvar" "globalvar" +test_dis "x/i &globalvar" "globalvar" test_dis "disassem &globalvar &globalvar+1" "globalvar" # See if we can look at a static variable, three ways