gdb: add constructor to internalvar
authorSimon Marchi <simon.marchi@efficios.com>
Tue, 14 Feb 2023 19:23:26 +0000 (14:23 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Wed, 15 Feb 2023 16:58:19 +0000 (11:58 -0500)
commitdbca589b8d72316a5884321747b6ab92c6b34dbc
tree785a65ec5842ae042f4d27c5dd7acb9d0a12567b
parentf251cb9bae76441b43b3ea0b030086052eb54524
gdb: add constructor to internalvar

Add a constructor that takes the name as a parameter.  Initialize the
next and kind fields inline.

Change-Id: Ic4db0aba85f1da9f12f3eee0ac62c0e5ef0cfe88
Approved-By: Tom Tromey <tom@tromey.com>
gdb/value.c