mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-05 15:17:13 +08:00
Another fix for GDB styling
gdb/ChangeLog: 2019-04-12 Eli Zaretskii <eliz@gnu.org> * utils.c (prompt_for_continue): Don't restore the styling at the end, as applied_style has the wrong value. This fixes styling in long lists of file names that are interrupted by the "Continue?" prompt.
This commit is contained in:
@ -1551,10 +1551,6 @@ prompt_for_continue (void)
|
||||
reinitialize_more_filter ();
|
||||
pagination_disabled_for_command = disable_pagination;
|
||||
|
||||
/* Restore the current styling. */
|
||||
if (can_emit_style_escape (gdb_stdout))
|
||||
emit_style_escape (applied_style);
|
||||
|
||||
dont_repeat (); /* Forget prev cmd -- CR won't repeat it. */
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user