Constify objfile::original_name
authorTom Tromey <tom@tromey.com>
Thu, 17 Oct 2019 00:46:43 +0000 (18:46 -0600)
committerTom Tromey <tom@tromey.com>
Thu, 17 Oct 2019 02:44:21 +0000 (20:44 -0600)
commitbefcd486f467deb3a6a7576dc03bd40db3939ab6
tree4c87daffc3b8b1f225c0cf37c2440155edcf99f6
parent611fa2f46c4ea0ca2f4153b6cf7ec31b8486eb28
Constify objfile::original_name

I noticed that objfile::original_name could be a "const char *" rather
than a plain "char *".  This patch implements this change.  Tested by
rebuilding.

gdb/ChangeLog
2019-10-16  Tom Tromey  <tom@tromey.com>

* objfiles.h (struct objfile) <original_name>: Now const.
gdb/ChangeLog
gdb/objfiles.h