* corelow.c (add_solib_stub): Remove copying of to_sections,
authorPeter Schauer <Peter.Schauer@mytum.de>
Sat, 24 Sep 1994 09:00:50 +0000 (09:00 +0000)
committerPeter Schauer <Peter.Schauer@mytum.de>
Sat, 24 Sep 1994 09:00:50 +0000 (09:00 +0000)
commit9137a6f46143a8040946749c16e7f5484c253b2e
tree436a409819d5ae5833d3123b62064b9fd6d69b64
parentcacd15c40dde7322fcfbd64edf524e8ce9af2225
* corelow.c (add_solib_stub):  Remove copying of to_sections,
pass current_target to SOLIB_ADD. The Sep 10 change failed
if SOLIB_ADD errored out, or if SOLIB_ADD was trying to access
target memory.
* corelow.c (core_open):  After reading the shared libraries,
copy the modified to_sections vector from current_target to
core_ops, so that core_close can free it later.
* config/rs6000/nm-rs6000.h, rs6000-nat.c (xcoff_relocate_core):
Pass down target parameter from SOLIB_ADD and use it instead of
directly accessing core_ops.
gdb/ChangeLog
gdb/corelow.c
gdb/rs6000-nat.c