binutils-gdb/gdb/cli
Andrew Burgess 647c23de32 gdb: rename scoped_gdb_tty_state, and make it non-copyable
The scoped_gdb_tty_state class seems misnamed.  For save/restore type
classes the pattern in GDB is usually scoped_restore_<whatever>, so
lets rename this to scoped_restore_tty_state.  I dropped the 'gdb' part
of the name as the underlying functions being called are
serial_get_tty_state and serial_set_tty_state, so the new name
matches (I think) what's actually being called.

I've also made the class non-copyable like other scoped_restore_
classes.

There should be no user visible changes after this commit.

Approved-By: Simon Marchi <simon.marchi@efficios.com>
2025-12-16 14:03:47 +00:00
..
cli-cmds.c gdb: rename scoped_gdb_tty_state, and make it non-copyable 2025-12-16 14:03:47 +00:00
cli-cmds.h Update copyright dates to include 2025 2025-04-08 10:54:39 -06:00
cli-decode.c Simplify print_doc_line 2025-04-08 14:35:58 -06:00
cli-decode.h gdb: add an assert to cmd_list_element constructor 2025-04-14 09:29:15 +01:00
cli-dump.c Change file initialization to use INIT_GDB_FILE macro 2025-06-26 06:15:59 -06:00
cli-interp.c Change file initialization to use INIT_GDB_FILE macro 2025-06-26 06:15:59 -06:00
cli-interp.h Update copyright dates to include 2025 2025-04-08 10:54:39 -06:00
cli-logging.c Change file initialization to use INIT_GDB_FILE macro 2025-06-26 06:15:59 -06:00
cli-option.c Update copyright dates to include 2025 2025-04-08 10:54:39 -06:00
cli-option.h Update copyright dates to include 2025 2025-04-08 10:54:39 -06:00
cli-script.c Change file initialization to use INIT_GDB_FILE macro 2025-06-26 06:15:59 -06:00
cli-script.h Update copyright dates to include 2025 2025-04-08 10:54:39 -06:00
cli-setshow.c Update copyright dates to include 2025 2025-04-08 10:54:39 -06:00
cli-setshow.h Update copyright dates to include 2025 2025-04-08 10:54:39 -06:00
cli-style.c Change file initialization to use INIT_GDB_FILE macro 2025-06-26 06:15:59 -06:00
cli-style.h Use emoji to indicate errors and warnings 2025-05-02 12:52:09 -06:00
cli-utils.c Update copyright dates to include 2025 2025-04-08 10:54:39 -06:00
cli-utils.h Update copyright dates to include 2025 2025-04-08 10:54:39 -06:00