diff options
author | Pedro Alves <palves@redhat.com> | 2015-03-09 11:58:14 +0000 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2015-03-20 17:39:03 +0000 |
commit | c32ed3ef8084f209c8ce2e9e0fecc91560245373 (patch) | |
tree | 53b62e5b54c3b5bd59cac488ec88afc42dde7b11 /gdb/ChangeLog | |
parent | eef49a3d1a7e2ff70e142c7c7fd748f4625c05c9 (diff) | |
download | gdb-c32ed3ef8084f209c8ce2e9e0fecc91560245373.zip gdb-c32ed3ef8084f209c8ce2e9e0fecc91560245373.tar.gz gdb-c32ed3ef8084f209c8ce2e9e0fecc91560245373.tar.bz2 |
constify nto-tdep.c
/home/pedro/gdb/mygit/src/gdb/nto-tdep.c: In function ‘int nto_find_and_open_solib(char*, unsigned int, char**)’:
/home/pedro/gdb/mygit/src/gdb/nto-tdep.c:111:14: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
endian = gdbarch_byte_order (target_gdbarch ())
^
/home/pedro/gdb/mygit/src/gdb/nto-tdep.c: In function ‘void nto_init_solib_absolute_prefix()’:
/home/pedro/gdb/mygit/src/gdb/nto-tdep.c:170:14: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
endian = gdbarch_byte_order (target_gdbarch ())
^
gdb
2015-03-20 Pedro Alves <palves@redhat.com>
* nto-tdep.c (nto_find_and_open_solib): Make "endian" const.
(nto_init_solib_absolute_prefix): Likewise.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9d9c287..0e3afc9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2015-03-20 Pedro Alves <palves@redhat.com> + * nto-tdep.c (nto_find_and_open_solib): Make "endian" const. + (nto_init_solib_absolute_prefix): Likewise. + +2015-03-20 Pedro Alves <palves@redhat.com> + * sparc-sol2-tdep.c (sparc_sol2_static_transform_name): Make "p" const. * spu-tdep.c (spu_gdbarch_init): Make "name" const. |