]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb: C++-ify internal_function
authorSimon Marchi <simon.marchi@polymtl.ca>
Mon, 10 Mar 2025 15:10:46 +0000 (11:10 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Wed, 19 Mar 2025 19:15:20 +0000 (15:15 -0400)
commita7f139db2216d73fb40ab6ac43377e716589f6be
treeb16e1cc0935952782fdf80d9bfae0f0a7f448fc2
parente5348a7ab3f11f4c096ee4ebcdb9eb2663337357
gdb: C++-ify internal_function

Change the `name` field to std::string, add constructor.  Remove
function `create_internal_function`, since it becomes a trivial wrapper
around the constructor.

Change-Id: Ifc8b1282c442e1930bcd69d6e140128067e49563
Reviewed-By: Guinevere Larsen <guinevere@redhat.com>
gdb/value.c