OSDN Git Service

* objfiles.c (struct objfile_data): Delete member cleanup and replace
authordevans <devans>
Fri, 11 Sep 2009 18:51:29 +0000 (18:51 +0000)
committerdevans <devans>
Fri, 11 Sep 2009 18:51:29 +0000 (18:51 +0000)
commit6783efc461b5f1de36ba242be406c46cdefdedff
tree82528d108582ce0732259fdc62428d3400299502
parent60fef4ba7b8b3bba495e8a2297adee906a6323e5
* objfiles.c (struct objfile_data): Delete member cleanup and replace
with save, free.
(register_objfile_data_with_cleanup): Delete arg cleanup and replace
with save, free.  All callers updated.
(clear_objfile_data): Replace cleanup loop with separate save and
free loops.
* objfiles.h (register_objfile_data_with_cleanup): Update.
* arm-tdep.c (arm_objfile_data_free): Renamed from
arm_objfile_data_cleanup, all callers updated.
* dwarf2read.c (dwarf2_per_objfile_free): Renamed from
dwarf2_per_objfile_cleanup, all callers updated.
* python/py-objfile.c (py_free_objfile): Renamed from clean_up_objfile,
all callers updated.
* python/py-type.c (save_objfile_types): Renamed from
clean_up_objfile_types, all callers updated.
gdb/ChangeLog
gdb/arm-tdep.c
gdb/dwarf2read.c
gdb/objfiles.c
gdb/objfiles.h
gdb/python/py-objfile.c
gdb/python/py-type.c