| commit | 598e87ecc064cd8ffc2af4bcde4186d30382f4d5 | [log] [tgz] |
|---|---|---|
| author | Andrew Burgess <aburgess@redhat.com> | Tue Apr 04 12:11:50 2023 +0100 |
| committer | Andrew Burgess <aburgess@redhat.com> | Fri Apr 28 22:50:46 2023 +0100 |
| tree | 960c83a38af1b0921616e8df0f0e709c9dc9977c | |
| parent | 94e6c5641234c4ced9cb3fa0ccc2aaaa6b7b62ea [diff] |
gdb: make set/show inferior-tty work with $_gdb_setting_str Like the previous two commits, this commit fixes set/show inferior-tty to work with $_gdb_setting_str. Instead of using a scratch variable which is then pushed into the current inferior from a set callback, move to the API that allows for getters and setters, and store the value directly within the current inferior. Update an existing test to check the inferior-tty setting. Reviewed-By: Tom Tromey <tom@tromey.com>