diff options
Diffstat (limited to 'include/gdb/section-scripts.h')
-rw-r--r-- | include/gdb/section-scripts.h | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/include/gdb/section-scripts.h b/include/gdb/section-scripts.h index c4b7a1c..effce62 100644 --- a/include/gdb/section-scripts.h +++ b/include/gdb/section-scripts.h @@ -28,8 +28,6 @@ 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. */ @@ -47,4 +45,18 @@ 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 */ |