diff options
author | Robert Mustacchi <rm@joyent.com> | 2012-11-22 06:11:12 +0000 |
---|---|---|
committer | Robert Mustacchi <rm@joyent.com> | 2012-11-22 06:11:12 +0000 |
commit | eac066288b29211976a0add347eb3990834cddb0 (patch) | |
tree | 71e75ff46f596a67dd96e04cc31865f9aa3aad32 /usr/src/common/ctf/ctf_impl.h | |
parent | 07de33ff39abfed09baa8bd74995810e038e675b (diff) | |
download | illumos-joyent-eac066288b29211976a0add347eb3990834cddb0.tar.gz |
OS-1474 Want ::typedef
OS-1598 Want mdb -e
OS-1600 Want an mdb test suite driver
OS-1632 mdb on x86 should be able to print alternate register names
OS-1699 libctf should support removing a dynamic type
OS-1700 libctf does not validate arrays correctly
OS-1701 libctf does not validate function types correctly
Diffstat (limited to 'usr/src/common/ctf/ctf_impl.h')
-rw-r--r-- | usr/src/common/ctf/ctf_impl.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/usr/src/common/ctf/ctf_impl.h b/usr/src/common/ctf/ctf_impl.h index 99990806a3..f56fa6a005 100644 --- a/usr/src/common/ctf/ctf_impl.h +++ b/usr/src/common/ctf/ctf_impl.h @@ -24,12 +24,13 @@ * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ +/* + * Copyright (c) 2012, Joyent, Inc. All rights reserved. + */ #ifndef _CTF_IMPL_H #define _CTF_IMPL_H -#pragma ident "%Z%%M% %I% %E% SMI" - #include <sys/types.h> #include <sys/errno.h> #include <sys/sysmacros.h> @@ -149,6 +150,7 @@ typedef struct ctf_dtdef { char *dtd_name; /* name associated with definition (if any) */ ctf_id_t dtd_type; /* type identifier for this definition */ ctf_type_t dtd_data; /* type node (see <sys/ctf.h>) */ + int dtd_ref; /* recfount for dyanmic types */ union { ctf_list_t dtu_members; /* struct, union, or enum */ ctf_arinfo_t dtu_arr; /* array */ @@ -269,7 +271,9 @@ enum { ECTF_DTFULL, /* CTF type is full (no more members allowed) */ ECTF_FULL, /* CTF container is full */ ECTF_DUPMEMBER, /* duplicate member name definition */ - ECTF_CONFLICT /* conflicting type definition present */ + ECTF_CONFLICT, /* conflicting type definition present */ + ECTF_REFERENCED, /* type has outstanding references */ + ECTF_NOTDYN /* type is not a dynamic type */ }; extern ssize_t ctf_get_ctt_size(const ctf_file_t *, const ctf_type_t *, |