[RFA 10/23] Remove make_cleanup_restore_current_language

Tom Tromey tom@tromey.com
Mon Jun 5 13:09:00 GMT 2017


>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:

Pedro> This is OK, but we may we want to take a closer look at
Pedro> terminology -- we started with scoped_restore, and have added
Pedro> other types called scoped_restore_whatever meanwhile.
Pedro> But here we're calling it "save".  It seems to me like it may be
Pedro> better in the long run to pick one naming style for save/restore
Pedro> types, and stick with it.

I just went ahead and changed it to scoped_restore_language.

Tom



More information about the Gdb-patches mailing list