* gcore.c: Include solib.h.
authorJoseph Myers <joseph@codesourcery.com>
Tue, 1 Dec 2009 22:46:15 +0000 (22:46 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Tue, 1 Dec 2009 22:46:15 +0000 (22:46 +0000)
commitde18c1d81e0722779ce942110fb271e94db9635b
tree9e9c8edb06dd77c05617f2d55ba4c7c5bdc6789a
parent16af530a6fd6d33174ae322fb1739bcbcbeaf96d
* gcore.c: Include solib.h.
(gcore_create_callback): Call solib_keep_data_in_core when
considering not saving memory in core file.
* solib-svr4.c (svr4_keep_data_in_core): New.
(_initialize_svr4_solib): Initialize
svr4_so_ops.keep_data_in_core.
* solib.c (solib_keep_data_in_core): New.
* solib.h (solib_keep_data_in_core): Declare.
* solist.h (struct target_so_ops): Add keep_data_in_core.
gdb/ChangeLog
gdb/gcore.c
gdb/solib-svr4.c
gdb/solib.c
gdb/solib.h
gdb/solist.h