]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Make "msg" const in internal_vproblem
authorTom Tromey <tromey@adacore.com>
Thu, 11 Apr 2019 19:00:48 +0000 (13:00 -0600)
committerTom Tromey <tromey@adacore.com>
Thu, 11 Apr 2019 19:00:48 +0000 (13:00 -0600)
commit02cf60c7a42710ee0364698c436b6ca5e771374b
treefd52f3b13a43822ab68e3958bcc004ae6a1904f7
parentc0b4cd465573f1772927cb3ad5d6e7d17af21622
Make "msg" const in internal_vproblem

I noticed that the "msg" variable in internal_vproblem could be
"const".  This seems like an improvement because it can wind up in
rodata.

Tested by rebuilding.

gdb/ChangeLog
2019-04-11  Tom Tromey  <tromey@adacore.com>

* utils.c (internal_vproblem): Make "msg" const.
gdb/ChangeLog
gdb/utils.c