Add a "context" argument to add_setshow_enum_cmd
authorTom Tromey <tom@tromey.com>
Thu, 6 Sep 2018 20:03:38 +0000 (14:03 -0600)
committerTom Tromey <tom@tromey.com>
Fri, 28 Dec 2018 19:49:47 +0000 (12:49 -0700)
commit7170dadf5950e1444ab09cdfc4e07dd2698fc275
tree7435599708c2b9336a519325a7c51dc06b2cbee9
parentc5603d506350cca3b1af7ba3a97bf05adeea0508
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  <tom@tromey.com>

* 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
gdb/cli/cli-decode.c
gdb/command.h
This page took 0.024879 seconds and 4 git commands to generate.