About PR gdb/20604 - fix "quit" when an invalid expression is used
CharSyam
charsyam@gmail.com
Sun Oct 9 14:31:00 GMT 2016
hi guys.
I also had this problem. I should have checked this thread.
I also think this pr is really good.
but It can change the usage of quit.
I researched this problem also.
so I think it is because "undo_terminal_modifications_before_exit()" is called
before parse_and_eval()
so It doesn't recover. so after that terminal state is not normal.
so, I just moved undo_terminal_modifications_before_exit() after parse_and_eval
even though, parse_and_eval throw exceptions. it is safe.
Thank.
More information about the Gdb-patches
mailing list