aboutsummaryrefslogtreecommitdiff
path: root/gdb/m68k-tdep.c
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@redhat.com>2023-04-28 22:14:53 +0100
committerAndrew Burgess <aburgess@redhat.com>2023-04-28 22:50:46 +0100
commit94e6c5641234c4ced9cb3fa0ccc2aaaa6b7b62ea (patch)
tree6d01ae3d20ba8fad600ec7174fd02474f70425e4 /gdb/m68k-tdep.c
parentcc09d372f664410aea226bfaa246aeb74fee8126 (diff)
downloadgdb-94e6c5641234c4ced9cb3fa0ccc2aaaa6b7b62ea.zip
gdb-94e6c5641234c4ced9cb3fa0ccc2aaaa6b7b62ea.tar.gz
gdb-94e6c5641234c4ced9cb3fa0ccc2aaaa6b7b62ea.tar.bz2
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.
Diffstat (limited to 'gdb/m68k-tdep.c')
0 files changed, 0 insertions, 0 deletions