Remove const from many struct objfile *
authorJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 5 Dec 2014 18:11:53 +0000 (19:11 +0100)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 5 Dec 2014 18:11:53 +0000 (19:11 +0100)
commitefad9b6a7ad68e3e85dd28a12b567f84d6860d17
treef6dcbee9088c0ad22871ae7df728318ac4f27106
parent069bb7eced120d5a81fc41f339390719a0063ce3
Remove const from many struct objfile *

I am just not sure if we should go the route of
        struct objfile * -> const struct objfile *
or the other way of:
        const struct objfile * -> struct objfile *

Normally const adding is better but here I do not see much useful to have any
struct objfile * const and then it just causes pointer compatibility problems.

On Wed, 03 Dec 2014 18:18:44 +0100, Doug Evans wrote:
struct objfile is one case where I've decided to just leave the const
out and not worry about it.

gdb/ChangeLog
2014-12-05  Jan Kratochvil  <jan.kratochvil@redhat.com>

Remove const from struct objfile *.
* solib-darwin.c, solib-spu.c, solib-svr4.c, solib.c, solist.h,
symtab.c, symtab.h: In these files.
gdb/ChangeLog
gdb/solib-darwin.c
gdb/solib-spu.c
gdb/solib-svr4.c
gdb/solib.c
gdb/solist.h
gdb/symtab.c
gdb/symtab.h
This page took 0.026606 seconds and 4 git commands to generate.