OSDN Git Service

* gcore.c: Include solib.h.
authorjsm28 <jsm28>
Wed, 2 Dec 2009 07:46:07 +0000 (07:46 +0000)
committerjsm28 <jsm28>
Wed, 2 Dec 2009 07:46:07 +0000 (07:46 +0000)
commit5cb59aa5dfe0e2c64383c43375c60151a8fe90b0
treea255a63ea5e567755e6336ce75227951e11fd403
parent9e4adeaf06232ce3f96ade4d30b7e78857189b16
* 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