aboutsummaryrefslogtreecommitdiff
path: root/gdb/value.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-05-25 12:39:51 -0600
committerTom Tromey <tom@tromey.com>2018-05-25 12:41:02 -0600
commitd525a99be1b02dda6c69007e31dd06f276378aea (patch)
tree1fc7017164c71811abc89b028e2fb99d87f8a33a /gdb/value.c
parentda505cff6e29b18244dc9f6886bcb4d436263dee (diff)
downloadgdb-d525a99be1b02dda6c69007e31dd06f276378aea.zip
gdb-d525a99be1b02dda6c69007e31dd06f276378aea.tar.gz
gdb-d525a99be1b02dda6c69007e31dd06f276378aea.tar.bz2
Add "name" method to class interp
In a review Pedro pointed out that interp::name is intended to be read-only, and so an accessor would be a better fit. This patch renames the field and adds a "name" method that is used instead. ChangeLog 2018-05-25 Tom Tromey <tom@tromey.com> * tui/tui.c (tui_enable): Update. * mi/mi-interp.c (mi_interp::init): Update. * interps.h (class interp) <name>: New method. <m_name>: Rename from name. (~scoped_restore_interp): Update. * interps.c (interp::interp): Update. (interp_add, interp_set, interp_lookup_existing) (current_interp_named_p): Update.
Diffstat (limited to 'gdb/value.c')
0 files changed, 0 insertions, 0 deletions