* objfiles.h (struct objfile): Add memebers `data' and `num_data'.
authorMark Kettenis <kettenis@gnu.org>
Thu, 21 Aug 2003 22:35:33 +0000 (22:35 +0000)
committerMark Kettenis <kettenis@gnu.org>
Thu, 21 Aug 2003 22:35:33 +0000 (22:35 +0000)
commit0d0e1a63ef41342561755ff20bad14d778925152
treec9cbe1a29625e351a2a6a0bb6efc15e8fc76b08d
parentd90cf509bd4aee2e024979a75685826a5289ba22
* objfiles.h (struct objfile): Add memebers `data' and `num_data'.
(register_objfile_data, set_objfile_data, objfile_data): New
prototypes.
* objfiles.c (objfile_alloc_data, objfile_free_data): New
prototypes.
(allocate_objfile): Call objfile_alloc_data.
(free_objfile): Call objfile_free_data.
(struct objfile_data): New.
(struct objfile_data_registration): New.
(struct objfile_data_registry): New.
(objfile_data_registry): New variable.
(register_objfile_data): New function.
(objfile_alloc_data, objfile_free_data): New functions.
(set_objfile_data, objfile_data): New functions.
* dwarf2-frame.c (dwarf2_frame_data): New variable.
(dwarf2_frame_find_fde, add_fde): Use new per-objfile data mechanism.
(_initialize_dwarf2_frame): New function and prototype.
gdb/ChangeLog
gdb/dwarf2-frame.c
gdb/objfiles.c
gdb/objfiles.h
This page took 0.040533 seconds and 4 git commands to generate.