Replace header_files global by per-objfile field.
authorPer Bothner <per@bothner.com>
Mon, 7 Oct 1996 17:45:29 +0000 (17:45 +0000)
committerPer Bothner <per@bothner.com>
Mon, 7 Oct 1996 17:45:29 +0000 (17:45 +0000)
commit7f8da359a85c040f6b22960eba8e8785a5576251
tree4c51e70fb365f0f5f1e0bfcd4265c6408da4a896
parente61a754e396df151e55b22c2d0277258e0ec0e1d
Replace header_files global by per-objfile field.
* gdb-stabs.h (struct dbx_symfile_info):  Add fields header_files,
n_header_files, n_allocated_header_files.
* stabsread.h (header_files, n_header_files, n_allocated_header_files):
Replace externs by macros HEADER_FILES, N_HEADER_FILES, and
N_ALLOCATED_HEADER_FILES.
* dbxread.c (dbx_symfile_finish):  Free HEADER_FILES.
(free_header_files, init_header-files):  Don't free/init headerfiles.
(various functions):  Use macros instead of header_files globals.
* stabsread.c (various functions):  Likewise.
gdb/ChangeLog
gdb/dbxread.c
gdb/gdb-stabs.h
gdb/stabsread.c
gdb/stabsread.h