Pass INTERNAL_GDBFLAGS when executing GDB
[deliverable/binutils-gdb.git] / include / gdb / section-scripts.h
index c4b7a1cd56f6f3ade2bb0765337ca8e211f06ccd..bec049d4a913a30e9e3a99d3b0826f49ab223e40 100644 (file)
@@ -1,6 +1,6 @@
 /* Definition of kinds of records in section .debug_gdb_scripts.
 
 /* Definition of kinds of records in section .debug_gdb_scripts.
 
-   Copyright (C) 2014-2015 Free Software Foundation, Inc.
+   Copyright (C) 2014-2020 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
 
    This file is part of GDB.
 
@@ -28,8 +28,6 @@
    Other unused values needn't specify different scripting languages,
    but we have no need for anything else at the moment.
 
    Other unused values needn't specify different scripting languages,
    but we have no need for anything else at the moment.
 
-   Future extension: Include the contents of the script in the section.
-
    These values are defined as macros so that they can be used in embedded
    asms and assembler source files.  */
 
    These values are defined as macros so that they can be used in embedded
    asms and assembler source files.  */
 
    file.  */
 #define SECTION_SCRIPT_ID_SCHEME_FILE 3
 
    file.  */
 #define SECTION_SCRIPT_ID_SCHEME_FILE 3
 
+/* The record is a nul-terminated string.
+   The first line is the name of the script.
+   Subsequent lines are interpreted as a python script.  */
+#define SECTION_SCRIPT_ID_PYTHON_TEXT 4
+
+/* Native GDB scripts are not currently supported in .debug_gdb_scripts,
+   but we reserve a value for it.  */
+/*#define SECTION_SCRIPT_ID_GDB_TEXT 5*/
+
+/* The record is a nul-terminated string.
+   The first line is the name of the script.
+   Subsequent lines are interpreted as a guile(scheme) script.  */
+#define SECTION_SCRIPT_ID_SCHEME_TEXT 6
+
 #endif /* GDB_SECTION_SCRIPTS_H */
 #endif /* GDB_SECTION_SCRIPTS_H */
This page took 0.023184 seconds and 4 git commands to generate.