GNU Binutils with patches for OS216
Revision | e7d52ed30408677f63c121e88a1493e6300b80ba (tree) |
---|---|
Time | 2015-02-11 10:01:37 |
Author | Doug Evans <dje@goog...> |
Commiter | Doug Evans |
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.
@@ -1,3 +1,9 @@ | ||
1 | +2015-02-11 Doug Evans <dje@google.com> | |
2 | + | |
3 | + * symfile.h (new_symfile_objfile): Delete. | |
4 | + * symfile.c (finish_new_objfile): Renamed from new_symfile_objfile. | |
5 | + All callers updated. | |
6 | + | |
1 | 7 | 2015-02-11 Patrick Palka <patrick@parcs.ath.cx> |
2 | 8 | |
3 | 9 | * tui/tui-io.c (tui_handle_resize_during_io): Call |
@@ -1099,8 +1099,8 @@ syms_from_objfile (struct objfile *objfile, | ||
1099 | 1099 | symbols for a new objfile, or mapping in the symbols from a reusable |
1100 | 1100 | objfile. ADD_FLAGS is a bitmask of enum symfile_add_flags. */ |
1101 | 1101 | |
1102 | -void | |
1103 | -new_symfile_objfile (struct objfile *objfile, int add_flags) | |
1102 | +static void | |
1103 | +finish_new_objfile (struct objfile *objfile, int add_flags) | |
1104 | 1104 | { |
1105 | 1105 | /* If this is the main symbol file we have to clean up all users of the |
1106 | 1106 | 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, | ||
1234 | 1234 | return objfile; /* No symbols. */ |
1235 | 1235 | } |
1236 | 1236 | |
1237 | - new_symfile_objfile (objfile, add_flags); | |
1237 | + finish_new_objfile (objfile, add_flags); | |
1238 | 1238 | |
1239 | 1239 | observer_notify_new_objfile (objfile); |
1240 | 1240 |
@@ -458,8 +458,6 @@ enum symfile_add_flags | ||
458 | 458 | SYMFILE_NO_READ = 1 << 4 |
459 | 459 | }; |
460 | 460 | |
461 | -extern void new_symfile_objfile (struct objfile *, int); | |
462 | - | |
463 | 461 | extern struct objfile *symbol_file_add (const char *, int, |
464 | 462 | struct section_addr_info *, int); |
465 | 463 |