• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

GNU Binutils with patches for OS216


Commit MetaInfo

Revisione7d52ed30408677f63c121e88a1493e6300b80ba (tree)
Time2015-02-11 10:01:37
AuthorDoug Evans <dje@goog...>
CommiterDoug Evans

Log Message

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.

Change Summary

Incremental Difference

--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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+
17 2015-02-11 Patrick Palka <patrick@parcs.ath.cx>
28
39 * tui/tui-io.c (tui_handle_resize_during_io): Call
--- a/gdb/symfile.c
+++ b/gdb/symfile.c
@@ -1099,8 +1099,8 @@ syms_from_objfile (struct objfile *objfile,
10991099 symbols for a new objfile, or mapping in the symbols from a reusable
11001100 objfile. ADD_FLAGS is a bitmask of enum symfile_add_flags. */
11011101
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)
11041104 {
11051105 /* If this is the main symbol file we have to clean up all users of the
11061106 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,
12341234 return objfile; /* No symbols. */
12351235 }
12361236
1237- new_symfile_objfile (objfile, add_flags);
1237+ finish_new_objfile (objfile, add_flags);
12381238
12391239 observer_notify_new_objfile (objfile);
12401240
--- a/gdb/symfile.h
+++ b/gdb/symfile.h
@@ -458,8 +458,6 @@ enum symfile_add_flags
458458 SYMFILE_NO_READ = 1 << 4
459459 };
460460
461-extern void new_symfile_objfile (struct objfile *, int);
462-
463461 extern struct objfile *symbol_file_add (const char *, int,
464462 struct section_addr_info *, int);
465463