libctf: error out on corrupt CTF with invalid header flags
[deliverable/binutils-gdb.git] / include / ctf.h
index 168092b650e2ab025373d8ad8de5cee579278c5c..f251759afa1fb8d00a5826c604c9e4ae9c975277 100644 (file)
@@ -199,7 +199,8 @@ typedef struct ctf_header
 #define CTF_VERSION_3 4
 #define CTF_VERSION CTF_VERSION_3 /* Current version.  */
 
-#define CTF_F_COMPRESS 0x1     /* Data buffer is compressed by libctf.  */
+#define CTF_F_COMPRESS 0x1             /* Data buffer is compressed by libctf.  */
+#define CTF_F_MAX      CTF_F_COMPRESS  /* The greatest flag value in use.  */
 
 typedef struct ctf_lblent
 {
This page took 0.023174 seconds and 4 git commands to generate.