diff options
author | Andrew Burgess <aburgess@redhat.com> | 2023-12-14 11:54:13 +0000 |
---|---|---|
committer | Andrew Burgess <aburgess@redhat.com> | 2023-12-14 16:29:09 +0000 |
commit | 03ce4e1bdb8f46742b7bcf648ad4ebd90dbee935 (patch) | |
tree | d4109571a89f26f5dfce276b5d39b00a89c52932 /sim | |
parent | f5d420bbceeb1d5065c3d91dd7c6c1e43f855ca1 (diff) | |
download | fsf-binutils-gdb-03ce4e1bdb8f46742b7bcf648ad4ebd90dbee935.zip fsf-binutils-gdb-03ce4e1bdb8f46742b7bcf648ad4ebd90dbee935.tar.gz fsf-binutils-gdb-03ce4e1bdb8f46742b7bcf648ad4ebd90dbee935.tar.bz2 |
gdb/options: fix copy&paste error in string_option_def
Spotted what appears to be a copy&paste error in string_option_def,
the code for string handling writes the address fetching callback
function into the option_def::var_address::enumeration location,
rather than option_def::var_address::string.
Of course, this works just fine as option_def::var_address is a union,
and all of its members are function pointers, so they're going to be
the same size on every target GDB cares about.
But it doesn't hurt to be correct, so fixed in this commit.
There should be no user visible changes after this commit.
Diffstat (limited to 'sim')
0 files changed, 0 insertions, 0 deletions