binutils-gdb/gdb/cli
Andrew Burgess 03ce4e1bdb 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.
2023-12-14 16:29:09 +00:00
..
cli-cmds.c gdb: Replace gdb::optional with std::optional 2023-11-21 11:52:35 +00:00
cli-cmds.h gdb: Replace gdb::optional with std::optional 2023-11-21 11:52:35 +00:00
cli-decode.c gdb: Replace gdb::optional with std::optional 2023-11-21 11:52:35 +00:00
cli-decode.h gdb: Replace gdb::optional with std::optional 2023-11-21 11:52:35 +00:00
cli-dump.c gdb: remove target_gdbarch 2023-10-10 10:44:35 -04:00
cli-interp.c Remove explanatory comments from includes 2023-09-20 11:45:16 -06:00
cli-interp.h gdb: add interp::on_user_selected_context_changed method 2023-05-30 15:07:26 -04:00
cli-logging.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
cli-option.c gdb: Replace gdb::optional with std::optional 2023-11-21 11:52:35 +00:00
cli-option.h gdb/options: fix copy&paste error in string_option_def 2023-12-14 16:29:09 +00:00
cli-script.c gdb: Use std::string_view instead of gdb::string_view 2023-11-21 11:52:36 +00:00
cli-script.h Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
cli-setshow.c Use C++17 [[fallthrough]] attribute 2023-11-29 14:29:43 -07:00
cli-setshow.h GDB: Allow arbitrary keywords in integer set commands 2023-01-19 21:15:56 +00:00
cli-style.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
cli-style.h Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
cli-utils.c Turn value_type into method 2023-02-13 15:21:06 -07:00
cli-utils.h Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00