binutils-gdb/gdb/cli
Tom Tromey 7ebaa5f782 Move value_true to value.h
I noticed that value_true is declared in language.h and defined in
language.c.  However, as part of the value API, I think it would be
better in one of those files.  And, because it is very short, I
changed it to be an inline function in value.h.  I've also removed a
comment from the implementation, on the basis that it seems obsolete
-- if the change it suggests was needed, it probably would have been
done by now; and if it is needed in the future, odds are it would be
done differently anyway.

Finally, this patch also changes value_true and value_logical_not to
return a bool, and updates some uses.
2021-09-24 11:58:04 -06:00
..
cli-cmds.c gdb: rename cfunc to simple_func 2021-07-23 15:38:54 -04:00
cli-cmds.h
cli-decode.c gdb: remove cmd_list_element::function::sfunc 2021-07-23 15:38:54 -04:00
cli-decode.h gdb: remove cmd_list_element::function::sfunc 2021-07-23 15:38:54 -04:00
cli-dump.c gdb: remove cmd_list_element::function::sfunc 2021-07-23 15:38:54 -04:00
cli-interp.c
cli-interp.h
cli-logging.c gdb: generate the prefix name for prefix commands on demand 2021-05-12 11:19:22 +01:00
cli-option.c
cli-option.h
cli-script.c Move value_true to value.h 2021-09-24 11:58:04 -06:00
cli-script.h cli-script: use unique_ptr to not leak next struct 2021-05-20 21:03:47 +02:00
cli-setshow.c gdb: use bool in notify_command_param_changed_p and do_set_command 2021-08-19 14:29:30 -04:00
cli-setshow.h
cli-style.c gdb: remove context parameter from add_setshow_enum_cmd 2021-06-25 21:39:26 -04:00
cli-style.h gdb: generate the prefix name for prefix commands on demand 2021-05-12 11:19:22 +01:00
cli-utils.c
cli-utils.h