17c478bd9Sstevel@tonic-gate#
27c478bd9Sstevel@tonic-gate# CDDL HEADER START
37c478bd9Sstevel@tonic-gate#
47c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the
510a4fa49Srie# Common Development and Distribution License (the "License").
610a4fa49Srie# You may not use this file except in compliance with the License.
77c478bd9Sstevel@tonic-gate#
87c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
97c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing.
107c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions
117c478bd9Sstevel@tonic-gate# and limitations under the License.
127c478bd9Sstevel@tonic-gate#
137c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each
147c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
157c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the
167c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying
177c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner]
187c478bd9Sstevel@tonic-gate#
197c478bd9Sstevel@tonic-gate# CDDL HEADER END
207c478bd9Sstevel@tonic-gate#
2110a4fa49Srie
2210a4fa49Srie#
232020b2b6SRod Evans# Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved.
2410a4fa49Srie#
257c478bd9Sstevel@tonic-gate
267c478bd9Sstevel@tonic-gate@ _START_
277c478bd9Sstevel@tonic-gate
287c478bd9Sstevel@tonic-gate@ _END_
297c478bd9Sstevel@tonic-gate
307c478bd9Sstevel@tonic-gate#
317c478bd9Sstevel@tonic-gate# Misc. Strings
327c478bd9Sstevel@tonic-gate#
337c478bd9Sstevel@tonic-gate@ MSG_STR_NAME		"NAME"
347c478bd9Sstevel@tonic-gate@ MSG_STR_PATHNAME	"PATHNAME"
357c478bd9Sstevel@tonic-gate@ MSG_STR_REFNAME	"REFNAME"
367c478bd9Sstevel@tonic-gate@ MSG_STR_RPATH		"RPATH"
377c478bd9Sstevel@tonic-gate@ MSG_STR_DASHES	"----------------------------------------------\n"
387c478bd9Sstevel@tonic-gate@ MSG_STR_LDSO1		"ld.so.1"
397c478bd9Sstevel@tonic-gate@ MSG_STR_DYNLMLIST	"dynlm_list"
407c478bd9Sstevel@tonic-gate@ MSG_STR_ALIST		"Alist"
41cce0e03bSab@ MSG_STR_APLIST	"APlist"
427c478bd9Sstevel@tonic-gate@ MSG_STR_EMPTY		""
437c478bd9Sstevel@tonic-gate@ MSG_STR_ORPHANED	"<orphaned>"
447c478bd9Sstevel@tonic-gate@ MSG_STR_SETENV	"setenv"
457c478bd9Sstevel@tonic-gate
467c478bd9Sstevel@tonic-gate#
477c478bd9Sstevel@tonic-gate# mdb_dcmd_t.dc_usage's
487c478bd9Sstevel@tonic-gate#
497c478bd9Sstevel@tonic-gate@ MSG_USG_ADDREQ	":"			# Address required
507c478bd9Sstevel@tonic-gate@ MSG_USG_ADDREQ_V	":[-v]"			# Address required plus -v
517c478bd9Sstevel@tonic-gate@ MSG_USG_ADDOPT_V	"?[-v]"			# Address optional plus -v
527c478bd9Sstevel@tonic-gate@ MSG_USG_SETENV	"name[=value]"		# Setenv argument
537c478bd9Sstevel@tonic-gate
547c478bd9Sstevel@tonic-gate#
557c478bd9Sstevel@tonic-gate# mdb_walker.walk_descr's
567c478bd9Sstevel@tonic-gate#
577c478bd9Sstevel@tonic-gate@ MSG_WWD_RTMAP		"Walk a List of Rt_maps"
587c478bd9Sstevel@tonic-gate
597c478bd9Sstevel@tonic-gate#
607c478bd9Sstevel@tonic-gate# Flag Strings
617c478bd9Sstevel@tonic-gate#
629a411307Srie@ MSG_FLG_ISMAIN	"IS-MAIN"
639a411307Srie@ MSG_FLG_IMGALLOC	"IMAGE-ALLOCATED"
647c478bd9Sstevel@tonic-gate@ MSG_FLG_RELOCED	"RELOCED"
659a411307Srie@ MSG_FLG_SETGROUP	"SET-GROUP"
6608278a5eSRod Evans@ MSG_FLG_CAP		"CAP"
677c478bd9Sstevel@tonic-gate@ MSG_FLG_OBJECT	"OBJECT"
68dde769a2SRod Evans@ MSG_FLG_NEWLOAD	"NEWLOAD"
697c478bd9Sstevel@tonic-gate@ MSG_FLG_NODUMP	"NODUMP"
707c478bd9Sstevel@tonic-gate@ MSG_FLG_DELETE	"DELETE"
717c478bd9Sstevel@tonic-gate@ MSG_FLG_ANALYZED	"ANALYZED"
729a411307Srie@ MSG_FLG_INITDONE	"INIT-DONE"
737c478bd9Sstevel@tonic-gate@ MSG_FLG_TRANS		"TRANS"
747c478bd9Sstevel@tonic-gate@ MSG_FLG_FIXED		"FIXED"
757c478bd9Sstevel@tonic-gate@ MSG_FLG_PRELOAD	"PRELOAD"
769a411307Srie@ MSG_FLG_ALTER		"ALTERNATE"
779a411307Srie@ MSG_FLG_LOADFLTR	"LOAD-FILTERS"
787c478bd9Sstevel@tonic-gate@ MSG_FLG_AUDIT		"AUDIT"
799a411307Srie@ MSG_FLG_MODESET	"MODE-SET"
807c478bd9Sstevel@tonic-gate@ MSG_FLG_ANALZING	"ANALYZING"
819a411307Srie@ MSG_FLG_INITFRST	"INIT-FIRST"
829a411307Srie@ MSG_FLG_NOOPEN	"NO-OPEN"
839a411307Srie@ MSG_FLG_FINICLCT	"FINI-COLLECTED"
849a411307Srie@ MSG_FLG_INITCALL	"INIT-CALLED"
859a411307Srie@ MSG_FLG_OBJINTPO	"OBJECT-INTERPOSE"
869a411307Srie@ MSG_FLG_SYMINTPO	"SYMBOL-INTERPOSE"
877c478bd9Sstevel@tonic-gate@ MSG_FLG_MOVE		"MOVE"
882017c965SRod Evans@ MSG_FLG_RELOCING	"RELOCATING"
899a411307Srie@ MSG_FLG_REGSYMS	"REGISTER-SYMS"
909a411307Srie@ MSG_FLG_INITCLCT	"INIT-COLLECTED"
912017c965SRod Evans@ MSG_FLG_PUBHDL	"PUBLIC-HANDLE"
922017c965SRod Evans@ MSG_FLG_PRIHDL	"PRIVATE-HANDLE"
937c478bd9Sstevel@tonic-gate
947c478bd9Sstevel@tonic-gate@ MSG_FL1_COPYTOOK	"COPYTOOK"
9508278a5eSRod Evans@ MSG_FL1_ALTCHECK	"ALT-CAP-CHECKED"
9608278a5eSRod Evans@ MSG_FL1_ALTCAP	"ALT-CAP-REQUIRED"
977c478bd9Sstevel@tonic-gate@ MSG_FL1_CONFSET	"CONFSET"
989a411307Srie@ MSG_FL1_NODEFLIB	"NO-DEFAULT-LIBPATH"
999a411307Srie@ MSG_FL1_ENDFILTE	"END-FILTEE"
1009a411307Srie@ MSG_FL1_DISPREL	"DISPLACEMENT-RELOCATED"
10156deab07SRod Evans@ MSG_FL1_DTFLAGS	"DTFLAGS-AVAILABLE"
1027c478bd9Sstevel@tonic-gate@ MSG_FL1_LDDSTUB	"LDDSTUB"
1039a411307Srie@ MSG_FL1_NOINIFIN	"NO-INITFINI"
1047c478bd9Sstevel@tonic-gate@ MSG_FL1_USED		"USED"
1057c478bd9Sstevel@tonic-gate@ MSG_FL1_SYMBOLIC	"SYMBOLIC"
1069a411307Srie@ MSG_FL1_OBJSFLTR	"OBJ-STD-FILTER"
1079a411307Srie@ MSG_FL1_OBJAFLTR	"OBJ-AUX-FILTER"
1089a411307Srie@ MSG_FL1_SYMSFLTR	"SYM-STD-FILTER"
1099a411307Srie@ MSG_FL1_SYMAFLTR	"SYM-AUX-FILTER"
1109a411307Srie@ MSG_FL1_TLSADD	"TLS-ADD"
1119a411307Srie@ MSG_FL1_TLSSTAT	"TLS-STAT"
1129a411307Srie@ MSG_FL1_DIRECT	"DIRECT"
1137247f888Srie@ MSG_FL1_GLOBAUD	"GLOBAL-AUDITING"
114b533f56bSRobert Mustacchi@ MSG_FL1_DEPAUD	"DT-DEPAUDIT"
1157c478bd9Sstevel@tonic-gate
1167c478bd9Sstevel@tonic-gate@ MSG_MODE_LAZY		"LAZY"
1177c478bd9Sstevel@tonic-gate@ MSG_MODE_NOW		"NOW"
1187c478bd9Sstevel@tonic-gate@ MSG_MODE_NOLOAD	"NOLOAD"
1197c478bd9Sstevel@tonic-gate@ MSG_MODE_GLOBAL	"GLOBAL"
1207c478bd9Sstevel@tonic-gate@ MSG_MODE_PARENT	"PARENT"
1217c478bd9Sstevel@tonic-gate@ MSG_MODE_GROUP	"GROUP"
1227c478bd9Sstevel@tonic-gate@ MSG_MODE_WORLD	"WORLD"
1237c478bd9Sstevel@tonic-gate@ MSG_MODE_NODELETE	"NODELETE"
1247c478bd9Sstevel@tonic-gate@ MSG_MODE_FIRST	"FIRST"
1257c478bd9Sstevel@tonic-gate@ MSG_MODE_CONFGEN	"CONFGEN"
1267c478bd9Sstevel@tonic-gate
1277c478bd9Sstevel@tonic-gate@ MSG_BFL_NEEDED	"NEEDED"
1287c478bd9Sstevel@tonic-gate@ MSG_BFL_REFER		"REFERENCED"
129dffec89cSrie@ MSG_BFL_FILTER	"FILTER"
1307c478bd9Sstevel@tonic-gate
1312017c965SRod Evans@ MSG_GPH_PUBLIC	"PUBLIC-HANDLE"
1322017c965SRod Evans@ MSG_GPH_PRIVATE	"PRIVATE-HANDLE"
1337c478bd9Sstevel@tonic-gate@ MSG_GPH_ZERO		"ZERO"
1347c478bd9Sstevel@tonic-gate@ MSG_GPH_LDSO		"LD.SO.1"
1357c478bd9Sstevel@tonic-gate@ MSG_GPH_FIRST		"FIRST-ONLY"
1367c478bd9Sstevel@tonic-gate@ MSG_GPH_FILTEE	"FILTEE"
1377c478bd9Sstevel@tonic-gate@ MSG_GPH_INITIAL	"INITIALIZED"
1387c478bd9Sstevel@tonic-gate
139efb9e8b8Srie@ MSG_GPD_DLSYM		"AVAIL-TO-DLSYM"
140efb9e8b8Srie@ MSG_GPD_RELOC		"AVAIL-FOR-RELOCATION"
1417c478bd9Sstevel@tonic-gate@ MSG_GPD_ADDEPS	"ADD-DEPENDENCIES"
1427c478bd9Sstevel@tonic-gate@ MSG_GPD_PARENT	"PARENT"
1437c478bd9Sstevel@tonic-gate@ MSG_GPD_FILTER	"FILTER"
1447c478bd9Sstevel@tonic-gate@ MSG_GPD_REMOVE	"REMOVAL-CANDIDATE"
1457c478bd9Sstevel@tonic-gate
14656deab07SRod Evans@ MSG_LFL_BASELM		"BASELM"
14756deab07SRod Evans@ MSG_LFL_RTLDLM		"RTLDLM"
14856deab07SRod Evans@ MSG_LFL_PLTREL		"DEFERRED-PLT-RELOCATION"
14956deab07SRod Evans@ MSG_LFL_HOLDLOCK		"HOLD-LOCK"
15056deab07SRod Evans@ MSG_LFL_ENVIRON		"ENVIRON"
15156deab07SRod Evans@ MSG_LFL_INTRPOSE		"INTERPOSE"
15256deab07SRod Evans@ MSG_LFL_LOCAUDIT		"LOCAL-AUDIT"
15356deab07SRod Evans@ MSG_LFL_LOADAVAIL		"LOAD-AVAILABLE"
15456deab07SRod Evans@ MSG_LFL_IGNRELERR		"IGNORE-RELOCATION-ERROR"
15556deab07SRod Evans@ MSG_LFL_STARTREL		"START-RELOCATION"
15656deab07SRod Evans@ MSG_LFL_ATEXIT		"ATEXIT"
15756deab07SRod Evans@ MSG_LFL_OBJADDED		"OBJECT-ADDED"
15856deab07SRod Evans@ MSG_LFL_OBJDELETED		"OBJECT-DELETED"
15956deab07SRod Evans@ MSG_LFL_OBJREEVAL		"OBJECT-REEVALUATE"
16056deab07SRod Evans@ MSG_LFL_INTRPOSETSORT		"INTERPOSE-TSORTING-DONE"
161e0e63816SRod Evans@ MSG_LFL_AUDITNOTIFY		"AUDIT-CONSISTENT-REQUIRED"
16256deab07SRod Evans@ MSG_LFL_GROUPSEXIST		"LOCAL-GROUPS-EXIST"
16356deab07SRod Evans
16456deab07SRod Evans@ MSG_LFL_TRC_LDDSTUB		"LDDSTUB"
16556deab07SRod Evans@ MSG_LFL_TRC_ENABLE		"TRACING-ENABLED"
16656deab07SRod Evans@ MSG_LFL_TRC_WARN		"TRACE-WARNINGS"
16756deab07SRod Evans@ MSG_LFL_TRC_VERBOSE		"TRACE-VERBOSE"
16856deab07SRod Evans@ MSG_LFL_TRC_SEARCH		"TRACE-SEARCH"
16956deab07SRod Evans@ MSG_LFL_TRC_UNREF		"TRACE-UNREFERENCED"
17056deab07SRod Evans@ MSG_LFL_TRC_UNUSED		"TRACE-UNUSED"
17156deab07SRod Evans@ MSG_LFL_TRC_INIT		"TRACE-INIT"
17256deab07SRod Evans@ MSG_LFL_TRC_NOUNRESWEAK	"TRACE-NO-UNRESOLVED-WEAKS"
17356deab07SRod Evans@ MSG_LFL_TRC_NOPAREXT		"TRACE-NO-PARENT-OR-EXTERN"
17456deab07SRod Evans
17556deab07SRod Evans@ MSG_LTFL_NOLAZYLD		"NO-LAZY-LOADING"
17656deab07SRod Evans@ MSG_LTFL_NODIRECT		"NO-DIRECT"
1772020b2b6SRod Evans@ MSG_LTFL_NOAUDIT		"NO-AUDIT"
17856deab07SRod Evans@ MSG_LTFL_LOADFLTR		"LOAD-FILTER"
1797c478bd9Sstevel@tonic-gate
1807c478bd9Sstevel@tonic-gate@ MSG_LTFL_AUD_PREINIT		"AUD_PREINIT"
1817c478bd9Sstevel@tonic-gate@ MSG_LTFL_AUD_OBJSEARCH	"AUD_OBJSEARCH"
1827c478bd9Sstevel@tonic-gate@ MSG_LTFL_AUD_OBJOPEN		"AUD_OBJOPEN"
1837c478bd9Sstevel@tonic-gate@ MSG_LTFL_AUD_OBJFILTER	"AUD_OBJFILTER"
1847c478bd9Sstevel@tonic-gate@ MSG_LTFL_AUD_OBJCLOSE		"AUD_OBJCLOSE"
1857c478bd9Sstevel@tonic-gate@ MSG_LTFL_AUD_SYMBIND		"AUD_SYMBIND"
1867c478bd9Sstevel@tonic-gate@ MSG_LTFL_AUD_PLTENTER		"AUD_PLTENTER"
1877c478bd9Sstevel@tonic-gate@ MSG_LTFL_AUD_PLTEXIT		"AUD_PLTEXIT"
1887c478bd9Sstevel@tonic-gate@ MSG_LTFL_AUD_ACTIVITY		"AUD_ACTIVITY"
1897c478bd9Sstevel@tonic-gate
1907c478bd9Sstevel@tonic-gate@ MSG_LMC_ANALYZING		"ANALYZING"
1917c478bd9Sstevel@tonic-gate@ MSG_LMC_RELOCATING		"RELOCATING"
1927c478bd9Sstevel@tonic-gate@ MSG_LMC_REANALYZE		"REANALYZE"
1937c478bd9Sstevel@tonic-gate
1947c478bd9Sstevel@tonic-gate#
1957c478bd9Sstevel@tonic-gate# Error messages
1967c478bd9Sstevel@tonic-gate#
1977c478bd9Sstevel@tonic-gate@ MSG_ERR_NAS		"%s:: no address specified\n"
198*fec04708SRichard Lowe@ MSG_ERR_READ		"%s:: failed to read from: 0x%p\n"
1997c478bd9Sstevel@tonic-gate@ MSG_ERR_SYMFAILED	"rtmaps:: lookup of %s`%s failed\n"
2007c478bd9Sstevel@tonic-gate
2017c478bd9Sstevel@tonic-gate#
2027c478bd9Sstevel@tonic-gate# Various generic format strings
2037c478bd9Sstevel@tonic-gate#
2047c478bd9Sstevel@tonic-gate@ MSG_FMT_RT		"[0x%x]\t0x%0?p 0x%0?p %s\n"
2057c478bd9Sstevel@tonic-gate
2067c478bd9Sstevel@tonic-gate#
2077c478bd9Sstevel@tonic-gate# Elf header messages.
2087c478bd9Sstevel@tonic-gate#
2097c478bd9Sstevel@tonic-gate@ MSG_EHDR_STR		"ElfEhdr"
2107c478bd9Sstevel@tonic-gate
2117c478bd9Sstevel@tonic-gate@ MSG_EHDR_DCD		"Display Elf_Ehdr entry"
2127c478bd9Sstevel@tonic-gate
2137c478bd9Sstevel@tonic-gate@ MSG_EHDR_TITLE	"Elf Header located at: 0x%p\n"
2147c478bd9Sstevel@tonic-gate@ MSG_EHDR_LINE1	" ei_magic:    { 0x%x, %c, %c, %c }\n"
2157c478bd9Sstevel@tonic-gate@ MSG_EHDR_LINE2	" ei_class:    %-18s  ei_data:     %s\n"
2167c478bd9Sstevel@tonic-gate@ MSG_EHDR_LINE3	" e_machine:   %-18s  e_version:   %s\n"
2177c478bd9Sstevel@tonic-gate@ MSG_EHDR_LINE4	" e_type:      %s\n"
2187c478bd9Sstevel@tonic-gate@ MSG_EHDR_LINE5	" e_flags:     %s\n"
2197c478bd9Sstevel@tonic-gate@ MSG_EHDR_LINE6	" e_flags:     %18s\n"
2207c478bd9Sstevel@tonic-gate@ MSG_EHDR_LINE7	" e_entry:     %#18lx  e_ehsize:     %2d  \
2217c478bd9Sstevel@tonic-gate			  e_shstrndx:   %2d\n"
2227c478bd9Sstevel@tonic-gate@ MSG_EHDR_LINE8	" e_shoff:     %#18lx  e_shentsize:  %2d  \
2237c478bd9Sstevel@tonic-gate			  e_shnum:      %2d\n"
2247c478bd9Sstevel@tonic-gate@ MSG_EHDR_LINE9	" e_phoff:     %#18lx  e_phentsize:  %2d  \
2257c478bd9Sstevel@tonic-gate			  e_phnum:      %2d\n"
2267c478bd9Sstevel@tonic-gate
2277c478bd9Sstevel@tonic-gate@ MSG_EHDR_HELP		"\
2287c478bd9Sstevel@tonic-gate   Decode an ELF Header (Elf_Ehdr) structure.\n\
2297c478bd9Sstevel@tonic-gate   \n\
2307c478bd9Sstevel@tonic-gate   Example:\n\n\
2317c478bd9Sstevel@tonic-gate   \t> 0x10000::ElfEhdr \n\
2327c478bd9Sstevel@tonic-gate   \tElf Header located at: 0x10000\n\
2337c478bd9Sstevel@tonic-gate   \t ei_magic:    { 0x7f, E, L, F }\n\
2347c478bd9Sstevel@tonic-gate   \t ei_class:    ELFCLASS32          ei_data:     ELFDATA2MSB\n\
2357c478bd9Sstevel@tonic-gate   \t e_machine:   EM_SPARC            e_version:   EV_CURRENT\n\
2367c478bd9Sstevel@tonic-gate   \t e_type:      ET_EXEC\n\
2377c478bd9Sstevel@tonic-gate   \t e_flags:                      0\n\
2387c478bd9Sstevel@tonic-gate   \t e_entry:                0x10640  e_ehsize:     52  e_shstrndx:   27\n\
2397c478bd9Sstevel@tonic-gate   \t e_shoff:                 0x1390  e_shentsize:  40  e_shnum:      29\n\
2407c478bd9Sstevel@tonic-gate   \t e_phoff:                   0x34  e_phentsize:  32  e_phnum:       5\n"
2417c478bd9Sstevel@tonic-gate
2427c478bd9Sstevel@tonic-gate#
2437c478bd9Sstevel@tonic-gate# Elf Program Header messages.
2447c478bd9Sstevel@tonic-gate#
2457c478bd9Sstevel@tonic-gate
2467c478bd9Sstevel@tonic-gate@ MSG_EPHDR_STR		"ElfPhdr"
2477c478bd9Sstevel@tonic-gate
2487c478bd9Sstevel@tonic-gate@ MSG_EPHDR_DCD		"Display Elf_Phdr entry"
2497c478bd9Sstevel@tonic-gate
2507c478bd9Sstevel@tonic-gate@ MSG_EPHDR_TITLE	"Program Header located at: 0x%p\n"
2517c478bd9Sstevel@tonic-gate@ MSG_EPHDR_LINE1	"    p_vaddr:      %#-14lx  p_flags:    %s\n"
2527c478bd9Sstevel@tonic-gate@ MSG_EPHDR_LINE2	"    p_paddr:      %#-14lx  p_type:     %s\n"
2537c478bd9Sstevel@tonic-gate@ MSG_EPHDR_LINE3	"    p_filesz:     %#-14lx  p_memsz:    %#lx\n"
2547c478bd9Sstevel@tonic-gate@ MSG_EPHDR_LINE4	"    p_offset:     %#-14lx  p_align:    %#lx\n"
2557c478bd9Sstevel@tonic-gate
2567c478bd9Sstevel@tonic-gate@ MSG_EPHDR_HELP	"\
2577c478bd9Sstevel@tonic-gate   Decode an ELF Program Header (Elf_Phdr) structure.\n\
2587c478bd9Sstevel@tonic-gate   \n\
2597c478bd9Sstevel@tonic-gate   Example 1 - a single entry:\n\n\
2607c478bd9Sstevel@tonic-gate   \t> 0x10000+0x34::ElfPhdr\n\
2617c478bd9Sstevel@tonic-gate   \tProgram Header located at: 0x10034\n\
2627c478bd9Sstevel@tonic-gate   \t    p_vaddr:      0x10034         p_flags:    [ PF_X  PF_R ]\n\
2637c478bd9Sstevel@tonic-gate   \t    p_paddr:      0               p_type:     [ PT_PHDR ]\n\
2647c478bd9Sstevel@tonic-gate   \t    p_filesz:     0xa0            p_memsz:    0xa0\n\
2657c478bd9Sstevel@tonic-gate   \t    p_offset:     0x34            p_align:    0\n\
2667c478bd9Sstevel@tonic-gate   \n\
2677c478bd9Sstevel@tonic-gate   Example 2 - multiple entries:\n\n\
2687c478bd9Sstevel@tonic-gate   \t> 0x10034,2::ElfPhdr\n\
2697c478bd9Sstevel@tonic-gate   \tProgram Header located at: 0x10034\n\
2707c478bd9Sstevel@tonic-gate   \t    p_vaddr:      0x10034         p_flags:    [ PF_X  PF_R ]\n\
2717c478bd9Sstevel@tonic-gate   \t    p_paddr:      0               p_type:     [ PT_PHDR ]\n\
2727c478bd9Sstevel@tonic-gate   \t    p_filesz:     0xa0            p_memsz:    0xa0\n\
2737c478bd9Sstevel@tonic-gate   \t    p_offset:     0x34            p_align:    0\n\
2747c478bd9Sstevel@tonic-gate   \tProgram Header located at: 0x10054\n\
2757c478bd9Sstevel@tonic-gate   \t    p_vaddr:      0               p_flags:    [ PF_R ]\n\
2767c478bd9Sstevel@tonic-gate   \t    p_paddr:      0               p_type:     [ PT_INTERP ]\n\
2777c478bd9Sstevel@tonic-gate   \t    p_filesz:     0x11            p_memsz:    0\n\
2787c478bd9Sstevel@tonic-gate   \t    p_offset:     0xd4            p_align:    0\n"
2797c478bd9Sstevel@tonic-gate
2807c478bd9Sstevel@tonic-gate
2817c478bd9Sstevel@tonic-gate#
2827c478bd9Sstevel@tonic-gate# Elf_Dyn messages.
2837c478bd9Sstevel@tonic-gate#
2847c478bd9Sstevel@tonic-gate
2857c478bd9Sstevel@tonic-gate@ MSG_ELFDYN_STR	"ElfDyn"
2867c478bd9Sstevel@tonic-gate
2877c478bd9Sstevel@tonic-gate@ MSG_ELFDYN_DCD	"Display Elf_Dyn entry"
2887c478bd9Sstevel@tonic-gate
2897c478bd9Sstevel@tonic-gate@ MSG_ELFDYN_TITLE	"Elf_Dyn located at: 0x%p\n"
2907c478bd9Sstevel@tonic-gate@ MSG_ELFDYN_LINE1	"    %a  %s\t  0x%0?p\n"
2917c478bd9Sstevel@tonic-gate
2927c478bd9Sstevel@tonic-gate@ MSG_ELFDYN_HELP	"\
2937c478bd9Sstevel@tonic-gate   Decode an ELF dynamic section (Elf_Dyn) entry.\n\
2947c478bd9Sstevel@tonic-gate   \n\
2957c478bd9Sstevel@tonic-gate   Example 1 - a single entry:\n\n\
2967c478bd9Sstevel@tonic-gate   \t> 0xff33a478::ElfDyn\n\
2977c478bd9Sstevel@tonic-gate   \tElf_Dyn located at: 0xff33a478\n\
2987c478bd9Sstevel@tonic-gate   \t    0xff33a478  NEEDED  0x00004013\n\
2997c478bd9Sstevel@tonic-gate   \n\
3007c478bd9Sstevel@tonic-gate   Example 2 - multiple entries:\n\n\
3017c478bd9Sstevel@tonic-gate   \t> 0xff33a478,4::ElfDyn\n\
3027c478bd9Sstevel@tonic-gate   \tElf_Dyn located at: 0xff33a478\n\
3037c478bd9Sstevel@tonic-gate   \t    0xff33a478  NEEDED  0x00004013\n\
3047c478bd9Sstevel@tonic-gate   \tElf_Dyn located at: 0xff33a480\n\
3057c478bd9Sstevel@tonic-gate   \t    0xff33a480  INIT    0x0009b484\n\
3067c478bd9Sstevel@tonic-gate   \tElf_Dyn located at: 0xff33a488\n\
3077c478bd9Sstevel@tonic-gate   \t    0xff33a488  FINI    0x0009b4dc\n\
3087c478bd9Sstevel@tonic-gate   \tElf_Dyn located at: 0xff33a490\n\
3097c478bd9Sstevel@tonic-gate   \t    0xff33a490  SONAME  0x00004009\n"
3107c478bd9Sstevel@tonic-gate
3117c478bd9Sstevel@tonic-gate
3127c478bd9Sstevel@tonic-gate#
3137c478bd9Sstevel@tonic-gate# Lm_list messages.
3147c478bd9Sstevel@tonic-gate#
3157c478bd9Sstevel@tonic-gate
3167c478bd9Sstevel@tonic-gate@ MSG_LMLIST_STR	"Lm_list"
3177c478bd9Sstevel@tonic-gate
3187c478bd9Sstevel@tonic-gate@ MSG_LMLIST_DCD	"Display Lm_list structure"
3197c478bd9Sstevel@tonic-gate
3207c478bd9Sstevel@tonic-gate@ MSG_LMLIST_BASE	"(LM_ID_BASE)"
3217c478bd9Sstevel@tonic-gate@ MSG_LMLIST_LDSO	"(LM_ID_LDSO)"
3227c478bd9Sstevel@tonic-gate@ MSG_LMLIST_NEWLM	"(LM_ID_NEWLM)"
3237c478bd9Sstevel@tonic-gate
32457ef7aa9SRod Evans@ MSG_LMLIST_TITLE0	"Link-map lists (%s): 0x0\n";
32557ef7aa9SRod Evans@ MSG_LMLIST_TITLE1	"Link-map lists (%s): 0x%p Alist[used %u: total %u]\n";
3267c478bd9Sstevel@tonic-gate@ MSG_LMLIST_TITLE2	"Lm_list: 0x%p  %s\n"
3277c478bd9Sstevel@tonic-gate
3287c478bd9Sstevel@tonic-gate@ MSG_LMLIST_LINE0	"   lists: 0x%0?p Alist[used %u: total %u]\n"
3297c478bd9Sstevel@tonic-gate
3307c478bd9Sstevel@tonic-gate@ MSG_LMC_LINE1		"Lm_cntl: 0x%p\n"
33110a4fa49Srie@ MSG_LMC_LINE2		"   head: 0x%0?p\t      tail: 0x%0?p\n"
33210a4fa49Srie@ MSG_LMC_LINE3		"  flags: 0x%08x\t       now: 0x%0?p\n"
3337c478bd9Sstevel@tonic-gate@ MSG_LMC_LINE4		"         [ %#b ]\n"
3347c478bd9Sstevel@tonic-gate
33510a4fa49Srie@ MSG_LMLIST_LINE1	"    head: 0x%0?p\t      tail: 0x%0?p\n"
33610a4fa49Srie@ MSG_LMLIST_LINE2	"   audit: 0x%0?p\t  rtldinfo: 0x%0?p\n"
33710a4fa49Srie@ MSG_LMLIST_LINE3	"  handle: 0x%0?p\t       obj: %4d  init: %4d  \
3387c478bd9Sstevel@tonic-gate			 lazy: %4d\n"
3397c478bd9Sstevel@tonic-gate@ MSG_LMLIST_LINE4	"   flags: 0x%08x\n"
3407c478bd9Sstevel@tonic-gate@ MSG_LMLIST_LINE5	"  tflags: 0x%08x\n"
3417c478bd9Sstevel@tonic-gate@ MSG_LMLIST_LINE6	"          [ %#b ]\n"
3427c478bd9Sstevel@tonic-gate
3437c478bd9Sstevel@tonic-gate@ MSG_LMLIST_HELP	"\
3447c478bd9Sstevel@tonic-gate   Display a link-map list header.  If no address is specified, the \
3457c478bd9Sstevel@tonic-gate   dynlm_list\nmaster link-map list is searched and all link-map headers \
3467c478bd9Sstevel@tonic-gate   displayed.\n\
3477c478bd9Sstevel@tonic-gate   \n\
3487c478bd9Sstevel@tonic-gate   A link-map list header points to a family of link-map control lists, \
3497c478bd9Sstevel@tonic-gate   together\nwith other state information. The initial control list represents \
3507c478bd9Sstevel@tonic-gate   those\nobjects that have been completely analyzed and relocated, and are \
3517c478bd9Sstevel@tonic-gate   presently in\nuse.  \
3527c478bd9Sstevel@tonic-gate   Additional control lists may exist as families of objects are processed\nin \
3537c478bd9Sstevel@tonic-gate   preparation for joining the main control list.  These families are created\n\
3547c478bd9Sstevel@tonic-gate   from events such as dlopen(3c), lazy loading, and filtee processing, once\n\
3557c478bd9Sstevel@tonic-gate   the initial process that started the application has been relocated.\n\
3567c478bd9Sstevel@tonic-gate   \n\
3577c478bd9Sstevel@tonic-gate   The -v option walks all link-map control lists displaying each member.\n\
3587c478bd9Sstevel@tonic-gate   \n\
3597c478bd9Sstevel@tonic-gate   Example 1 - a single, verbose entry, starting from a specified address:\n\n\
3607c478bd9Sstevel@tonic-gate   \n\
3617c478bd9Sstevel@tonic-gate   \t> 0xff3ee0f0::Lm_list -v\n\
3627c478bd9Sstevel@tonic-gate   \tLm_list: 0xff3ee0f0  (LM_ID_BASE)\n\
3637c478bd9Sstevel@tonic-gate   \t----------------------------------------------\n\
3647c478bd9Sstevel@tonic-gate   \t   lists: 0xff3f0b00 Alist[used 1: total 4]\n\
3657c478bd9Sstevel@tonic-gate   \t  ----------------------------------------------\n\
3667c478bd9Sstevel@tonic-gate   \t    Lm_cntl: 0xff3f0b0c\n\
3677c478bd9Sstevel@tonic-gate   \t       head: 0xff3f0fdc      tail: 0xff3f13bc\n\
3687c478bd9Sstevel@tonic-gate   \t      flags: 0x00000000       now: 0x00000000\n\
3697c478bd9Sstevel@tonic-gate   \t             [ 0 ]\n\
3707c478bd9Sstevel@tonic-gate   \t    ----------------------------------------------\n\
3717c478bd9Sstevel@tonic-gate   \t    lmco        rtmap       ADDR()     NAME()\n\
3727c478bd9Sstevel@tonic-gate   \t    ----------------------------------------------\n\
3737c478bd9Sstevel@tonic-gate   \t    [0xc]       0xff3f0fdc 0x00010000 main\n\
3747c478bd9Sstevel@tonic-gate   \t    [0xc]       0xff3f13bc 0xff280000 /lib/libc.so.1\n\
3757c478bd9Sstevel@tonic-gate   \t    ----------------------------------------------\n\
3767c478bd9Sstevel@tonic-gate   \t    head: 0xff3f0f84        tail: 0xff3f1794\n\
3777c478bd9Sstevel@tonic-gate   \t   audit: 0x00000000     preexec: 0xff3f1794\n\
3787c478bd9Sstevel@tonic-gate   \t  handle: 0x00000000         obj:    3  init:    0  lazy:    0\n\
3797c478bd9Sstevel@tonic-gate   \t   flags: 0x00008041\n\
3807c478bd9Sstevel@tonic-gate   \t          [ BASELM,ENVIRON,STARTREL ]\n\
3817c478bd9Sstevel@tonic-gate   \t  tflags: 0x00000000\n\
3827c478bd9Sstevel@tonic-gate   \n\
3837c478bd9Sstevel@tonic-gate   Example 2 - all link-map headers:\n\n\
3847c478bd9Sstevel@tonic-gate   \t> ::Lm_list\n\
3857c478bd9Sstevel@tonic-gate   \tLink-map lists (dynlm_list): 0xffbfdbf8\n\
3867c478bd9Sstevel@tonic-gate   \t----------------------------------------------\n\
3877c478bd9Sstevel@tonic-gate   \t  Lm_list: 0xff3ee0f0  (LM_ID_BASE)\n\
3887c478bd9Sstevel@tonic-gate   \t  ----------------------------------------------\n\
3897c478bd9Sstevel@tonic-gate   \t     lists: 0xff3f0b68 Alist[used 1: total 4]\n\
3907c478bd9Sstevel@tonic-gate   \t    ----------------------------------------------\n\
3917c478bd9Sstevel@tonic-gate   \t      head: 0xff3f0f84        tail: 0xff3f1794\n\
3927c478bd9Sstevel@tonic-gate   \t     audit: 0x00000000     preexec: 0xff3f1794\n\
3937c478bd9Sstevel@tonic-gate   \t    handle: 0x00000000         obj:    3  init:    0  lazy:    0\n\
3947c478bd9Sstevel@tonic-gate   \t     flags: 0x00008041\n\
3957c478bd9Sstevel@tonic-gate   \t            [ BASELM,ENVIRON,STARTREL ]\n\
3967c478bd9Sstevel@tonic-gate   \t    tflags: 0x00000000\n\
3977c478bd9Sstevel@tonic-gate   \t  ----------------------------------------------\n\
3987c478bd9Sstevel@tonic-gate   \t  Lm_list: 0xff3ee134  (LM_ID_LDSO)\n\
3997c478bd9Sstevel@tonic-gate   \t  ----------------------------------------------\n\
4007c478bd9Sstevel@tonic-gate   \t     lists: 0xff3f0ba4 Alist[used 1: total 4]\n\
4017c478bd9Sstevel@tonic-gate   \t    ----------------------------------------------\n\
4027c478bd9Sstevel@tonic-gate   \t      head: 0xff3f0c20        tail: 0xff3f0c20\n\
4037c478bd9Sstevel@tonic-gate   \t     audit: 0x00000000     preexec: 0x00000000\n\
4047c478bd9Sstevel@tonic-gate   \t    handle: 0x00000000         obj:    0  init:    0  lazy:    0\n\
4057c478bd9Sstevel@tonic-gate   \t     flags: 0x00000006\n\
4067c478bd9Sstevel@tonic-gate   \t            [ RTLDLM,NOAUDIT ]\n\
4077c478bd9Sstevel@tonic-gate   \t    tflags: 0x00000000\n"
4087c478bd9Sstevel@tonic-gate
4097c478bd9Sstevel@tonic-gate#
4107c478bd9Sstevel@tonic-gate# Rt_maps messages.
4117c478bd9Sstevel@tonic-gate#
4127c478bd9Sstevel@tonic-gate
4137c478bd9Sstevel@tonic-gate@ MSG_RTMAPS_STR	"Rt_maps"
4147c478bd9Sstevel@tonic-gate
4157c478bd9Sstevel@tonic-gate@ MSG_RTMAPS_DCD	"Display list of Rt_map structures"
4167c478bd9Sstevel@tonic-gate
4177c478bd9Sstevel@tonic-gate@ MSG_RTMAPS_TITLE0	"lmco \trtmap       ADDR()     NAME()\n"
4187c478bd9Sstevel@tonic-gate
4197c478bd9Sstevel@tonic-gate@ MSG_RTMAPS_HELP "\
4207c478bd9Sstevel@tonic-gate   Walk a list of Rt_map's starting with a specified Rt_map entry.  If no\n\
4217c478bd9Sstevel@tonic-gate   address is specified, the dynlm_list master Rt_map list is searched and\n\
4227c478bd9Sstevel@tonic-gate   all objects listed.\n\
4237c478bd9Sstevel@tonic-gate   \n\
4247c478bd9Sstevel@tonic-gate   The -v option expands each Rt_map in detail.  See Rt_map.\n\
4257c478bd9Sstevel@tonic-gate   \n\
4267c478bd9Sstevel@tonic-gate   Example 1 - a single entry, starting from a specified address:\n\n\
4277c478bd9Sstevel@tonic-gate   \t> 0xff3b0214::Rt_maps\n\
4287c478bd9Sstevel@tonic-gate   \tlmco    rtmap      ADDR()     NAME()\n\
4297c478bd9Sstevel@tonic-gate   \t---------------------------------------------\n\
4307c478bd9Sstevel@tonic-gate   \t[0xc]   0xff3b0214 0x00010000 prog\n\
4317c478bd9Sstevel@tonic-gate   \t[0xc]   0xff3b065c 0xff3a0000 /lib/libdl.so.1\n\
4327c478bd9Sstevel@tonic-gate   \t[0xc]   0xff3b0a04 0xff280000 /lib/libc.so.1\n\
4337c478bd9Sstevel@tonic-gate   \n\
4347c478bd9Sstevel@tonic-gate   Example 2 - all Rt_map entries:\n\n\
4357c478bd9Sstevel@tonic-gate   \t> ::Rt_maps\n\
4367c478bd9Sstevel@tonic-gate   \tLink-map lists (dynlm_list): 0xffbfe080\n\
4377c478bd9Sstevel@tonic-gate   \t---------------------------------------------\n\
4387c478bd9Sstevel@tonic-gate   \t  Lm_list: 0xff3f60c8  (LM_ID_BASE)\n\
4397c478bd9Sstevel@tonic-gate   \t  ---------------------------------------------\n\
4407c478bd9Sstevel@tonic-gate   \t    lmco    rtmap      ADDR()     NAME()\n\
4417c478bd9Sstevel@tonic-gate   \t    ---------------------------------------------\n\
4427c478bd9Sstevel@tonic-gate   \t    [0xc]   0xff3b0214 0x00010000 prog\n\
4437c478bd9Sstevel@tonic-gate   \t    [0xc]   0xff3b065c 0xff3a0000 /lib/libdl.so.1\n\
4447c478bd9Sstevel@tonic-gate   \t    [0xc]   0xff3b0a04 0xff280000 /lib/libc.so.1\n\
4457c478bd9Sstevel@tonic-gate   \t  ---------------------------------------------\n\
4467c478bd9Sstevel@tonic-gate   \t  Lm_list: 0xff3f60e8  (LM_ID_LDSO)\n\
4477c478bd9Sstevel@tonic-gate   \t  ---------------------------------------------\n\
4487c478bd9Sstevel@tonic-gate   \t    lmco    rtmap      ADDR()     NAME()\n\
4497c478bd9Sstevel@tonic-gate   \t    ---------------------------------------------\n\
4507c478bd9Sstevel@tonic-gate   \t    [0xc]   0xff3f7cc0 0xff3c0000 /lib/ld.so.1\n"
451*fec04708SRichard Lowe
4527c478bd9Sstevel@tonic-gate
4537c478bd9Sstevel@tonic-gate#
4547c478bd9Sstevel@tonic-gate# Rt_map messages.
4557c478bd9Sstevel@tonic-gate#
4567c478bd9Sstevel@tonic-gate
4577c478bd9Sstevel@tonic-gate@ MSG_RTMAP_STR		"Rt_map"
4587c478bd9Sstevel@tonic-gate
4597c478bd9Sstevel@tonic-gate@ MSG_RTMAP_DCD		"Display Rt_map structure"
4607c478bd9Sstevel@tonic-gate
4617c478bd9Sstevel@tonic-gate@ MSG_RTMAP_TITLE	"Rt_map located at: 0x%0?p\n"
4627c478bd9Sstevel@tonic-gate@ MSG_RTMAP_LINE1	"     NAME: %s\n"
4637c478bd9Sstevel@tonic-gate@ MSG_RTMAP_LINE2	" PATHNAME: %s\n"
4647c478bd9Sstevel@tonic-gate@ MSG_RTMAP_LINE3	"     ADDR: 0x%0?p\t      DYN: 0x%0?p\n"
4657c478bd9Sstevel@tonic-gate@ MSG_RTMAP_LINE4	"     NEXT: 0x%0?p\t     PREV: 0x%0?p\n"
4667c478bd9Sstevel@tonic-gate@ MSG_RTMAP_LINE5	"      FCT: 0x%0?p\t TLSMODID:   %?ld\n"
4677c478bd9Sstevel@tonic-gate@ MSG_RTMAP_LINE6	"     INIT: 0x%0?p\t     FINI: 0x%0?p\n"
4687c478bd9Sstevel@tonic-gate@ MSG_RTMAP_LINE7	"   GROUPS: 0x%0?p\t  HANDLES: 0x%0?p\n"
4697c478bd9Sstevel@tonic-gate@ MSG_RTMAP_LINE8	"  DEPENDS: 0x%0?p\t  CALLERS: 0x%0?p\n"
4707c478bd9Sstevel@tonic-gate@ MSG_RTMAP_LINE9	"  DYNINFO: 0x%0?p\t  REFNAME: %s\n"
4717c478bd9Sstevel@tonic-gate@ MSG_RTMAP_LINE10	"    RLIST: 0x%0?p\t    RPATH: %s\n"
4727c478bd9Sstevel@tonic-gate@ MSG_RTMAP_LINE11	"     LIST: 0x%0?p [%a]\n"
4737c478bd9Sstevel@tonic-gate@ MSG_RTMAP_LINE12	"    FLAGS: 0x%08x\n"
4747c478bd9Sstevel@tonic-gate@ MSG_RTMAP_LINE13	"   FLAGS1: 0x%08x\n"
47556deab07SRod Evans@ MSG_RTMAP_LINE14	"   AFLAGS: 0x%08x\n"
47656deab07SRod Evans@ MSG_RTMAP_LINE15	"     MODE: 0x%08x\n"
4777c478bd9Sstevel@tonic-gate@ MSG_RTMAP_LINE20	"           [ %#b ]\n"
4787c478bd9Sstevel@tonic-gate
4797c478bd9Sstevel@tonic-gate@ MSG_RTMAP_HELP "\
4807c478bd9Sstevel@tonic-gate   Display the contents of selected fields of an Rt_map structure.\n\
4817c478bd9Sstevel@tonic-gate   \n\
4827c478bd9Sstevel@tonic-gate   Example:\n\n\
4837c478bd9Sstevel@tonic-gate   \t0xff3b0214::Rt_map\n\
4847c478bd9Sstevel@tonic-gate   \tRt_map located at: 0xff3b0214\n\
4857c478bd9Sstevel@tonic-gate   \t      NAME: prog\n\
4867c478bd9Sstevel@tonic-gate   \t  PATHNAME: /home/developer/bin/prog\n\
4877c478bd9Sstevel@tonic-gate   \t      ADDR: 0x00010000         DYN: 0x00020b1\n\
4887c478bd9Sstevel@tonic-gate   \t      NEXT: 0xff3b065c        PREV: 0x0000000\n\
4897c478bd9Sstevel@tonic-gate   \t       FCT: 0xff3f6080    TLSMODID:         0\n\
4907c478bd9Sstevel@tonic-gate   \t      INIT: 0x00010960        FINI: 0x000109b\n\
4917c478bd9Sstevel@tonic-gate   \t      .....\n"
4927c478bd9Sstevel@tonic-gate
4937c478bd9Sstevel@tonic-gate#
4947c478bd9Sstevel@tonic-gate# Bind messages.
4957c478bd9Sstevel@tonic-gate#
4967c478bd9Sstevel@tonic-gate
4977c478bd9Sstevel@tonic-gate@ MSG_BND_STR		"Bind"
4987c478bd9Sstevel@tonic-gate
4997c478bd9Sstevel@tonic-gate@ MSG_BND_DCD		"Display a Binding Descriptor"
5007c478bd9Sstevel@tonic-gate
5017c478bd9Sstevel@tonic-gate@ MSG_BND_TITLE		"Binding descriptor located at: 0x%0?p\n"
5027c478bd9Sstevel@tonic-gate@ MSG_BND_LINE1		"   caller: 0x%0?p    %s\n"
5037c478bd9Sstevel@tonic-gate@ MSG_BND_LINE2		"   depend: 0x%0?p    %s\n"
5047c478bd9Sstevel@tonic-gate@ MSG_BND_LINE3		"    flags: 0x%08x    [ %#b ]\n"
5057c478bd9Sstevel@tonic-gate
5067c478bd9Sstevel@tonic-gate@ MSG_BND_HELP		"\
5077c478bd9Sstevel@tonic-gate   Decode the binding descriptor specified by addr.\n\
5087c478bd9Sstevel@tonic-gate   \n\
5097c478bd9Sstevel@tonic-gate   Relationships between Rt_map objects are maintained by a binding dis-\n\
5107c478bd9Sstevel@tonic-gate   cripter.  The descriptor contains a pointer to the Rt_map of the caller,\n\
5117c478bd9Sstevel@tonic-gate   a pointer to the Rt_map of the dependency, and a flags field indicating\n\
5127c478bd9Sstevel@tonic-gate   the relationship between the two Rt_map objects.\n\
5137c478bd9Sstevel@tonic-gate   \n\
5147c478bd9Sstevel@tonic-gate   The -v option expands each Rt_map.\n\
5157c478bd9Sstevel@tonic-gate   \n\
5167c478bd9Sstevel@tonic-gate   Example:\n\n\
5177c478bd9Sstevel@tonic-gate   \t> 0xff3b0410::Bind\n\
5187c478bd9Sstevel@tonic-gate   \tBinding Descriptor located at: 0xff3b0410\n\
5197c478bd9Sstevel@tonic-gate   \t   caller: 0xff3b0030    main\n\
5207c478bd9Sstevel@tonic-gate   \t   depend: 0xff3b0460    /lib/libelf.so.1\n\
5217c478bd9Sstevel@tonic-gate   \t    flags: 0x00000001    [ NEEDED ]\n"
5227c478bd9Sstevel@tonic-gate
5237c478bd9Sstevel@tonic-gate
5247c478bd9Sstevel@tonic-gate#
5257c478bd9Sstevel@tonic-gate# Depends messages.
5267c478bd9Sstevel@tonic-gate#
5277c478bd9Sstevel@tonic-gate
5287c478bd9Sstevel@tonic-gate@ MSG_DEPENDS_STR	"Depends"
5297c478bd9Sstevel@tonic-gate
5307c478bd9Sstevel@tonic-gate@ MSG_DEPENDS_DCD	"Display Rt_map DEPENDS binding descriptors"
5317c478bd9Sstevel@tonic-gate
5327c478bd9Sstevel@tonic-gate@ MSG_DEPENDS_LINE1	"DEPENDS for %s\n"
533cce0e03bSab@ MSG_DEPENDS_LINE2	"  Depends: 0x%0?p APlist[used %u: total %u]\n"
5347c478bd9Sstevel@tonic-gate
5357c478bd9Sstevel@tonic-gate@ MSG_DEPENDS_HELP	"\
5367c478bd9Sstevel@tonic-gate   Display the binding descriptor list of DEPENDS() of the Rt_map\n\
537cce0e03bSab   specified by addr.  A DEPENDS() entry consists of an APlist\n\
5387c478bd9Sstevel@tonic-gate   defining each dependency.\n\
5397c478bd9Sstevel@tonic-gate   \n\
540cce0e03bSab   The -v option walks the APlist descriptor displaying each dependency.\n\
5417c478bd9Sstevel@tonic-gate   \n\
5427c478bd9Sstevel@tonic-gate   Example:\n\n\
5437c478bd9Sstevel@tonic-gate   \t> 0xff3b0554::Depends -v\n\
5447c478bd9Sstevel@tonic-gate   \tDEPENDS for /lib/libc.so.1\n\
5457c478bd9Sstevel@tonic-gate   \t----------------------------------------------\n\
546cce0e03bSab   \t  Depends: 0xff3b0bc4 APlist[used 2: total 4]\n\
5477c478bd9Sstevel@tonic-gate   \t    ----------------------------------------------\n\
5487c478bd9Sstevel@tonic-gate   \t    Binding descriptor located at: 0xff3b08f8\n\
5497c478bd9Sstevel@tonic-gate   \t       caller: 0xff3b0554    /lib/libc.so.1\n\
5507c478bd9Sstevel@tonic-gate   \t       depend: 0xff3b0938    /lib/libdl.so.1\n\
5517c478bd9Sstevel@tonic-gate   \t        flags: 0x00000003    [ NEEDED,REFERENCED ]\n\
5527c478bd9Sstevel@tonic-gate   \t    ----------------------------------------------\n\
5537c478bd9Sstevel@tonic-gate   \t    Binding descriptor located at: 0xff3b07a8\n\
5547c478bd9Sstevel@tonic-gate   \t       caller: 0xff3b0554    /lib/libc.so.1\n\
5557c478bd9Sstevel@tonic-gate   \t       depend: 0xff3f7cc0    /lib/ld.so.1\n\
5567c478bd9Sstevel@tonic-gate   \t        flags: 0x00000002    [ REFERENCED ]\n"
5577c478bd9Sstevel@tonic-gate
5587c478bd9Sstevel@tonic-gate#
5597c478bd9Sstevel@tonic-gate# Callers messages.
5607c478bd9Sstevel@tonic-gate#
5617c478bd9Sstevel@tonic-gate
5627c478bd9Sstevel@tonic-gate@ MSG_CALLERS_STR	"Callers"
5637c478bd9Sstevel@tonic-gate
5647c478bd9Sstevel@tonic-gate@ MSG_CALLERS_DCD	"Display Rt_map CALLERS binding descriptors"
5657c478bd9Sstevel@tonic-gate
5667c478bd9Sstevel@tonic-gate@ MSG_CALLERS_LINE1	"CALLERS for %s\n"
567cce0e03bSab@ MSG_CALLERS_LINE2	"  Callers: 0x%0?p APlist[used %u: total %u]\n"
5687c478bd9Sstevel@tonic-gate
5697c478bd9Sstevel@tonic-gate@ MSG_CALLERS_HELP	"\
5707c478bd9Sstevel@tonic-gate   Display the binding descriptor list of CALLERS() of the Rt_map\n\
571cce0e03bSab   specified by addr.  A CALLERS() entry consists of an APlist\n\
5727c478bd9Sstevel@tonic-gate   defining each caller.\n\
5737c478bd9Sstevel@tonic-gate   \n\
574cce0e03bSab   The -v option walks the APlist descriptor displaying each caller.\n\
5757c478bd9Sstevel@tonic-gate   \n\
5767c478bd9Sstevel@tonic-gate   Example:\n\n\
5777c478bd9Sstevel@tonic-gate   \t> 0xff3b0554::Callers -v\n\
5787c478bd9Sstevel@tonic-gate   \tCALLERS for /lib/libc.so.1\n\
5797c478bd9Sstevel@tonic-gate   \t----------------------------------------------\n\
580cce0e03bSab   \t  Callers: 0xff3b08cc APlist[used 1: total 4]\n\
5817c478bd9Sstevel@tonic-gate   \t    ----------------------------------------------\n\
5827c478bd9Sstevel@tonic-gate   \t    Binding descriptor located at: 0xff3b0514\n\
583*fec04708SRichard Lowe   \t       caller: 0xff3b0214    executable\n\
5847c478bd9Sstevel@tonic-gate   \t       depend: 0xff3b0554    /lib/libc.so.1\n\
5857c478bd9Sstevel@tonic-gate   \t        flags: 0x00000003    [ NEEDED,REFERENCED ]\n"
5867c478bd9Sstevel@tonic-gate
5877c478bd9Sstevel@tonic-gate
5887c478bd9Sstevel@tonic-gate#
5897c478bd9Sstevel@tonic-gate# Handle messages.
5907c478bd9Sstevel@tonic-gate#
5917c478bd9Sstevel@tonic-gate
5927c478bd9Sstevel@tonic-gate@ MSG_HANDLES_STR	"Handles"
5937c478bd9Sstevel@tonic-gate
5947c478bd9Sstevel@tonic-gate@ MSG_HANDLES_DCD	"Display Rt_map HANDLES group descriptors"
5957c478bd9Sstevel@tonic-gate
5967c478bd9Sstevel@tonic-gate@ MSG_HANDLES_LINE1	"HANDLES for %s\n"
597cce0e03bSab@ MSG_HANDLES_LINE2	"  HANDLE: 0x%0?p APlist[used %u: total %u]\n"
5987c478bd9Sstevel@tonic-gate
5997c478bd9Sstevel@tonic-gate@ MSG_HANDLES_HELP	"\
6007c478bd9Sstevel@tonic-gate   Display the list of HANDLES() that the Rt_map, specified by addr, is the\n\
601cce0e03bSab   owner of.  A HANDLES() entry consists of an APlist of Grp_hdl descriptors.\n\
602cce0e03bSab   See GrpHdl.  Each Grp_hdl() consists of an APlist of Grp_desc descriptors\n\
6037c478bd9Sstevel@tonic-gate   that define each caller.  See GrpDesc.\n\
6047c478bd9Sstevel@tonic-gate   \n\
605cce0e03bSab   The -v option walks all APlists displaying each member of the handle.\n\
6067c478bd9Sstevel@tonic-gate   \n\
6077c478bd9Sstevel@tonic-gate   Example:\n\n\
6087c478bd9Sstevel@tonic-gate   \t> 0xff3b0f6c::Handles -v\n\
6097c478bd9Sstevel@tonic-gate   \tHANDLES for ./sub.so\n\
6107c478bd9Sstevel@tonic-gate   \t----------------------------------------------\n\
611cce0e03bSab   \t  HANDLE: 0xff3b1310 APlist[used 1: total 1]\n\
6127c478bd9Sstevel@tonic-gate   \t    ----------------------------------------------\n\
6137c478bd9Sstevel@tonic-gate   \t    Group Handle located at: 0xff3b1270\n\
6147c478bd9Sstevel@tonic-gate   \t    ----------------------------------------------\n\
6157c478bd9Sstevel@tonic-gate   \t       owner:               ./sub.so\n\
6167c478bd9Sstevel@tonic-gate   \t       flags: 0x00000000    [ 0 ]\n\
6177c478bd9Sstevel@tonic-gate   \t      refcnt:          1    depends: 0xff3b12c8 Alist[used 3: total 4]\n\
6187c478bd9Sstevel@tonic-gate   \t       ----------------------------------------------\n\
6197c478bd9Sstevel@tonic-gate   \t       Group Descriptor located at: 0xff3b12d4\n\
6207c478bd9Sstevel@tonic-gate   \t          depend: 0xff3b0f6c    ./sub.so\n\
6217c478bd9Sstevel@tonic-gate   \t           flags: 0x00000003    [ AVAIL-TO-DLSYM,ADD-DEPENDENCIES ]\n\
6227c478bd9Sstevel@tonic-gate   \t       ----------------------------------------------\n\
6237c478bd9Sstevel@tonic-gate   \t       Group Descriptor located at: 0xff3b12dc\n\
6247c478bd9Sstevel@tonic-gate   \t          depend: 0xff3b0a04    /lib/libc.so.1\n\
6257c478bd9Sstevel@tonic-gate   \t           flags: 0x00000003    [ AVAIL-TO-DLSYM,ADD-DEPENDENCIES ]\n\
6267c478bd9Sstevel@tonic-gate   \t       ----------------------------------------------\n\
6277c478bd9Sstevel@tonic-gate   \t       Group Descriptor located at: 0xff3b12e4\n\
6287c478bd9Sstevel@tonic-gate   \t          depend: 0xff3b065c    /lib/libdl.so.1\n\
6297c478bd9Sstevel@tonic-gate   \t           flags: 0x00000003    [ AVAIL-TO-DLSYM,ADD-DEPENDENCIES ]\n"
6307c478bd9Sstevel@tonic-gate
6317c478bd9Sstevel@tonic-gate#
6327c478bd9Sstevel@tonic-gate# Group messages.
6337c478bd9Sstevel@tonic-gate#
6347c478bd9Sstevel@tonic-gate
6357c478bd9Sstevel@tonic-gate@ MSG_GROUPS_STR	"Groups"
6367c478bd9Sstevel@tonic-gate
6377c478bd9Sstevel@tonic-gate@ MSG_GROUPS_DCD	"Display Rt_map GROUPS group handles"
6387c478bd9Sstevel@tonic-gate
6397c478bd9Sstevel@tonic-gate@ MSG_GROUPS_LINE1	"GROUPS for %s\n"
640cce0e03bSab@ MSG_GROUPS_LINE2	"  Groups: 0x%0?p APlist[used %u: total %u]\n"
6417c478bd9Sstevel@tonic-gate
6427c478bd9Sstevel@tonic-gate@ MSG_GROUPS_HELP	"\
6437c478bd9Sstevel@tonic-gate   Display the list of GROUPS() that the Rt_map, specified by addr, is a \
644cce0e03bSab   member\nof.  A GROUPS() entry consists of an APlist of Grp_hdl entries.  \
6457c478bd9Sstevel@tonic-gate   See GrpHdl.\n\
6467c478bd9Sstevel@tonic-gate   \n\
647cce0e03bSab   The -v option walks the APlist descriptor displaying each member of the\n\
6487c478bd9Sstevel@tonic-gate   handle.\n\
6497c478bd9Sstevel@tonic-gate   \n\
6507c478bd9Sstevel@tonic-gate   Example:\n\n\
6517c478bd9Sstevel@tonic-gate   \t> 0xff3b0f6c::Groups -v\n\
6527c478bd9Sstevel@tonic-gate   \tGROUPS for ./sub.so\n\
6537c478bd9Sstevel@tonic-gate   \t----------------------------------------------\n\
654cce0e03bSab   \t  Groups: 0xff3b12a8 APlist[used 1: total 1]\n\
6557c478bd9Sstevel@tonic-gate   \t    ----------------------------------------------\n\
6567c478bd9Sstevel@tonic-gate   \t    Group Handle located at: 0xff3b1270\n\
6577c478bd9Sstevel@tonic-gate   \t    ----------------------------------------------\n\
6587c478bd9Sstevel@tonic-gate   \t        owner:               ./sub.so\n\
6597c478bd9Sstevel@tonic-gate   \t        flags: 0x00000000    [ 0 ]\n\
6607c478bd9Sstevel@tonic-gate   \t       refcnt:          1    depends: 0xff3b12c8 Alist[used 3: total 4]\n\
6617c478bd9Sstevel@tonic-gate   \t        ----------------------------------------------\n\
6627c478bd9Sstevel@tonic-gate   \t        Group Descriptor located at: 0xff3b12d4\n\
6637c478bd9Sstevel@tonic-gate   \t           depend: 0xff3b0f6c    ./sub.so\n\
6647c478bd9Sstevel@tonic-gate   \t            flags: 0x00000003    [ AVAIL-TO-DLSYM,ADD-DEPENDENCIES ]\n\
6657c478bd9Sstevel@tonic-gate   \t        ----------------------------------------------\n\
6667c478bd9Sstevel@tonic-gate   \t        Group Descriptor located at: 0xff3b12dc\n\
6677c478bd9Sstevel@tonic-gate   \t           depend: 0xff3b0a04    /lib/libc.so.1\n\
6687c478bd9Sstevel@tonic-gate   \t            flags: 0x00000004    [ AVAIL-TO-DLSYM,ADD-DEPENDENCIES ]\n\
6697c478bd9Sstevel@tonic-gate   \t        ----------------------------------------------\n\
6707c478bd9Sstevel@tonic-gate   \t        Group Descriptor located at: 0xff3b12e4\n\
6717c478bd9Sstevel@tonic-gate   \t           depend: 0xff3b065c    /lib/libdl.so.1\n\
6727c478bd9Sstevel@tonic-gate   \t            flags: 0x00000004    [ AVAIL-TO-DLSYM,ADD-DEPENDENCIES ]\n"
6737c478bd9Sstevel@tonic-gate
6747c478bd9Sstevel@tonic-gate
6757c478bd9Sstevel@tonic-gate#
6767c478bd9Sstevel@tonic-gate# Group handle and group descriptor messages.
6777c478bd9Sstevel@tonic-gate#
6787c478bd9Sstevel@tonic-gate
6797c478bd9Sstevel@tonic-gate@ MSG_GRPHDL_STR	"GrpHdl"
6807c478bd9Sstevel@tonic-gate
6817c478bd9Sstevel@tonic-gate@ MSG_GRPHDL_DCD	"Display a Group Handle"
6827c478bd9Sstevel@tonic-gate
6837c478bd9Sstevel@tonic-gate@ MSG_GRPHDL_LINE1	"Group Handle located at: 0x%0?p\n"
6847c478bd9Sstevel@tonic-gate@ MSG_GRPHDL_LINE2	"    owner:               %s\n"
6857c478bd9Sstevel@tonic-gate@ MSG_GRPHDL_LINE3	"    flags: 0x%08x    [ %#b ]\n"
6867c478bd9Sstevel@tonic-gate@ MSG_GRPHDL_LINE4	"   refcnt:   %8d    depends: 0\n"
6877c478bd9Sstevel@tonic-gate@ MSG_GRPHDL_LINE5	"   refcnt:   %8d    depends: 0x%0?p \
6887c478bd9Sstevel@tonic-gate			 Alist[used %u: total %u]\n"
6897c478bd9Sstevel@tonic-gate
6907c478bd9Sstevel@tonic-gate@ MSG_GRPHDL_HELP	"\
6917c478bd9Sstevel@tonic-gate   Decode a group handle.  A successful dlopen() of an object returns a\n\
6927c478bd9Sstevel@tonic-gate   handle applicable for subsequent dlsym() requests.  The handle maintains\n\
6937c478bd9Sstevel@tonic-gate   a reference count, flags and a table of group descriptors that define the\n\
6947c478bd9Sstevel@tonic-gate   dependencies associated with this group of objects.\n\
6957c478bd9Sstevel@tonic-gate   \n\
6967c478bd9Sstevel@tonic-gate   The -v option expands each group descriptor.\n\
6977c478bd9Sstevel@tonic-gate   \n\
6987c478bd9Sstevel@tonic-gate   Example:\n\n\
6997c478bd9Sstevel@tonic-gate   \t> 0xff3a0c58::GrpHdl\n\
7007c478bd9Sstevel@tonic-gate   \tGroup Handle located at: 0xff3a0c58\n\
7017c478bd9Sstevel@tonic-gate   \t----------------------------------------------\n\
7027c478bd9Sstevel@tonic-gate   \t   refcnt:          1    main\n\
7037c478bd9Sstevel@tonic-gate   \t    flags: 0x00000001    [ DLOPEN-ZERO ]\n\
7047c478bd9Sstevel@tonic-gate   \t  depends: 0xff3a0c89 Alist[next 1: cnt 2]\n"
7057c478bd9Sstevel@tonic-gate
7067c478bd9Sstevel@tonic-gate
7077c478bd9Sstevel@tonic-gate
7087c478bd9Sstevel@tonic-gate@ MSG_GRPDESC_STR	"GrpDesc"
7097c478bd9Sstevel@tonic-gate
7107c478bd9Sstevel@tonic-gate@ MSG_GRPDESC_DCD	"Display a Group Descriptor"
7117c478bd9Sstevel@tonic-gate
7127c478bd9Sstevel@tonic-gate@ MSG_GRPDESC_LINE1	"Group Descriptor located at: 0x%0?p\n"
7137c478bd9Sstevel@tonic-gate@ MSG_GRPDESC_LINE2	"   depend: 0x%0?p    %s\n"
7147c478bd9Sstevel@tonic-gate@ MSG_GRPDESC_LINE3	"    flags: 0x%08x    [ %#b ]\n"
7157c478bd9Sstevel@tonic-gate
7167c478bd9Sstevel@tonic-gate@ MSG_GRPDESC_HELP	"\
7177c478bd9Sstevel@tonic-gate   Decode a group descriptor.  A GrpHdl created by dlopen() maintains a\n\
7187c478bd9Sstevel@tonic-gate   list of group descriptors for each dependency.  See GrpHdl.\n\
7197c478bd9Sstevel@tonic-gate   \n\
7207c478bd9Sstevel@tonic-gate   Example\n\n\
7217c478bd9Sstevel@tonic-gate   \t> 0xff3b12d4::GrpDesc -v\n\
7227c478bd9Sstevel@tonic-gate   \tGroup Descriptor located at: 0xff3b12d4\n\
7237c478bd9Sstevel@tonic-gate   \t   depend: 0xff3b0f6c    ./sub.so\n\
7247c478bd9Sstevel@tonic-gate   \t    flags: 0x00000003    [ AVAIL-TO-DLSYM,ADD-DEPENDENCIES ]\n"
7257c478bd9Sstevel@tonic-gate
7267c478bd9Sstevel@tonic-gate
7277c478bd9Sstevel@tonic-gate@ MSG_BNDDESC_STR	"BndDesc"
7287c478bd9Sstevel@tonic-gate
7297c478bd9Sstevel@tonic-gate#
7307c478bd9Sstevel@tonic-gate# General purpose environment addition.
7317c478bd9Sstevel@tonic-gate#
7327c478bd9Sstevel@tonic-gate
7337c478bd9Sstevel@tonic-gate@ MSG_SETENV_STR	"Setenv"
7347c478bd9Sstevel@tonic-gate
7357c478bd9Sstevel@tonic-gate@ MSG_SETENV_DCD	"Set an environment variable"
7367c478bd9Sstevel@tonic-gate
7377c478bd9Sstevel@tonic-gate@ MSG_SETENV_HELP	"\
7387c478bd9Sstevel@tonic-gate   Set the associated environment variable.  This can be useful to establish\n\
7397c478bd9Sstevel@tonic-gate   runtime linker environment variables without affecting the debugger itself.\n\
7407c478bd9Sstevel@tonic-gate   \n\
7417c478bd9Sstevel@tonic-gate   Note, newer versions of mdb(1) provide setenv.  The mdb(1) implementation\n\
7427c478bd9Sstevel@tonic-gate   provides the ability to make environment changes at any point during\n\
7437c478bd9Sstevel@tonic-gate   application monitoring.  Where available, Setenv calls through to setenv.\n\
7447c478bd9Sstevel@tonic-gate   On older environments, Setenv only provides for changing the applications\n\
7457c478bd9Sstevel@tonic-gate   environment before it is invoked.\n\
7467c478bd9Sstevel@tonic-gate   \n\
7477c478bd9Sstevel@tonic-gate   Example\n\n\
7487c478bd9Sstevel@tonic-gate   \t> ::Setenv LD_DEBUG=files\n"
749