This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Move clear_symtab_users, deduce_language_from_filename decls to better place.


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=f176c4b57f57c8965807256bad1cd487b92b5457

commit f176c4b57f57c8965807256bad1cd487b92b5457
Author: Doug Evans <dje@google.com>
Date:   Fri Feb 6 11:32:01 2015 -0800

    Move clear_symtab_users, deduce_language_from_filename decls to better place.
    
    gdb/ChangeLog:
    
    	* symtab.h (clear_symtab_users, deduce_language_from_filename): Move
    	* symfile.h (clear_symtab_users, deduce_language_from_filename): ...
    	to here.

Diff:
---
 gdb/ChangeLog | 6 ++++++
 gdb/symfile.h | 4 ++++
 gdb/symtab.h  | 8 +-------
 3 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 03c85f2..8011f96 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2015-02-06  Doug Evans  <dje@google.com>
+
+	* symtab.h (clear_symtab_users, deduce_language_from_filename): Move
+	* symfile.h (clear_symtab_users, deduce_language_from_filename): ...
+	to here.
+
 2015-02-06  Pedro Alves  <palves@redhat.com>
 
 	* linux-thread-db.c (find_new_threads_callback): Add debug output.
diff --git a/gdb/symfile.h b/gdb/symfile.h
index d5ae4ad..a22ee04 100644
--- a/gdb/symfile.h
+++ b/gdb/symfile.h
@@ -434,6 +434,10 @@ extern void add_compunit_symtab_to_objfile (struct compunit_symtab *cu);
 
 extern void add_symtab_fns (enum bfd_flavour flavour, const struct sym_fns *);
 
+extern void clear_symtab_users (int add_flags);
+
+extern enum language deduce_language_from_filename (const char *);
+
 /* This enum encodes bit-flags passed as ADD_FLAGS parameter to
    symbol_file_add, etc.  */
 
diff --git a/gdb/symtab.h b/gdb/symtab.h
index d1d2147..0eb3a5b 100644
--- a/gdb/symtab.h
+++ b/gdb/symtab.h
@@ -1416,7 +1416,7 @@ extern int find_line_pc_range (struct symtab_and_line, CORE_ADDR *,
 
 extern void resolve_sal_pc (struct symtab_and_line *);
 
-/* Symbol-reading stuff in symfile.c and solib.c.  */
+/* solib.c */
 
 extern void clear_solib (void);
 
@@ -1474,12 +1474,6 @@ extern struct symtab_and_line find_function_start_sal (struct symbol *sym,
 
 extern void skip_prologue_sal (struct symtab_and_line *);
 
-/* symfile.c */
-
-extern void clear_symtab_users (int add_flags);
-
-extern enum language deduce_language_from_filename (const char *);
-
 /* symtab.c */
 
 extern CORE_ADDR skip_prologue_using_sal (struct gdbarch *gdbarch,


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]