From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25644 invoked by alias); 1 Dec 2003 19:27:26 -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 25617 invoked from network); 1 Dec 2003 19:27:25 -0000 Received: from unknown (HELO mail-out4.apple.com) (17.254.13.23) by sources.redhat.com with SMTP; 1 Dec 2003 19:27:25 -0000 Received: from mailgate1.apple.com (a17-128-100-225.apple.com [17.128.100.225]) by mail-out4.apple.com (8.12.10/8.12.9) with ESMTP id hB1JRPnc016859 for ; Mon, 1 Dec 2003 11:27:25 -0800 (PST) Received: from scv3.apple.com (scv3.apple.com) by mailgate1.apple.com (Content Technologies SMTPRS 4.2.1) with ESMTP id for ; Mon, 1 Dec 2003 11:27:24 -0800 Received: from [17.201.22.245] (inghji6.apple.com [17.201.22.245]) by scv3.apple.com (8.12.9/8.12.9) with ESMTP id hB1JQp0m024329 for ; Mon, 1 Dec 2003 11:26:51 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v606) In-Reply-To: <1069611654.20143.ezmlm@sources.redhat.com> References: <1069611654.20143.ezmlm@sources.redhat.com> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Jim Ingham Subject: Re: RFC (gdb/mi): -stack-list-locals Date: Mon, 01 Dec 2003 19:27:00 -0000 To: gdb-patches@sources.redhat.com X-SW-Source: 2003-12/txt/msg00026.txt.bz2 I think you want to call check_typedef here, or you will end up printing typedef'ed struct's... Jim On Nov 23, 2003, at 10:20 AM, gdb-patches-digest-help@sources.redhat.com wrote: > + if (TYPE_CODE (sym2->type) != TYPE_CODE_ARRAY && > + TYPE_CODE (sym2->type) != TYPE_CODE_STRUCT) > + { > + print_variable_value (sym2, fi, stb->stream); > + ui_out_field_stream (uiout, "value", stb); > + } > -- Jim Ingham jingham@apple.com Developer Tools Apple Computer