Rename new_symfile_objfile, make static.
authorDoug Evans <dje@google.com>
Wed, 11 Feb 2015 01:01:37 +0000 (17:01 -0800)
committerDoug Evans <dje@google.com>
Wed, 11 Feb 2015 01:01:37 +0000 (17:01 -0800)
gdb/ChangeLog:

* symfile.h (new_symfile_objfile): Delete.
* symfile.c (finish_new_objfile): Renamed from new_symfile_objfile.
All callers updated.

gdb/ChangeLog
gdb/symfile.c
gdb/symfile.h

index bdce011404fd966a655d6a0c644287ceb1845222..7de64c509d0b8ca5ad39b375368b46f7efdc0408 100644 (file)
@@ -1,3 +1,9 @@
+2015-02-11  Doug Evans  <dje@google.com>
+
+       * symfile.h (new_symfile_objfile): Delete.
+       * symfile.c (finish_new_objfile): Renamed from new_symfile_objfile.
+       All callers updated.
+
 2015-02-11  Patrick Palka  <patrick@parcs.ath.cx>
 
        * tui/tui-io.c (tui_handle_resize_during_io): Call
index 5ae50009bf2e3de7bd1c3da8d825b9e1e2cb1865..c2a71eca59882a8b47016521615c7abca46a53cb 100644 (file)
@@ -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);
 
index a22ee040d5c1ff4a458325cf7acdc5eb9de853bb..0bf40c1bb90e0f8094203589d503aa2f7a6bfa4e 100644 (file)
@@ -458,8 +458,6 @@ enum symfile_add_flags
     SYMFILE_NO_READ = 1 << 4
   };
 
-extern void new_symfile_objfile (struct objfile *, int);
-
 extern struct objfile *symbol_file_add (const char *, int,
                                        struct section_addr_info *, int);
 
This page took 0.03278 seconds and 4 git commands to generate.