This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Can symbol-reading produce terminal output?
- From: Eli Zaretskii <eliz at gnu dot org>
- To: gdb-patches at sourceware dot org
- Date: Sat, 09 May 2009 16:51:26 +0300
- Subject: Can symbol-reading produce terminal output?
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
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