From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16109 invoked by alias); 9 May 2009 13:51:42 -0000 Received: (qmail 16101 invoked by uid 22791); 9 May 2009 13:51:41 -0000 X-SWARE-Spam-Status: No, hits=0.8 required=5.0 tests=AWL,BAYES_00,BOTNET,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout1.012.net.il (HELO mtaout1.012.net.il) (84.95.2.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 09 May 2009 13:51:36 +0000 Received: from conversion-daemon.i-mtaout1.012.net.il by i-mtaout1.012.net.il (HyperSendmail v2007.08) id <0KJD00K00Q7MU400@i-mtaout1.012.net.il> for gdb-patches@sourceware.org; Sat, 09 May 2009 16:51:26 +0300 (IDT) Received: from HOME-C4E4A596F7 ([84.228.73.80]) by i-mtaout1.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KJD0065KQHPXQ30@i-mtaout1.012.net.il> for gdb-patches@sourceware.org; Sat, 09 May 2009 16:51:26 +0300 (IDT) Date: Sat, 09 May 2009 13:51:00 -0000 From: Eli Zaretskii Subject: Can symbol-reading produce terminal output? To: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83tz3ubd0h.fsf@gnu.org> X-IsSubscribed: yes 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 X-SW-Source: 2009-05/txt/msg00185.txt.bz2 blockframe.c:find_pc_partial_function has this comment and code: /* Need to get the terminal in case symbol-reading produces output. */ target_terminal_ours_for_output (); PSYMTAB_TO_SYMTAB (pst); But the other callers of PSYMTAB_TO_SYMTAB do no such thing. Which one is right? I volunteer to fix those that are wrong, once I know which ones are they. TIA