| commit | 94e6c5641234c4ced9cb3fa0ccc2aaaa6b7b62ea | [log] [tgz] |
|---|---|---|
| author | Andrew Burgess <aburgess@redhat.com> | Fri Apr 28 22:14:53 2023 +0100 |
| committer | Andrew Burgess <aburgess@redhat.com> | Fri Apr 28 22:50:46 2023 +0100 |
| tree | 6d01ae3d20ba8fad600ec7174fd02474f70425e4 | |
| parent | cc09d372f664410aea226bfaa246aeb74fee8126 [diff] |
gdb: make set/show cwd work with $_gdb_setting_str The previous commit fixed set/show args when used with $_gdb_setting_str, this commit fixes set/show cwd. 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 the existing test to check the cwd setting.