]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/symtab.h
make symtab::filename const
authorTom Tromey <tromey@redhat.com>
Mon, 25 Nov 2013 14:32:35 +0000 (07:32 -0700)
committerTom Tromey <tromey@redhat.com>
Fri, 6 Dec 2013 19:13:31 +0000 (12:13 -0700)
commit21ea9eece76627d5f71f6a755ea3fc7b2916db72
tree76e07a841a52279da8f1a5c6d2885a50d82c2bbe
parent399d6e3089c03b378d259ea4a8779e2a759129ca
make symtab::filename const

This makes symtab::filename const and removes a newly unnecessary
cast.

2013-12-06  Tom Tromey  <tromey@redhat.com>

* symfile.c (allocate_symtab): Remove cast.
* symtab.h (struct symtab) <filename>: Now const.
gdb/ChangeLog
gdb/symfile.c
gdb/symtab.h