/* 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
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.
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,
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,
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 */