diff options
author | Robert Mustacchi <rm@joyent.com> | 2012-11-13 23:48:19 +0000 |
---|---|---|
committer | Robert Mustacchi <rm@joyent.com> | 2012-11-21 07:08:21 +0000 |
commit | 66bbd2b9c817e75f72b055981eb23eaee4f74846 (patch) | |
tree | b88c5af8027e9f5e5d76a42fbf340ba55964e72a /usr/src/common/ctf/ctf_impl.h | |
parent | b6074390f3ef84676ad2ba8f216cd685b0b92e04 (diff) | |
download | illumos-joyent-66bbd2b9c817e75f72b055981eb23eaee4f74846.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 *, |