]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Use const for dwarf2_property_baton
authorTom Tromey <tromey@adacore.com>
Wed, 1 Mar 2023 15:03:49 +0000 (08:03 -0700)
committerTom Tromey <tromey@adacore.com>
Wed, 1 Mar 2023 22:33:03 +0000 (15:33 -0700)
commit5f27603700c0d89023f00b6521b36cc911c23f85
tree46042eee0d83bd584e2a36612b6c2db50428bc54
parent802dace16f8c6dfa3200381669015a7dccbd5e28
Use const for dwarf2_property_baton

Once a baton is stored in a struct type, it doesn't make sense to
modify it.  This patch constifies the API.

Approved-By: Simon Marchi <simon.marchi@efficios.com>
gdb/dwarf2/loc.c
gdb/dwarf2/loc.h
gdb/gdbtypes.h