From 7170dadf5950e1444ab09cdfc4e07dd2698fc275 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 6 Sep 2018 14:03:38 -0600 Subject: Add a "context" argument to add_setshow_enum_cmd This adds a "context" argument to add_setshow_enum_cmd. Now add_setshow_enum_cmd will call set_cmd_context on both of the new commands. This is used in a later patch. gdb/ChangeLog 2018-12-28 Tom Tromey * command.h (add_setshow_enum_cmd): Add "context" argument. * cli/cli-decode.c (add_setshow_enum_cmd): Add "context" argument. Call set_cmd_context. --- gdb/ChangeLog | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gdb/ChangeLog') diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e942084..0616275 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,11 @@ 2018-12-28 Tom Tromey + * command.h (add_setshow_enum_cmd): Add "context" argument. + * cli/cli-decode.c (add_setshow_enum_cmd): Add "context" + argument. Call set_cmd_context. + +2018-12-28 Tom Tromey + * utils.c (filter_initialized): New global. (wrap_buffer): Now a std::string. (wrap_pointer): Remove. -- cgit v1.1