Make add_separate_debug_objfile static
authorTom Tromey <tom@tromey.com>
Fri, 1 Nov 2019 22:10:48 +0000 (16:10 -0600)
committerTom Tromey <tom@tromey.com>
Thu, 12 Dec 2019 22:50:51 +0000 (15:50 -0700)
commitf65fe5704af56aca58fd5547d0841a9512e540af
treed9417b502413aa887de630366220a1c324fd1875
parentbda13cdcf0db4d9cee648bfa0bfc7f1a4415d2a7
Make add_separate_debug_objfile static

This changes objfile::make to take a "parent" parameter, and makes
add_separate_debug_objfile static.

gdb/ChangeLog
2019-12-12  Tom Tromey  <tom@tromey.com>

* symfile.c (symbol_file_add_with_addrs): Pass "parent" to
objfile::make.
* objfiles.h (struct objjfile) <make>: No longer inline.
(add_separate_debug_objfile): Don't declare.
* objfiles.c (add_separate_debug_objfile): Now static.
(objfile::make): Move from objfiles.h.  Call
add_separate_debug_objfile.  Add "parent" parameter.

Change-Id: I631f43bb71738dea6ae0697317bf8ef4a0db4617
gdb/ChangeLog
gdb/objfiles.c
gdb/objfiles.h
gdb/symfile.c