make symtab::dirname const
authorTom Tromey <tromey@redhat.com>
Mon, 25 Nov 2013 14:40:05 +0000 (07:40 -0700)
committerTom Tromey <tromey@redhat.com>
Fri, 6 Dec 2013 19:13:37 +0000 (12:13 -0700)
commit8e96694e31aedc28a4e2a00b28099158a8bd4a5a
tree24513091efce83803d43f79eda257ada0b1d358d
parent21ea9eece76627d5f71f6a755ea3fc7b2916db72
make symtab::dirname const

This makes symtab::dirname const and updates one spot to avoid an
intermediate constless result.

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

* buildsym.c (end_symtab_from_static_block): Use obstack_copy0.
* symtab.h (struct symtab) <dirname>: Now const.
gdb/ChangeLog
gdb/buildsym.c
gdb/symtab.h