Introduce and use gdb_file_up
[deliverable/binutils-gdb.git] / gdb / compile / compile.h
index ccb136154dbb4794c97d8319c3e6f13bf82eafe3..743859932abf3f6214ec91f77ad8b7fe1e98c486 100644 (file)
@@ -1,6 +1,6 @@
 /* Header file for Compile and inject module.
 
-   Copyright (C) 2014-2015 Free Software Foundation, Inc.
+   Copyright (C) 2014-2017 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -30,7 +30,8 @@ struct dynamic_prop;
 
 extern void eval_compile_command (struct command_line *cmd,
                                  const char *cmd_string,
-                                 enum compile_i_scope_types scope);
+                                 enum compile_i_scope_types scope,
+                                 void *scope_data);
 
 /* Compile a DWARF location expression to C, suitable for use by the
    compiler.
@@ -54,7 +55,7 @@ extern void eval_compile_command (struct command_line *cmd,
    PER_CU is the per-CU object used for looking up various other
    things.  */
 
-extern void compile_dwarf_expr_to_c (struct ui_file *stream,
+extern void compile_dwarf_expr_to_c (string_file &stream,
                                     const char *result_name,
                                     struct symbol *sym,
                                     CORE_ADDR pc,
@@ -89,7 +90,7 @@ extern void compile_dwarf_expr_to_c (struct ui_file *stream,
    PER_CU is the per-CU object used for looking up various other
    things.  */
 
-extern void compile_dwarf_bounds_to_c (struct ui_file *stream,
+extern void compile_dwarf_bounds_to_c (string_file &stream,
                                       const char *result_name,
                                       const struct dynamic_prop *prop,
                                       struct symbol *sym, CORE_ADDR pc,
@@ -100,4 +101,6 @@ extern void compile_dwarf_bounds_to_c (struct ui_file *stream,
                                       const gdb_byte *op_end,
                                       struct dwarf2_per_cu_data *per_cu);
 
+extern void compile_print_value (struct value *val, void *data_voidp);
+
 #endif /* GDB_COMPILE_H */
This page took 0.025317 seconds and 4 git commands to generate.