Add gdb.Value.assign method
authorTom Tromey <tromey@adacore.com>
Fri, 12 May 2023 20:10:56 +0000 (14:10 -0600)
committerTom Tromey <tromey@adacore.com>
Mon, 12 Jun 2023 18:09:39 +0000 (12:09 -0600)
commited80156930339ee8e68a5341ec3d7f06fab6d02c
treebdd755fa885877422eba4b84b7c0b7fa9714d7cf
parent510586589e74f2ff27f4c563daa395a22c68501c
Add gdb.Value.assign method

This adds an 'assign' method to gdb.Value.  This allows for assignment
without requiring the use of parse_and_eval.

Reviewed-By: Eli Zaretskii <eliz@gnu.org>
gdb/NEWS
gdb/doc/python.texi
gdb/python/py-value.c
gdb/testsuite/gdb.python/py-value.exp