mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-12 19:38:28 +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:
@ -1,3 +1,10 @@
|
|||||||
|
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.
|
||||||
|
|
||||||
2019-04-12 Andrew Burgess <andrew.burgess@embecosm.com>
|
2019-04-12 Andrew Burgess <andrew.burgess@embecosm.com>
|
||||||
|
|
||||||
* ada-lang.c (ada_language_defn): Remove use of LANG_MAGIC.
|
* ada-lang.c (ada_language_defn): Remove use of LANG_MAGIC.
|
||||||
|
@ -1551,10 +1551,6 @@ prompt_for_continue (void)
|
|||||||
reinitialize_more_filter ();
|
reinitialize_more_filter ();
|
||||||
pagination_disabled_for_command = disable_pagination;
|
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. */
|
dont_repeat (); /* Forget prev cmd -- CR won't repeat it. */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user