constify xcoffread.c
authorPedro Alves <palves@redhat.com>
Mon, 9 Mar 2015 11:58:20 +0000 (11:58 +0000)
committerYao Qi <yao.qi@linaro.org>
Fri, 20 Mar 2015 17:39:13 +0000 (17:39 +0000)
commite28566f7d022e672bc7032d4951112359ad66d77
treefbf0da6dc9b8eca54d0efc3b383d5cf162a5b13e
parentf6fc92f6711049c0d51cfe7027aa58255ae739b4
constify xcoffread.c

/home/pedro/gdb/mygit/src/gdb/xcoffread.c: In function ‘void scan_xcoff_symtab(objfile*)’:
/home/pedro/gdb/mygit/src/gdb/xcoffread.c:2644:33: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
      p = strchr (namestring, ':');
                                 ^
gdb:

2015-03-20  Pedro Alves  <palves@redhat.com>

* xcoffread.c (scan_xcoff_symtab): Make "p" and "q" const.
gdb/ChangeLog
gdb/xcoffread.c