constify value_aggregate_elt
authorTom Tromey <tromey@redhat.com>
Thu, 27 Mar 2014 18:16:38 +0000 (12:16 -0600)
committerTom Tromey <tromey@redhat.com>
Mon, 14 Apr 2014 17:42:18 +0000 (11:42 -0600)
commitc848d64244912f9f411bec7b1c045bf14c72b61b
tree29d3b1adcd1c2714a8ebc220002c264c2d693846
parent0626fc76d1b95c1c5b158a9b0be17791aa9078f8
constify value_aggregate_elt

While working on another patch I realized that value_aggregate_elt's
"name" parameter ought to be const.  This patch implements this.

2014-04-14  Tom Tromey  <tromey@redhat.com>

* valops.c (value_aggregate_elt, value_struct_elt_for_reference)
(value_namespace_elt, value_maybe_namespace_elt): Make "name"
const.
* value.h (value_aggregate_elt): Update.
gdb/ChangeLog
gdb/valops.c
gdb/value.h