]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Remove interp_name
authorTom Tromey <tom@tromey.com>
Mon, 30 Apr 2018 05:12:07 +0000 (23:12 -0600)
committerTom Tromey <tom@tromey.com>
Fri, 25 May 2018 18:41:01 +0000 (12:41 -0600)
commitda505cff6e29b18244dc9f6886bcb4d436263dee
tree14ff1a222df1429bb31f1cd9bd50806b872efd6a
parent29f943408122a7cffa25abb41def99833436f097
Remove interp_name

This removes the interp_name function.  It is only used a few spots --
one of which was only calling it on "this".  It's simpler to remove
it; and should class interp become opaque in the future, it will be
just as easy to update the two remaining spots to use an accessor.

ChangeLog
2018-05-25  Tom Tromey <tom@tromey.com>

* interps.c (interp_name): Remove.
* mi/mi-interp.c (mi_interp::init): Update.
* interps.h (interp_name): Remove.
(~scoped_restore_interp): Update.
* tui/tui.c (tui_enable): Update.
gdb/ChangeLog
gdb/interps.c
gdb/interps.h
gdb/mi/mi-interp.c
gdb/tui/tui.c