From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8014 invoked by alias); 29 Jul 2014 20:05:19 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 7984 invoked by uid 89); 29 Jul 2014 20:05:18 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: rock.gnat.com Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Tue, 29 Jul 2014 20:05:17 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 5D8BC11617E; Tue, 29 Jul 2014 16:05:15 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id AmRpCZ6bGjbt; Tue, 29 Jul 2014 16:05:15 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 34D6711616E; Tue, 29 Jul 2014 16:05:15 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 031064777F; Tue, 29 Jul 2014 13:05:13 -0700 (PDT) Date: Tue, 29 Jul 2014 20:20:00 -0000 From: Joel Brobecker To: Jan Kratochvil Cc: gdb-patches@sourceware.org Subject: Re: [patch] Display Fortran strings in backtraces Message-ID: <20140729200513.GA14672@adacore.com> References: <20140728214654.GA26290@host2.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140728214654.GA26290@host2.jankratochvil.net> User-Agent: Mutt/1.5.21 (2010-09-15) X-SW-Source: 2014-07/txt/msg00766.txt.bz2 > gdb/ > 2014-07-28 Jan Kratochvil > > * valprint.c (val_print_scalar_type_p): For TYPE_CODE_STRING return 0. > > gdb/testsuite/ > 2014-07-28 Jan Kratochvil > > * gdb.fortran/fortran-frame-string.exp: New file. > * gdb.fortran/fortran-frame-string.f90: New file. Sorry, Jan. That seems to be counter-intuitive; strings are not scalars... The intent of the setting is to avoid having super-long parameter values drowning the list parameters. Strings can be pretty long, so I think the current behavior matches my current expectation. -- Joel