Change all_objfiles adapter to be a method on program_space
[deliverable/binutils-gdb.git] / gdb / compile / compile.h
index 486361f9dbec88e65f3ac419cc43eea2d55df5e6..88bd8d8591ff74c9d198d9ffdbb4a8f5d4425dba 100644 (file)
@@ -1,6 +1,6 @@
 /* Header file for Compile and inject module.
 
-   Copyright (C) 2014 Free Software Foundation, Inc.
+   Copyright (C) 2014-2019 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
@@ -28,8 +28,10 @@ struct dynamic_prop;
    expression command.  GDB returns either a CMD, or a CMD_STRING, but
    never both.  */
 
-extern void eval_compile_command (struct command_line *cmd, char *cmd_string,
-                                 enum compile_i_scope_types scope);
+extern void eval_compile_command (struct command_line *cmd,
+                                 const char *cmd_string,
+                                 enum compile_i_scope_types scope,
+                                 void *scope_data);
 
 /* Compile a DWARF location expression to C, suitable for use by the
    compiler.
@@ -53,7 +55,7 @@ extern void eval_compile_command (struct command_line *cmd, char *cmd_string,
    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,
@@ -88,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,
@@ -99,4 +101,9 @@ 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);
+
+/* Command element for the 'compile' command.  */
+extern cmd_list_element *compile_cmd_element;
+
 #endif /* GDB_COMPILE_H */
This page took 0.023857 seconds and 4 git commands to generate.