From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10856 invoked by alias); 18 Dec 2011 21:10:49 -0000 Mailing-List: contact archer-commits-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: Received: (qmail 10822 invoked by uid 9674); 18 Dec 2011 21:10:47 -0000 Date: Sun, 18 Dec 2011 21:10:00 -0000 Message-ID: <20111218211047.10806.qmail@sourceware.org> From: jkratoch@sourceware.org To: archer-commits@sourceware.org Subject: [SCM] archer-jankratochvil-vla: Workaround regression for: gdb.ada/arrayptr.exp: ptype string_access X-Git-Refname: refs/heads/archer-jankratochvil-vla X-Git-Reftype: branch X-Git-Oldrev: 832f71824c4900f65686ec2395193f6f214edd57 X-Git-Newrev: 9e2ea824e10f6b63c0d63752c964fb12f809cd9e X-SW-Source: 2011-q4/txt/msg00066.txt.bz2 List-Id: The branch, archer-jankratochvil-vla has been updated via 9e2ea824e10f6b63c0d63752c964fb12f809cd9e (commit) from 832f71824c4900f65686ec2395193f6f214edd57 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit 9e2ea824e10f6b63c0d63752c964fb12f809cd9e Author: Jan Kratochvil Date: Sun Dec 18 22:10:24 2011 +0100 Workaround regression for: gdb.ada/arrayptr.exp: ptype string_access ----------------------------------------------------------------------- Summary of changes: gdb/typeprint.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) First 500 lines of diff: diff --git a/gdb/typeprint.c b/gdb/typeprint.c index bb8bd01..f157962 100644 --- a/gdb/typeprint.c +++ b/gdb/typeprint.c @@ -78,7 +78,7 @@ void type_print (struct type *type, char *varstring, struct ui_file *stream, int show) { - if (show >= 0) + if (show >= 0 && current_language->la_language != language_ada) type = check_typedef (type); LA_PRINT_TYPE (type, varstring, stream, show, 0); hooks/post-receive -- Repository for Project Archer.