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