Handle function aliases better (PR gdb/19487, errno printing)
[deliverable/binutils-gdb.git] / gdb / symtab.h
index 35949f08674e36313f20cee90c2f41c5d3a8fbf7..8cbf4d6d9422b823deb07c961a6712e0c902fb3c 100644 (file)
@@ -1556,6 +1556,13 @@ extern CORE_ADDR skip_prologue_using_sal (struct gdbarch *gdbarch,
 extern struct symbol *fixup_symbol_section (struct symbol *,
                                            struct objfile *);
 
+/* If MSYMBOL is an text symbol, look for a function debug symbol with
+   the same address.  Returns NULL if not found.  This is necessary in
+   case a function is an alias to some other function, because debug
+   information is only emitted for the alias target function's
+   definition, not for the alias.  */
+extern symbol *find_function_alias_target (bound_minimal_symbol msymbol);
+
 /* Symbol searching */
 /* Note: struct symbol_search, search_symbols, et.al. are declared here,
    instead of making them local to symtab.c, for gdbtk's sake.  */
This page took 0.026837 seconds and 4 git commands to generate.