From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22048 invoked by alias); 4 Nov 2007 17:30:13 -0000 Received: (qmail 21996 invoked by uid 22791); 4 Nov 2007 17:30:12 -0000 X-Spam-Check-By: sourceware.org Received: from wa-out-1112.google.com (HELO wa-out-1112.google.com) (209.85.146.176) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 04 Nov 2007 17:30:10 +0000 Received: by wa-out-1112.google.com with SMTP id l35so1904867waf for ; Sun, 04 Nov 2007 09:30:07 -0800 (PST) Received: by 10.114.135.1 with SMTP id i1mr4239854wad.1194197407849; Sun, 04 Nov 2007 09:30:07 -0800 (PST) Received: by 10.114.79.6 with HTTP; Sun, 4 Nov 2007 09:30:07 -0800 (PST) Message-ID: Date: Sun, 04 Nov 2007 17:30:00 -0000 From: "Rob Quill" To: gdb@sourceware.org Subject: Tests for expressions MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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: 2007-11/txt/msg00027.txt.bz2 Hi, I was wondering if anyone knew of a test in the test suite which tests GDB's evaluation of expressions. I am trying to understand all of the cases for the switch statement in the switch statement in evaluate_subexp_standard in ./gdb/eval.c and thought that looking at how the testsuite uses them would be a good place to start. Thanks for your help. Rob Quill