X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=include%2Fctf.h;h=168092b650e2ab025373d8ad8de5cee579278c5c;hb=7ab967941150b2f79fc089893bf51e6bb53d245b;hp=f371cd73c9439483bc16af77ab19024880459e34;hpb=2db912ba1a9e1c249cb4795f781fd4ea9fe9e7f2;p=deliverable%2Fbinutils-gdb.git diff --git a/include/ctf.h b/include/ctf.h index f371cd73c9..168092b650 100644 --- a/include/ctf.h +++ b/include/ctf.h @@ -1,5 +1,5 @@ /* CTF format description. - Copyright (C) 2019 Free Software Foundation, Inc. + Copyright (C) 2019-2020 Free Software Foundation, Inc. This file is part of libctf. @@ -353,6 +353,7 @@ union #define CTF_NAME_STID(name) ((name) >> 31) #define CTF_NAME_OFFSET(name) ((name) & CTF_MAX_NAME) +#define CTF_SET_STID(name, stid) ((name) | (stid) << 31) /* V2 only. */ #define CTF_TYPE_INFO(kind, isroot, vlen) \