Constify main_name
authorTom Tromey <tromey@adacore.com>
Thu, 18 Jul 2019 15:29:15 +0000 (09:29 -0600)
committerTom Tromey <tromey@adacore.com>
Thu, 18 Jul 2019 15:31:12 +0000 (09:31 -0600)
commitcd215b2eb74c179d936a3b28577753a08de1cf83
tree25e09744719908697419c3f4a159f767008f2f27
parent54d7dae59a2239720c848985a7d50a0a8b3319eb
Constify main_name

This patch constifies the return type of main_name.  There is a
comment indicating that this wasn't possible at some point in the
past, but whatever the barrier was, it is gone now.

Tested by rebuilding.

gdb/ChangeLog
2019-07-18  Tom Tromey  <tromey@adacore.com>

* symtab.c (main_name): Constify return type.
* symfile.c (set_initial_language): Update.
* symtab.h (main_name): Constify return type.
gdb/ChangeLog
gdb/symfile.c
gdb/symtab.c
gdb/symtab.h
This page took 0.03025 seconds and 4 git commands to generate.