]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/ChangeLog
Make "gnutarget" const
authorTom Tromey <tom@tromey.com>
Wed, 4 Mar 2020 23:24:08 +0000 (16:24 -0700)
committerTom Tromey <tom@tromey.com>
Wed, 4 Mar 2020 23:30:29 +0000 (16:30 -0700)
commit4e7625fde223fd0c98f09f41fe924e7317a82e1a
tree30f8214f883c378b30abc9ec95c9d84765ff6f2c
parentbaf09cba8f97be8044f7422cb31b1cb3f23e2762
Make "gnutarget" const

I noticed that gnutarget was not "const".  Since writing through this
pointer would probably be a bug, I think it ought to be.  This patch
makes the change.

gdb/ChangeLog
2020-03-04  Tom Tromey  <tom@tromey.com>

* jit.c (bfd_open_from_target_memory): Make "target" const.
* corefile.c (gnutarget): Now const.
* gdbcore.h (gnutarget): Now const.
gdb/ChangeLog
gdb/corefile.c
gdb/gdbcore.h
gdb/jit.c