This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ChangeLog solib.c solib.h
- From: jkratoch at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: Tue, 21 May 2013 08:16:10 +0000
- Subject: src/gdb ChangeLog solib.c solib.h
CVSROOT: /cvs/src
Module name: src
Changes by: jkratoch@sourceware.org 2013-05-21 08:16:10
Modified files:
gdb : ChangeLog solib.c solib.h
Log message:
gdb/
Code cleanup: constification.
* solib.c (solib_ops): Make return type and ops variable type const.
(set_solib_ops): Make the new_ops parameter and ops variable const.
(solib_find, solib_map_sections, clear_so, free_so, update_solib_list)
(solib_add, solib_keep_data_in_core, clear_solib)
(solib_create_inferior_hook, in_solib_dynsym_resolve_code)
(reload_shared_libraries, solib_global_lookup): Make the ops variable
const.
* solib.h (set_solib_ops): Make the new_ops parameter const.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.15607&r2=1.15608
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/solib.c.diff?cvsroot=src&r1=1.173&r2=1.174
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/solib.h.diff?cvsroot=src&r1=1.34&r2=1.35