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