diff options
author | Andrew Burgess <aburgess@redhat.com> | 2023-04-04 12:11:50 +0100 |
---|---|---|
committer | Andrew Burgess <aburgess@redhat.com> | 2023-04-28 22:50:46 +0100 |
commit | 598e87ecc064cd8ffc2af4bcde4186d30382f4d5 (patch) | |
tree | 960c83a38af1b0921616e8df0f0e709c9dc9977c /gdb/python | |
parent | 94e6c5641234c4ced9cb3fa0ccc2aaaa6b7b62ea (diff) | |
download | binutils-598e87ecc064cd8ffc2af4bcde4186d30382f4d5.zip binutils-598e87ecc064cd8ffc2af4bcde4186d30382f4d5.tar.gz binutils-598e87ecc064cd8ffc2af4bcde4186d30382f4d5.tar.bz2 |
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>
Diffstat (limited to 'gdb/python')
0 files changed, 0 insertions, 0 deletions