From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 33C73385500C; Fri, 13 Aug 2021 18:42:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 33C73385500C From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug ada/28180] FAIL: gdb.ada/interface.exp: print s (timeout) Date: Fri, 13 Aug 2021 18:42:54 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: ada X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tromey at sourceware dot org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: tromey at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Aug 2021 18:42:54 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28180 --- Comment #10 from Tom Tromey --- (In reply to Tom de Vries from comment #4) > This allows the test-case to pass: > ... I was digging through local code recently and I found out that AdaCore has a patch that does something along these lines. There's a function: /* Return non-zero if STR should be suppressed in info listings. */ static int is_suppressed_name (const char *str) then a macro that ends up calling that: #define SYMBOL_PRINTING_SUPPRESSED(symbol) \ (current_language->la_language =3D=3D language_ada = \ && ada_suppress_symbol_printing (symbol)) Then iterate_over_block_locals does: ALL_BLOCK_SYMBOLS (b, iter, sym) { if (SYMBOL_PRINTING_SUPPRESSED (sym)) continue; This code dates to 2007; I don't know if it's ever been sent upstream. I'm building gcc 8 to see if I can reproduce this. Maybe the answer is your patch after all, or maybe upstreaming this local o= ne. --=20 You are receiving this mail because: You are on the CC list for the bug.=