diff options
author | Doug Evans <dje@google.com> | 2015-02-10 17:01:37 -0800 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2015-02-10 17:01:37 -0800 |
commit | e7d52ed30408677f63c121e88a1493e6300b80ba (patch) | |
tree | 139067ded51601dcc2f4c18152be665ac627aa77 /gdb/symfile.c | |
parent | fc6b1256ee5062cda1dfdaf2173bee6563eacdb9 (diff) | |
download | gdb-e7d52ed30408677f63c121e88a1493e6300b80ba.zip gdb-e7d52ed30408677f63c121e88a1493e6300b80ba.tar.gz gdb-e7d52ed30408677f63c121e88a1493e6300b80ba.tar.bz2 |
Rename new_symfile_objfile, make static.
gdb/ChangeLog:
* symfile.h (new_symfile_objfile): Delete.
* symfile.c (finish_new_objfile): Renamed from new_symfile_objfile.
All callers updated.
Diffstat (limited to 'gdb/symfile.c')
-rw-r--r-- | gdb/symfile.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c index 5ae5000..c2a71ec 100644 --- a/gdb/symfile.c +++ b/gdb/symfile.c @@ -1099,8 +1099,8 @@ syms_from_objfile (struct objfile *objfile, symbols for a new objfile, or mapping in the symbols from a reusable objfile. ADD_FLAGS is a bitmask of enum symfile_add_flags. */ -void -new_symfile_objfile (struct objfile *objfile, int add_flags) +static void +finish_new_objfile (struct objfile *objfile, int add_flags) { /* If this is the main symbol file we have to clean up all users of the old main symbol file. Otherwise it is sufficient to fixup all the @@ -1234,7 +1234,7 @@ symbol_file_add_with_addrs (bfd *abfd, const char *name, int add_flags, return objfile; /* No symbols. */ } - new_symfile_objfile (objfile, add_flags); + finish_new_objfile (objfile, add_flags); observer_notify_new_objfile (objfile); |